blob: 0fbaacfa157b89dccd74647b291c7d853864ff96 [file] [log] [blame]
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
Andrew Sapperstein867bb9c2016-04-11 13:58:07 -07004LOCAL_SRC_FILES := \
5 $(call all-logtags-files-under, src)
6
7LOCAL_MODULE := settings-logtags
8
9include $(BUILD_STATIC_JAVA_LIBRARY)
10
11# Build the Settings APK
12include $(CLEAR_VARS)
13
Adam Lesinski701af872016-08-16 15:59:14 -070014LOCAL_PACKAGE_NAME := Settings
Anton Hansson861554a2018-02-22 16:12:29 +000015LOCAL_PRIVATE_PLATFORM_APIS := true
Adam Lesinski701af872016-08-16 15:59:14 -070016LOCAL_CERTIFICATE := platform
17LOCAL_PRIVILEGED_MODULE := true
Anton Hansson16322a02018-12-10 17:03:29 +000018LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings
Adam Lesinski701af872016-08-16 15:59:14 -070019LOCAL_MODULE_TAGS := optional
20LOCAL_USE_AAPT2 := true
21
22LOCAL_SRC_FILES := $(call all-java-files-under, src)
23
24LOCAL_STATIC_ANDROID_LIBRARIES := \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070025 androidx.slice_slice-builders \
26 androidx.slice_slice-core \
27 androidx.slice_slice-view \
28 androidx.core_core \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070029 androidx.appcompat_appcompat \
30 androidx.cardview_cardview \
31 androidx.preference_preference \
32 androidx.recyclerview_recyclerview \
Raff Tsai082f8ee2018-06-29 06:11:39 +000033 com.google.android.material_material \
Pasty Changc1f86002018-12-11 02:22:55 +000034 setupcompat \
35 setupdesign
Adam Lesinski701af872016-08-16 15:59:14 -070036
37LOCAL_JAVA_LIBRARIES := \
Adam Lesinski701af872016-08-16 15:59:14 -070038 telephony-common \
39 ims-common
40
41LOCAL_STATIC_JAVA_LIBRARIES := \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070042 androidx.lifecycle_lifecycle-runtime \
43 androidx.lifecycle_lifecycle-extensions \
jackqdyulei3ee28c82018-02-20 15:07:26 -080044 guava \
Andrew Sapperstein867bb9c2016-04-11 13:58:07 -070045 jsr305 \
Fan Zhang8985efe2018-10-09 16:12:34 -070046 settings-contextual-card-protos-lite \
Raff Tsai3936e9f2018-09-28 17:42:43 +080047 contextualcards \
Matthew Fritzeb2775572017-12-05 10:46:47 -080048 settings-logtags \
Johnson Lu881ba4e2018-11-02 15:58:47 +080049 zxing-core-1.7
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070050
Ying Wangc845c6d2010-09-30 13:23:20 -070051LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Daisuke Miyakawac81adf52010-08-12 13:04:43 -070052
Jorim Jaggic9f73802015-04-24 11:12:20 -070053ifneq ($(INCREMENTAL_BUILDS),)
54 LOCAL_PROGUARD_ENABLED := disabled
55 LOCAL_JACK_ENABLED := incremental
Jorim Jaggi75b22c62016-01-28 20:06:32 -080056 LOCAL_JACK_FLAGS := --multi-dex native
Jorim Jaggic9f73802015-04-24 11:12:20 -070057endif
58
Jason Monkf15248b2015-01-13 10:05:53 -050059include frameworks/base/packages/SettingsLib/common.mk
Tony Mantler0fcd6cb2018-03-26 15:17:25 -070060include frameworks/base/packages/SettingsLib/search/common.mk
Maurice Lam6776c672014-06-05 19:15:20 -070061
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080062include $(BUILD_PACKAGE)
63
Raff Tsai3936e9f2018-09-28 17:42:43 +080064# ==== prebuilt library ========================
65include $(CLEAR_VARS)
66
67LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
68 contextualcards:libs/contextualcards.aar
69include $(BUILD_MULTI_PREBUILT)
70
Maurice Lam6776c672014-06-05 19:15:20 -070071# Use the following include to make our test apk.
Amith Yamasani0dd03eb2014-05-20 17:37:44 -070072ifeq (,$(ONE_SHOT_MAKEFILE))
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080073include $(call all-makefiles-under,$(LOCAL_PATH))
Anton Hansson16322a02018-12-10 17:03:29 +000074endif