Merge "Update NDK gtest lib names." am: 56c2a18a50
am: 146540b535
am: 5eb8f65378
Change-Id: If949af2958f4cf844b844f69e1311bcb9ab6b4fe
This commit is contained in:
commit
45fe3712fc
1 changed files with 3 additions and 3 deletions
|
@ -8,13 +8,13 @@ ifndef LOCAL_SDK_VERSION
|
||||||
LOCAL_STATIC_LIBRARIES += libgtest_main libgtest
|
LOCAL_STATIC_LIBRARIES += libgtest_main libgtest
|
||||||
else
|
else
|
||||||
ifneq (,$(filter c++_%,$(LOCAL_NDK_STL_VARIANT)))
|
ifneq (,$(filter c++_%,$(LOCAL_NDK_STL_VARIANT)))
|
||||||
my_ndk_gtest_suffix := _libcxx
|
my_ndk_gtest_suffix := _c++
|
||||||
else ifneq ($(filter stlport_,$(LOCAL_NDK_STL_VARIANT)),)
|
else ifneq ($(filter stlport_,$(LOCAL_NDK_STL_VARIANT)),)
|
||||||
my_ndk_gtest_suffix :=
|
my_ndk_gtest_suffix := _stlport
|
||||||
else ifneq ($(filter gnustl_,$(LOCAL_NDK_STL_VARIANT)),)
|
else ifneq ($(filter gnustl_,$(LOCAL_NDK_STL_VARIANT)),)
|
||||||
my_ndk_gtest_suffix := _gnustl
|
my_ndk_gtest_suffix := _gnustl
|
||||||
else # system STL, use stlport
|
else # system STL, use stlport
|
||||||
my_ndk_gtest_suffix :=
|
my_ndk_gtest_suffix := _stlport
|
||||||
endif
|
endif
|
||||||
LOCAL_STATIC_LIBRARIES += \
|
LOCAL_STATIC_LIBRARIES += \
|
||||||
libgtest_main_ndk$(my_ndk_gtest_suffix) \
|
libgtest_main_ndk$(my_ndk_gtest_suffix) \
|
||||||
|
|
Loading…
Reference in a new issue