Merge "Update NDK gtest lib names." am: 56c2a18a50 am: 146540b535

am: 5eb8f65378

Change-Id: If949af2958f4cf844b844f69e1311bcb9ab6b4fe
This commit is contained in:
Dan Albert 2016-09-12 21:24:56 +00:00 committed by android-build-merger
commit 45fe3712fc

View file

@ -8,13 +8,13 @@ ifndef LOCAL_SDK_VERSION
LOCAL_STATIC_LIBRARIES += libgtest_main libgtest
else
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)),)
my_ndk_gtest_suffix :=
my_ndk_gtest_suffix := _stlport
else ifneq ($(filter gnustl_,$(LOCAL_NDK_STL_VARIANT)),)
my_ndk_gtest_suffix := _gnustl
else # system STL, use stlport
my_ndk_gtest_suffix :=
my_ndk_gtest_suffix := _stlport
endif
LOCAL_STATIC_LIBRARIES += \
libgtest_main_ndk$(my_ndk_gtest_suffix) \