diff options
author | Dan Albert <danalbert@google.com> | 2015-05-06 21:15:57 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-05-06 21:16:13 +0000 |
commit | f93b0c8350e72556faa137400cc955440654d29e (patch) | |
tree | 93e3fe0a1ce7341e4e2369bbd862d5fa7f675470 | |
parent | 176973f0a182bab49f43993aefa34e0d76790ac9 (diff) | |
parent | 862ba3df3cd824fbecc7e18b371d8ec0d43ed653 (diff) | |
download | stlport-f93b0c8350e72556faa137400cc955440654d29e.tar.gz |
Merge "Only build stlport for whitelisted devices."
-rwxr-xr-x | Android.mk | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,19 @@ +# http://b/15193147 +# Whitelist devices that are still allowed to use stlport. This will prevent any +# new devices from making the same mistakes. +STLPORT_WHITELIST := \ + deb \ + flo \ + flounder \ + fugu \ + grouper \ + hammerhead \ + mako \ + manta \ + shamu \ + tilapia \ + +ifneq (,$(filter $(TARGET_DEVICE),$(STLPORT_WHITELIST))) LOCAL_PATH := $(call my-dir) libstlport_src_files := \ @@ -70,3 +86,4 @@ LOCAL_CPPFLAGS := $(libstlport_cppflags) LOCAL_C_INCLUDES := $(libstlport_c_includes) LOCAL_CXX_STL := none include $(BUILD_STATIC_LIBRARY) +endif |