diff options
Diffstat (limited to 'emulator/opengl/googletest.mk')
-rw-r--r-- | emulator/opengl/googletest.mk | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/emulator/opengl/googletest.mk b/emulator/opengl/googletest.mk deleted file mode 100644 index 8147874..0000000 --- a/emulator/opengl/googletest.mk +++ /dev/null @@ -1,43 +0,0 @@ -# This contains common definitions used to define a host module -# to link GoogleTest with the EmuGL test programs. -# -# This is used instead of including external/gtest/Android.mk to -# be able to build both the 32-bit and 64-bit binaries while -# building a 32-bit only SDK (sdk-eng, sdk_x86-eng, sdk_mips-eng). - - -ifeq (true,$(BUILD_STANDALONE_EMULATOR)) -LOCAL_PATH := $(EMULATOR_GTEST_SOURCES_DIR) -else -LOCAL_PATH := $(EMUGL_PATH)/../../../external/gtest -endif - -common_SRC_FILES := \ - src/gtest-all.cc \ - src/gtest_main.cc - -common_CFLAGS := -O0 - -ifneq (windows,$(HOST_OS)) - common_LDLIBS += -lpthread -endif - -$(call emugl-begin-host-static-library,libemugl_gtest) -LOCAL_SRC_FILES := $(common_SRC_FILES) -LOCAL_CFLAGS += $(common_CFLAGS) -LOCAL_CPP_EXTENSION := .cc -$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)/include) -$(call emugl-export,LDLIBS,$(common_LDLIBS)) -$(call emugl-end-module) - -ifdef EMUGL_BUILD_64BITS - $(call emugl-begin-host64-static-library,lib64emugl_gtest) - LOCAL_SRC_FILES := $(common_SRC_FILES) - LOCAL_CFLAGS += $(common_CFLAGS) - LOCAL_C_INCLUDES += $(LOCAL_PATH)/include - LOCAL_CPP_EXTENSION := .cc - $(call emugl-export,C_INCLUDES,$(LOCAL_PATH)/include) - $(call emugl-export,CFLAGS,-m64) - $(call emugl-export,LDLIBS,$(common_LDLIBS) -m64) - $(call emugl-end-module) -endif # EMUGL_BUILD_64BITS |