1 LOCAL_PATH := $(call my-dir) 2 3 host_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,$(LOCAL_PATH),gl2) 14 15 # For gl2_types.h ! 16 $(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 17 18 $(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS)) 19 20 LOCAL_SRC_FILES := GL2Decoder.cpp 21 22 $(call emugl-end-module) 23 24 ### host library, 64-bit #################################### 25 ifdef EMUGL_BUILD_64BITS 26 $(call emugl-begin-host64-static-library,lib64GLESv2_dec) 27 $(call emugl-import, lib64OpenglCodecCommon lib64OpenglOsUtils) 28 $(call emugl-gen-decoder,$(LOCAL_PATH),gl2) 29 30 # For gl2_types.h ! 31 $(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 32 33 $(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS) -m64) 34 35 LOCAL_SRC_FILES := GL2Decoder.cpp 36 37 $(call emugl-end-module) 38 endif