diff options
Diffstat (limited to 'emulator/opengl/shared/emugl/common/Android.mk')
-rw-r--r-- | emulator/opengl/shared/emugl/common/Android.mk | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/emulator/opengl/shared/emugl/common/Android.mk b/emulator/opengl/shared/emugl/common/Android.mk index fb9ab57..6aaa0d9 100644 --- a/emulator/opengl/shared/emugl/common/Android.mk +++ b/emulator/opengl/shared/emugl/common/Android.mk @@ -31,14 +31,11 @@ $(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/shared) $(call emugl-export,LDLIBS,$(host_commonLdLibs)) $(call emugl-end-module) -ifdef EMUGL_BUILD_64BITS - $(call emugl-begin-host64-static-library,lib64emugl_common) - LOCAL_SRC_FILES := $(host_commonSources) - $(call emugl-export,CFLAGS,-m64 -fPIC) - $(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/shared) - $(call emugl-export,LDLIBS,$(host_commonLdLibs)) - $(call emugl-end-module) -endif +$(call emugl-begin-host64-static-library,lib64emugl_common) +LOCAL_SRC_FILES := $(host_commonSources) +$(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/shared) +$(call emugl-export,LDLIBS,$(host_commonLdLibs)) +$(call emugl-end-module) ### emugl_common_unittests ############################################## @@ -58,19 +55,16 @@ LOCAL_SRC_FILES := $(host_commonSources) $(call emugl-import,libemugl_common libemugl_gtest) $(call emugl-end-module) -ifdef EMUGL_BUILD_64BITS - $(call emugl-begin-host64-executable,emugl64_common_host_unittests) - LOCAL_SRC_FILES := $(host_commonSources) - $(call emugl-import,lib64emugl_common lib64emugl_gtest) - $(call emugl-end-module) -endif +$(call emugl-begin-host64-executable,emugl64_common_host_unittests) +LOCAL_SRC_FILES := $(host_commonSources) +$(call emugl-import,lib64emugl_common lib64emugl_gtest) +$(call emugl-end-module) + $(call emugl-begin-host-shared-library,libemugl_test_shared_library) LOCAL_SRC_FILES := testing/test_shared_library.cpp $(call emugl-end-module) -ifdef EMUGL_BUILD_64BITS - $(call emugl-begin-host64-shared-library,lib64emugl_test_shared_library) - LOCAL_SRC_FILES := testing/test_shared_library.cpp - $(call emugl-end-module) -endif +$(call emugl-begin-host64-shared-library,lib64emugl_test_shared_library) +LOCAL_SRC_FILES := testing/test_shared_library.cpp +$(call emugl-end-module) |