diff options
author | 2018-02-22 16:11:48 +0000 | |
---|---|---|
committer | 2018-02-23 16:44:40 +0000 | |
commit | 9201863b712d7aac1a0085c2138990d04e4fbdb7 (patch) | |
tree | 83775e302a010e4e27e49277fd294bcc775435f8 /app-perf-tests | |
parent | cc7c12d0bae8ddef53ec469d50bda6a9cd48d83d (diff) |
packages/apps/DocumentsUI: 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: Ia8cb832ecb40050a5573959dab15e2deec0fb4c0
Diffstat (limited to 'app-perf-tests')
-rw-r--r-- | app-perf-tests/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app-perf-tests/Android.mk b/app-perf-tests/Android.mk index 4db20a7bb..76af3c58e 100644 --- a/app-perf-tests/Android.mk +++ b/app-perf-tests/Android.mk @@ -3,6 +3,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := tests #LOCAL_SDK_VERSION := current +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_SRC_FILES := $(call all-java-files-under, src) \ |