summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-22 16:09:09 +0000
committerAnton Hansson <hansson@google.com>2018-02-22 16:09:09 +0000
commit1ab9a72ed0e8777399e9aa4d1b886547ee081ca4 (patch)
treeca24ac940271f5ab283062994cdcc63f1d224a34 /Android.mk
parent02605908d5338eeaa001b75c37ed36f5ba4e221f (diff)
downloadandroid_packages_apps_Bluetooth-1ab9a72ed0e8777399e9aa4d1b886547ee081ca4.tar.gz
android_packages_apps_Bluetooth-1ab9a72ed0e8777399e9aa4d1b886547ee081ca4.tar.bz2
android_packages_apps_Bluetooth-1ab9a72ed0e8777399e9aa4d1b886547ee081ca4.zip
packages/apps/Bluetooth: 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: I4914d23fdad8999c96abbd3375b17850a85cb46a
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c6fcb2aa7..df8c60e80 100644
--- a/Android.mk
+++ b/Android.mk
@@ -18,6 +18,7 @@ LOCAL_SRC_FILES := \
$(call all-proto-files-under, src)
LOCAL_PACKAGE_NAME := Bluetooth
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_CERTIFICATE := platform
LOCAL_USE_AAPT2 := true