summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-22 17:07:39 +0000
committerAnton Hansson <hansson@google.com>2018-02-22 17:07:39 +0000
commit9a776a01339a5116451210ff290bc30592aec267 (patch)
treedc1aa4adc05db876945a11f2a8c170167a303da3
parentd65ab13260cca31e9fb33bab97b0d7fd7ecd65ca (diff)
downloadlowpan-9a776a01339a5116451210ff290bc30592aec267.tar.gz
frameworks/opt/net/lowpan: Set LOCAL_SDK_VERSION where possible.android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7
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: Ic09937c20df784c5bcc99fab31f4ad4de86e123e
-rw-r--r--libandroid_net_lowpan/tests/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libandroid_net_lowpan/tests/Android.mk b/libandroid_net_lowpan/tests/Android.mk
index ee44bc5..b914d81 100644
--- a/libandroid_net_lowpan/tests/Android.mk
+++ b/libandroid_net_lowpan/tests/Android.mk
@@ -85,6 +85,7 @@ LOCAL_JNI_SHARED_LIBRARIES += \
LOCAL_JAVA_LIBRARIES := android.test.runner
LOCAL_PACKAGE_NAME := FrameworksLowpanApiNativeTests
+LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_CERTIFICATE := platform