aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Hansson2018-02-21 08:11:02 -0600
committerAnton Hansson2018-02-21 08:11:02 -0600
commit6cc499ae07129c0c7d75c4063bef29e88424afc9 (patch)
tree93e4aae1014857447e12c9f5dccca17972cf40f1 /tools/recovery_l10n/Android.mk
parentc1e1d7e7112968e4941a1f2099b5c01c5b316bd4 (diff)
downloadplatform-bootable-recovery-6cc499ae07129c0c7d75c4063bef29e88424afc9.tar.gz
platform-bootable-recovery-6cc499ae07129c0c7d75c4063bef29e88424afc9.tar.xz
platform-bootable-recovery-6cc499ae07129c0c7d75c4063bef29e88424afc9.zip
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: I82fee834c5d92e699e9571933faded11c6d4596e
Diffstat (limited to 'tools/recovery_l10n/Android.mk')
-rw-r--r--tools/recovery_l10n/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/recovery_l10n/Android.mk b/tools/recovery_l10n/Android.mk
index 937abd1e..7197c5c7 100644
--- a/tools/recovery_l10n/Android.mk
+++ b/tools/recovery_l10n/Android.mk
@@ -5,6 +5,7 @@ LOCAL_PATH := $(call my-dir)
5include $(CLEAR_VARS) 5include $(CLEAR_VARS)
6 6
7LOCAL_PACKAGE_NAME := RecoveryLocalizer 7LOCAL_PACKAGE_NAME := RecoveryLocalizer
8LOCAL_SDK_VERSION := current
8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TAGS := optional
9 10
10LOCAL_SRC_FILES := $(call all-java-files-under, src) 11LOCAL_SRC_FILES := $(call all-java-files-under, src)