summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-28 14:25:37 +0000
committerAnton Hansson <hansson@google.com>2018-03-01 12:25:28 +0000
commit0af16e0a196a9253d305bd56a5fbfad58ff72f74 (patch)
tree3091c11abe2175365af5302e0e3409f826997d4e
parent77b17c8c8c0039d2d71df98d057f1eee436c4f21 (diff)
downloadplatform_packages_apps_Car_Stream-0af16e0a196a9253d305bd56a5fbfad58ff72f74.tar.gz
platform_packages_apps_Car_Stream-0af16e0a196a9253d305bd56a5fbfad58ff72f74.tar.bz2
platform_packages_apps_Car_Stream-0af16e0a196a9253d305bd56a5fbfad58ff72f74.zip
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: I69b00503eb125fe1aef65a5d7ba87c0f9c613a07
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 6900263..f046515 100644
--- a/Android.mk
+++ b/Android.mk
@@ -36,6 +36,7 @@ LOCAL_AAPT_FLAGS += --extra-packages com.android.car.radio.service
LOCAL_STATIC_JAVA_LIBRARIES += car-radio-service
LOCAL_PACKAGE_NAME := Stream
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_MODULE_TAGS := optional