summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-22 18:07:43 +0000
committerAnton Hansson <hansson@google.com>2018-02-22 18:07:43 +0000
commit0183735bcdce20b953e1ac26ebacd1f8ca586c03 (patch)
tree3d2e1ab42246b80a957dbc0fcf9603a75ee1dc40
parent1ece80f65269ec4ca57f6573c302d97d64f055b5 (diff)
downloadandroid_packages_screensavers_Basic-0183735bcdce20b953e1ac26ebacd1f8ca586c03.tar.gz
android_packages_screensavers_Basic-0183735bcdce20b953e1ac26ebacd1f8ca586c03.tar.bz2
android_packages_screensavers_Basic-0183735bcdce20b953e1ac26ebacd1f8ca586c03.zip
packages/screensavers/Basic: Set LOCAL_SDK_VERSION where possible.
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: I96dafb07cef56c70f01ced8d5b5b8a71d2773a1f
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index aede576..59d54fb 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,6 +7,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := BasicDreams
+LOCAL_PRIVATE_PLATFORM_APIS := true
# need tasty bits
# LOCAL_CERTIFICATE := platform