summaryrefslogtreecommitdiff
path: root/perf-tests
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2018-02-22 16:11:48 +0000
committer Anton Hansson <hansson@google.com> 2018-02-23 16:44:40 +0000
commit9201863b712d7aac1a0085c2138990d04e4fbdb7 (patch)
tree83775e302a010e4e27e49277fd294bcc775435f8 /perf-tests
parentcc7c12d0bae8ddef53ec469d50bda6a9cd48d83d (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 'perf-tests')
-rw-r--r--perf-tests/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/perf-tests/Android.mk b/perf-tests/Android.mk
index 0f4696631..731a8fa06 100644
--- a/perf-tests/Android.mk
+++ b/perf-tests/Android.mk
@@ -18,6 +18,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
LOCAL_USE_AAPT2 := true
LOCAL_PACKAGE_NAME := DocumentsUIPerfTests
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_INSTRUMENTATION_FOR := DocumentsUI
LOCAL_CERTIFICATE := platform