summaryrefslogtreecommitdiff
path: root/rcs/rcsservice
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2018-02-23 17:12:48 +0000
committerAnton Hansson <hansson@google.com>2018-02-23 17:12:48 +0000
commit5288bc0d58c27f81b750f6949ef0b3821727c7b6 (patch)
tree956238e66bffa3add328b59acc1da381e4df3378 /rcs/rcsservice
parent9388108bb9f0b8e49e706334064461620e81be4b (diff)
downloadims-5288bc0d58c27f81b750f6949ef0b3821727c7b6.tar.gz
external/ims: 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: I682b936f71e10800e5d9163e1cb823cfc362a030
Diffstat (limited to 'rcs/rcsservice')
-rw-r--r--rcs/rcsservice/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rcs/rcsservice/Android.mk b/rcs/rcsservice/Android.mk
index 281f178..f3dbb86 100644
--- a/rcs/rcsservice/Android.mk
+++ b/rcs/rcsservice/Android.mk
@@ -33,6 +33,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
# This is the target being built. (Name of APK)
LOCAL_PACKAGE_NAME := RcsService
+LOCAL_PRIVATE_PLATFORM_APIS := true
# Only compile source java files in this apk.
LOCAL_SRC_FILES := \
$(call all-java-files-under, src)