diff options
author | Dan Albert <danalbert@google.com> | 2015-05-06 09:47:30 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-05-06 13:23:00 -0700 |
commit | 862ba3df3cd824fbecc7e18b371d8ec0d43ed653 (patch) | |
tree | 93e3fe0a1ce7341e4e2369bbd862d5fa7f675470 | |
parent | 176973f0a182bab49f43993aefa34e0d76790ac9 (diff) | |
download | stlport-862ba3df3cd824fbecc7e18b371d8ec0d43ed653.tar.gz |
Only build stlport for whitelisted devices.
Stlport may only be used on devices that have a dependency on vendor
blobs that have not yet been fixed.
Bug: http://b/15193147
Change-Id: I895de5fce30d46f7349770e181bcdfeee98e16c1
-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 |