diff options
author | Anton Hansson <hansson@google.com> | 2018-03-05 13:38:47 +0000 |
---|---|---|
committer | Anton Hansson <hansson@google.com> | 2018-03-07 11:22:00 +0000 |
commit | a732f588b36c87551eca671b4a259fcc11f490a6 (patch) | |
tree | a8914d2bf06f462ca03237874b2317276f560f65 | |
parent | 8dc59046f840397638f2f863de66ee674e1b9074 (diff) | |
download | cuttlefish_common-o-mr1-iot-preview-8.tar.gz |
device/google/cuttlefish_common: Set LOCAL_SDK_VERSION where possible.android-wear-p-preview-2android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7o-mr1-iot-preview-8o-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: I5106e9361e9b800dba823c3ca5b486d0f8531896
Merged-In: I5106e9361e9b800dba823c3ca5b486d0f8531896
-rw-r--r-- | guest/monitoring/vsoc_service/Android.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guest/monitoring/vsoc_service/Android.mk b/guest/monitoring/vsoc_service/Android.mk index fb9f6cb7..49816daa 100644 --- a/guest/monitoring/vsoc_service/Android.mk +++ b/guest/monitoring/vsoc_service/Android.mk @@ -19,6 +19,7 @@ LOCAL_CERTIFICATE := platform LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, java) LOCAL_PACKAGE_NAME := VSoCService +LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_PROGUARD_FLAGS := -include build/core/proguard.flags LOCAL_PROGUARD_FLAG_FILES := proguard.flags LOCAL_VENDOR_MODULE := true |