1LOCAL_PATH := $(call my-dir) 2 3host_common_debug_CFLAGS := 4 5#For gl debbuging 6#host_common_debug_CFLAGS += -DCHECK_GL_ERROR 7#host_common_debug_CFLAGS += -DDEBUG_PRINTOUT 8 9 10### host library ########################################## 11$(call emugl-begin-host-static-library,libGLESv2_dec) 12$(call emugl-import, libOpenglCodecCommon libOpenglOsUtils) 13$(call emugl-gen-decoder,$(EMUGL_PATH)/system/GLESv2_enc,gl2) 14 15# For gl2_types.h ! 16$(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/system/GLESv2_enc) 17$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 18 19$(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS)) 20 21LOCAL_SRC_FILES := GL2Decoder.cpp 22 23$(call emugl-end-module) 24 25### host library, 64-bit #################################### 26$(call emugl-begin-host-static-library,lib64GLESv2_dec) 27$(call emugl-import, lib64OpenglCodecCommon lib64OpenglOsUtils) 28$(call emugl-gen-decoder,$(EMUGL_PATH)/system/GLESv2_enc,gl2) 29 30# For gl2_types.h ! 31$(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/system/GLESv2_enc) 32$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 33 34$(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS) -m64) 35 36LOCAL_SRC_FILES := GL2Decoder.cpp 37 38$(call emugl-end-module) 39