summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-02-23 18:02:11 +0900
committerSunny Goyal <sunnygoyal@google.com>2018-02-23 18:03:17 +0000
commit1bb730c5e95c652658a4da15d791d87a24c59633 (patch)
treef7bb0d693297269c9e1efff037fd3b5a366420a5 /Android.mk
parenta12bd507d1d94ea326982629d3154c53aa0d7aac (diff)
downloadandroid_packages_apps_Trebuchet-1bb730c5e95c652658a4da15d791d87a24c59633.tar.gz
android_packages_apps_Trebuchet-1bb730c5e95c652658a4da15d791d87a24c59633.tar.bz2
android_packages_apps_Trebuchet-1bb730c5e95c652658a4da15d791d87a24c59633.zip
Fix link-type check warning on libSharedSystemUI
There has been a link-type check warning on libSharedSystemUI the prebuilt lib is built without SDK but the app using it (Launcher3QuickStep) is built with SDK. Since this effectively prevents the app from being unbundled, such warning will turn into errors soon. However, the lib isn't ready to be built with SDK yet. So, in order to suppress the link-type check warning until then, the prebuilt lib is added with LOCAL_SDK_VERSION := current. Bug: 69899800 Bug: 73327733 Test: m -j Launcher3QuickStep is successful and does not show any link-type check warning Change-Id: Ifd74bfee8c608e099737bd46569b05f007c1e86b
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 256d95d0a..a1cba4a27 100644
--- a/Android.mk
+++ b/Android.mk
@@ -20,9 +20,13 @@ LOCAL_PATH := $(call my-dir)
# Prebuilt Java Libraries
#
include $(CLEAR_VARS)
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
- libSharedSystemUI:quickstep/libs/sysui_shared.jar
-include $(BUILD_MULTI_PREBUILT)
+LOCAL_MODULE := libSharedSystemUI
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := JAVA_LIBRARIES
+LOCAL_SRC_FILES := quickstep/libs/sysui_shared.jar
+LOCAL_UNINSTALLABLE_MODULE := true
+LOCAL_SDK_VERSION := current
+include $(BUILD_PREBUILT)
#
# Build rule for Launcher3 app.