Home | History | Annotate | Download | only in GLESv1_dec
      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,libGLESv1_dec)
     12 
     13 $(call emugl-import, libOpenglCodecCommon libOpenglOsUtils)
     14 $(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
     15 
     16 $(call emugl-gen-decoder,$(LOCAL_PATH),gl)
     17 
     18 LOCAL_SRC_FILES := GLDecoder.cpp
     19 
     20 $(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS))
     21 $(call emugl-export,LDLIBS,-lstdc++)
     22 
     23 $(call emugl-end-module)
     24 
     25 
     26 ### host library, 64-bit ####################################
     27 ifdef EMUGL_BUILD_64BITS
     28     $(call emugl-begin-host64-static-library,lib64GLESv1_dec)
     29 
     30     $(call emugl-import, lib64OpenglCodecCommon lib64OpenglOsUtils)
     31     $(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
     32 
     33     $(call emugl-gen-decoder,$(LOCAL_PATH),gl)
     34 
     35     LOCAL_SRC_FILES := GLDecoder.cpp
     36 
     37     $(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS) -m64)
     38     $(call emugl-export,LDLIBS,-lstdc++)
     39 
     40     $(call emugl-end-module)
     41 endif