Merge "Remove support for gnustl."
This commit is contained in:
commit
51fb7ac7b3
|
@ -28,9 +28,6 @@ ifdef LOCAL_SDK_VERSION
|
||||||
else ifeq ($(LOCAL_NDK_STL_VARIANT),c++_static)
|
else ifeq ($(LOCAL_NDK_STL_VARIANT),c++_static)
|
||||||
my_ndk_stl_family := libc++
|
my_ndk_stl_family := libc++
|
||||||
my_ndk_stl_link_type := static
|
my_ndk_stl_link_type := static
|
||||||
else ifeq ($(LOCAL_NDK_STL_VARIANT),gnustl_static)
|
|
||||||
my_ndk_stl_family := gnustl
|
|
||||||
my_ndk_stl_link_type := static
|
|
||||||
else ifeq ($(LOCAL_NDK_STL_VARIANT),stlport_shared)
|
else ifeq ($(LOCAL_NDK_STL_VARIANT),stlport_shared)
|
||||||
my_ndk_stl_family := stlport
|
my_ndk_stl_family := stlport
|
||||||
my_ndk_stl_link_type := shared
|
my_ndk_stl_link_type := shared
|
||||||
|
@ -69,7 +66,6 @@ ifdef LOCAL_SDK_VERSION
|
||||||
# already been checked for consistency, and if they don't they'll be
|
# already been checked for consistency, and if they don't they'll be
|
||||||
# kept isolated by RTLD_LOCAL anyway.
|
# kept isolated by RTLD_LOCAL anyway.
|
||||||
my_allowed_ndk_types += \
|
my_allowed_ndk_types += \
|
||||||
native:ndk:gnustl:static \
|
|
||||||
native:ndk:libc++:shared native:ndk:libc++:static \
|
native:ndk:libc++:shared native:ndk:libc++:static \
|
||||||
native:ndk:stlport:shared native:ndk:stlport:static \
|
native:ndk:stlport:shared native:ndk:stlport:static \
|
||||||
|
|
||||||
|
|
|
@ -189,7 +189,7 @@ ifneq ($(LOCAL_SDK_VERSION),)
|
||||||
ifeq (,$(LOCAL_NDK_STL_VARIANT))
|
ifeq (,$(LOCAL_NDK_STL_VARIANT))
|
||||||
LOCAL_NDK_STL_VARIANT := system
|
LOCAL_NDK_STL_VARIANT := system
|
||||||
endif
|
endif
|
||||||
ifneq (1,$(words $(filter none system stlport_static stlport_shared c++_static c++_shared gnustl_static, $(LOCAL_NDK_STL_VARIANT))))
|
ifneq (1,$(words $(filter none system stlport_static stlport_shared c++_static c++_shared, $(LOCAL_NDK_STL_VARIANT))))
|
||||||
$(error $(LOCAL_PATH): Unknown LOCAL_NDK_STL_VARIANT $(LOCAL_NDK_STL_VARIANT))
|
$(error $(LOCAL_PATH): Unknown LOCAL_NDK_STL_VARIANT $(LOCAL_NDK_STL_VARIANT))
|
||||||
endif
|
endif
|
||||||
ifeq (system,$(LOCAL_NDK_STL_VARIANT))
|
ifeq (system,$(LOCAL_NDK_STL_VARIANT))
|
||||||
|
@ -232,17 +232,11 @@ ifneq ($(LOCAL_SDK_VERSION),)
|
||||||
my_ldlibs += -ldl
|
my_ldlibs += -ldl
|
||||||
|
|
||||||
my_ndk_cpp_std_version := c++11
|
my_ndk_cpp_std_version := c++11
|
||||||
else # LOCAL_NDK_STL_VARIANT is not c++_* either
|
|
||||||
ifneq (,$(filter gnustl_%, $(LOCAL_NDK_STL_VARIANT)))
|
|
||||||
my_ndk_stl_include_path := $(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_NDK_GCC_VERSION)/libs/$(my_cpu_variant)/include \
|
|
||||||
$(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_NDK_GCC_VERSION)/include
|
|
||||||
my_ndk_stl_static_lib := $(my_ndk_source_root)/cxx-stl/gnu-libstdc++/$($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_NDK_GCC_VERSION)/libs/$(my_cpu_variant)/libgnustl_static.a
|
|
||||||
else # LOCAL_NDK_STL_VARIANT must be none
|
else # LOCAL_NDK_STL_VARIANT must be none
|
||||||
# Do nothing.
|
# Do nothing.
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(LOCAL_USE_VNDK),)
|
ifneq ($(LOCAL_USE_VNDK),)
|
||||||
|
|
|
@ -12,8 +12,6 @@ ifeq ($(LOCAL_GTEST),true)
|
||||||
my_ndk_gtest_suffix := _c++
|
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 := _stlport
|
my_ndk_gtest_suffix := _stlport
|
||||||
else ifneq ($(filter gnustl_,$(LOCAL_NDK_STL_VARIANT)),)
|
|
||||||
my_ndk_gtest_suffix := _gnustl
|
|
||||||
else # system STL, use stlport
|
else # system STL, use stlport
|
||||||
my_ndk_gtest_suffix := _stlport
|
my_ndk_gtest_suffix := _stlport
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue