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