• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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,$(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
20LOCAL_SRC_FILES := GL2Decoder.cpp
21
22$(call emugl-end-module)
23
24### host library, 64-bit ####################################
25$(call emugl-begin-host-static-library,lib64GLESv2_dec)
26$(call emugl-import, lib64OpenglCodecCommon lib64OpenglOsUtils)
27$(call emugl-gen-decoder,$(LOCAL_PATH),gl2)
28
29# For gl2_types.h !
30$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
31
32$(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS) -m64)
33
34LOCAL_SRC_FILES := GL2Decoder.cpp
35
36$(call emugl-end-module)
37