Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 1 | ##################################################### |
| 2 | ## Shared definitions for all host test compilations. |
| 3 | ##################################################### |
| 4 | |
| 5 | LOCAL_CFLAGS += -DGTEST_OS_LINUX -DGTEST_HAS_STD_STRING -O0 -g |
| 6 | LOCAL_C_INCLUDES += external/gtest/include |
| 7 | |
Dan Albert | 965bfef | 2014-05-14 14:16:47 -0700 | [diff] [blame] | 8 | ifneq ($(filter libc++,$(LOCAL_SHARED_LIBRARIES)),) |
Dan Albert | 9b0c6ff | 2014-05-14 14:16:47 -0700 | [diff] [blame] | 9 | LOCAL_STATIC_LIBRARIES += libgtest_libc++_host libgtest_main_libc++_host |
Dan Albert | 965bfef | 2014-05-14 14:16:47 -0700 | [diff] [blame] | 10 | else |
Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 11 | LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host |
| 12 | LOCAL_SHARED_LIBRARIES += |
Dan Albert | 965bfef | 2014-05-14 14:16:47 -0700 | [diff] [blame] | 13 | endif |
Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 14 | |
| 15 | LOCAL_LDLIBS += -lpthread |