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

host_common_SRC_FILES := \
     GLESv2Imp.cpp       \
     GLESv2Context.cpp   \
     GLESv2Validate.cpp  \
     ShaderParser.cpp    \
     ProgramData.cpp


### GLES_V2 host implementation (On top of OpenGL) ########################
$(call emugl-begin-host-shared-library,libGLES_V2_translator)
$(call emugl-import, libGLcommon)

LOCAL_SRC_FILES := $(host_common_SRC_FILES)

$(call emugl-end-module)


### GLES_V2 host implementation, 64-bit ##############################
ifdef EMUGL_BUILD_64BITS
    $(call emugl-begin-host64-shared-library,lib64GLES_V2_translator)
    $(call emugl-import, lib64GLcommon)

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

    $(call emugl-end-module)
endif