aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/GLESv2_dec/Android.mk
blob: 03692eeb3aafd6b8a8caca468309fd2560128568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
LOCAL_PATH := $(call my-dir)

host_common_debug_CFLAGS :=

#For gl debbuging
#host_common_debug_CFLAGS += -DCHECK_GL_ERROR
#host_common_debug_CFLAGS += -DDEBUG_PRINTOUT


### host library ##########################################
$(call emugl-begin-host-static-library,libGLESv2_dec)
$(call emugl-import, libOpenglCodecCommon libOpenglOsUtils)
$(call emugl-gen-decoder,$(LOCAL_PATH),gl2)

# For gl2_types.h !
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))

$(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS))

LOCAL_SRC_FILES := GL2Decoder.cpp

$(call emugl-end-module)

### host library, 64-bit ####################################
ifdef EMUGL_BUILD_64BITS
    $(call emugl-begin-host-static-library,lib64GLESv2_dec)
    $(call emugl-import, lib64OpenglCodecCommon lib64OpenglOsUtils)
    $(call emugl-gen-decoder,$(LOCAL_PATH),gl2)

    # For gl2_types.h !
    $(call emugl-export,C_INCLUDES,$(LOCAL_PATH))

    $(call emugl-export,CFLAGS,$(host_common_debug_CFLAGS) -m64)

    LOCAL_SRC_FILES := GL2Decoder.cpp

    $(call emugl-end-module)
endif