summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-03-05 13:38:47 +0000
committerAnton Hansson <hansson@google.com>2018-03-07 11:22:00 +0000
commita732f588b36c87551eca671b4a259fcc11f490a6 (patch)
treea8914d2bf06f462ca03237874b2317276f560f65
parent8dc59046f840397638f2f863de66ee674e1b9074 (diff)
downloadcuttlefish_common-o-mr1-iot-preview-8.tar.gz
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.mk1
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