summaryrefslogtreecommitdiff
path: root/tests/java_api/RSTestBackward/Android.mk
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-22 15:26:48 +0000
committerAnton Hansson <hansson@google.com>2018-02-22 15:26:48 +0000
commit37ca69d1aed1d45e1c9fee7dac9ac9d0f21f3cf1 (patch)
treede315bec0d0a975f705b593508767a9b339af717 /tests/java_api/RSTestBackward/Android.mk
parent40d40ad60d640c2d84d3a280bf989e6e486685fd (diff)
downloadrs-37ca69d1aed1d45e1c9fee7dac9ac9d0f21f3cf1.tar.gz
frameworks/rs: 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: I04e2caab2614c2b7f6d5560c25b257f03cb2a81c
Diffstat (limited to 'tests/java_api/RSTestBackward/Android.mk')
-rw-r--r--tests/java_api/RSTestBackward/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/java_api/RSTestBackward/Android.mk b/tests/java_api/RSTestBackward/Android.mk
index 5067f3f2..74a19da7 100644
--- a/tests/java_api/RSTestBackward/Android.mk
+++ b/tests/java_api/RSTestBackward/Android.mk
@@ -18,6 +18,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PACKAGE_NAME := RSTestBackward
+LOCAL_SDK_VERSION := current
LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := \