aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/shared/OpenglCodecCommon/Android.mk
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-03-11 19:58:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-11 19:58:51 +0000
commit84b68033f6b92a3c35ac1d3ab7f8278c54744cff (patch)
treeba6e795703570bd83fbfcdf92216359452ebb358 /emulator/opengl/shared/OpenglCodecCommon/Android.mk
parent81431aae3aaf95209a606511b3a81f6aa06ffe9f (diff)
parent56b89bc863d1a5da6234f05923f63b5466e1ce3f (diff)
downloadsdk-84b68033f6b92a3c35ac1d3ab7f8278c54744cff.zip
sdk-84b68033f6b92a3c35ac1d3ab7f8278c54744cff.tar.gz
sdk-84b68033f6b92a3c35ac1d3ab7f8278c54744cff.tar.bz2
Merge changes I205392bd,I84a058bb,I22c67f11,Id18319e8,I9836ed96, ... into idea133
* changes: emulator/opengl: Allow standalone build. emulator/opengl: Remove libcutils/libutils/liblog emulator/opengl: Remove <utils/List.h> + <utils/String8.h> emulator/opengl: Remove android::KeyedVector usage. emulator/opengl: Remove android::Vector<> usage. emulator/opengl: Remove <cutils/sockets.h>
Diffstat (limited to 'emulator/opengl/shared/OpenglCodecCommon/Android.mk')
-rw-r--r--emulator/opengl/shared/OpenglCodecCommon/Android.mk22
1 files changed, 12 insertions, 10 deletions
diff --git a/emulator/opengl/shared/OpenglCodecCommon/Android.mk b/emulator/opengl/shared/OpenglCodecCommon/Android.mk
index 5deb1f7..b6a7e07 100644
--- a/emulator/opengl/shared/OpenglCodecCommon/Android.mk
+++ b/emulator/opengl/shared/OpenglCodecCommon/Android.mk
@@ -24,19 +24,21 @@ endif
$(call emugl-begin-host-static-library,libOpenglCodecCommon)
LOCAL_SRC_FILES := $(host_commonSources)
-
-$(call emugl-export,STATIC_LIBRARIES,libcutils)
-$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
+$(call emugl-import, libemugl_common)
+$(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/host/include/libOpenglRender $(LOCAL_PATH))
+$(call emugl-export,LDLIBS,-lstdc++)
$(call emugl-end-module)
### OpenglCodecCommon host, 64-bit #########################################
-$(call emugl-begin-host-static-library,lib64OpenglCodecCommon)
+ifdef EMUGL_BUILD_64BITS
+ $(call emugl-begin-host-static-library,lib64OpenglCodecCommon)
-LOCAL_SRC_FILES := $(host_commonSources)
-
-$(call emugl-export,STATIC_LIBRARIES,lib64cutils)
-$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
-$(call emugl-export,CFLAGS,-m64)
-$(call emugl-end-module)
+ LOCAL_SRC_FILES := $(host_commonSources)
+ $(call emugl-import, lib64emugl_common)
+ $(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/host/include/libOpenglRender $(LOCAL_PATH))
+ $(call emugl-export,CFLAGS,-m64 -fPIC)
+ $(call emugl-export,LDLIBS,-lstdc++)
+ $(call emugl-end-module)
+endif