LOCAL_PATH := $(call my-dir) ### GLESv2 implementation ########################################### $(call emugl-begin-shared-library,libGLESv2_emulation) $(call emugl-import,libOpenglSystemCommon libGLESv2_enc lib_renderControl_enc) LOCAL_CFLAGS += -DLOG_TAG=\"GLESv2_emulation\" -DGL_GLEXT_PROTOTYPES LOCAL_SRC_FILES := gl2.cpp ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 21 && echo PreLollipop),PreLollipop) LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl else LOCAL_MODULE_RELATIVE_PATH := egl endif $(call emugl-end-module)