Merge "Fix allowed STL types for system libraries."

This commit is contained in:
Treehugger Robot 2018-01-09 02:38:05 +00:00 committed by Gerrit Code Review
commit 48e41b74f9
1 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,11 @@ ifdef LOCAL_SDK_VERSION
# Else we are a non-static library that uses a static STL, and are # Else we are a non-static library that uses a static STL, and are
# incompatible with all other shared libraries that use an STL. # incompatible with all other shared libraries that use an STL.
else else
my_allowed_ndk_types := native:ndk:none:none native:ndk:system:shared my_allowed_ndk_types := \
native:ndk:none:none \
native:ndk:system:none \
native:ndk:system:shared \
ifeq ($(LOCAL_MODULE_CLASS),APPS) ifeq ($(LOCAL_MODULE_CLASS),APPS)
# CTS is bad and it should feel bad: http://b/13249737 # CTS is bad and it should feel bad: http://b/13249737
my_warn_ndk_types += native:ndk:libc++:static my_warn_ndk_types += native:ndk:libc++:static