aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/host/libs/Translator/GLES_CM/Android.mk
blob: c5e7e6db90225c9d78fd96ca721fb7de28d3b821 (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
LOCAL_PATH := $(call my-dir)

host_common_SRC_FILES := \
     GLEScmImp.cpp       \
     GLEScmUtils.cpp     \
     GLEScmContext.cpp   \
     GLEScmValidate.cpp


### GLES_CM host implementation (On top of OpenGL) ########################
$(call emugl-begin-host-shared-library,libGLES_CM_translator)

$(call emugl-import,libGLcommon)

LOCAL_SRC_FILES := $(host_common_SRC_FILES)

$(call emugl-end-module)


### GLES_CM host implementation, 64-bit ########################
ifdef EMUGL_BUILD_64BITS
    $(call emugl-begin-host64-shared-library,lib64GLES_CM_translator)

    $(call emugl-import,lib64GLcommon)

    LOCAL_CFLAGS += -fPIC
    LOCAL_LDLIBS += -m64
    LOCAL_SRC_FILES := $(host_common_SRC_FILES)

    $(call emugl-end-module)
endif