1 LOCAL_PATH := $(call my-dir) 2 3 ### GLESv1 implementation ########################################### 4 $(call emugl-begin-shared-library,libGLESv1_CM_emulation) 5 $(call emugl-import,libOpenglSystemCommon libGLESv1_enc lib_renderControl_enc) 6 7 LOCAL_CFLAGS += -DLOG_TAG=\"GLES_emulation\" -DGL_GLEXT_PROTOTYPES 8 9 LOCAL_SRC_FILES := gl.cpp 10 ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 21 && echo PreLollipop),PreLollipop) 11 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl 12 else 13 LOCAL_MODULE_RELATIVE_PATH := egl 14 endif 15 16 $(call emugl-end-module) 17