blob: 04749bfa45fa583372653036c908ea69b1ccfc81 [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
18LOCAL_MODULE_TAGS := optional
19LOCAL_USE_AAPT2 := true
20
21LOCAL_SRC_FILES := $(call all-java-files-under, src)
22
23LOCAL_STATIC_ANDROID_LIBRARIES := \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070024 androidx.slice_slice-builders \
25 androidx.slice_slice-core \
26 androidx.slice_slice-view \
27 androidx.core_core \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070028 androidx.appcompat_appcompat \
29 androidx.cardview_cardview \
30 androidx.preference_preference \
31 androidx.recyclerview_recyclerview \
Raff Tsai082f8ee2018-06-29 06:11:39 +000032 com.google.android.material_material \
Adam Lesinski701af872016-08-16 15:59:14 -070033
34LOCAL_JAVA_LIBRARIES := \
Adam Lesinski701af872016-08-16 15:59:14 -070035 telephony-common \
36 ims-common
37
38LOCAL_STATIC_JAVA_LIBRARIES := \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070039 androidx.lifecycle_lifecycle-runtime \
40 androidx.lifecycle_lifecycle-extensions \
jackqdyulei3ee28c82018-02-20 15:07:26 -080041 guava \
Andrew Sapperstein867bb9c2016-04-11 13:58:07 -070042 jsr305 \
Fan Zhang8985efe2018-10-09 16:12:34 -070043 settings-contextual-card-protos-lite \
Raff Tsai3936e9f2018-09-28 17:42:43 +080044 contextualcards \
Matthew Fritzeb2775572017-12-05 10:46:47 -080045 settings-logtags \
Johnson Lu881ba4e2018-11-02 15:58:47 +080046 zxing-core-1.7
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070047
Ying Wangc845c6d2010-09-30 13:23:20 -070048LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Daisuke Miyakawac81adf52010-08-12 13:04:43 -070049
Jorim Jaggic9f73802015-04-24 11:12:20 -070050ifneq ($(INCREMENTAL_BUILDS),)
51 LOCAL_PROGUARD_ENABLED := disabled
52 LOCAL_JACK_ENABLED := incremental
Jorim Jaggi75b22c62016-01-28 20:06:32 -080053 LOCAL_JACK_FLAGS := --multi-dex native
Jorim Jaggic9f73802015-04-24 11:12:20 -070054endif
55
Maurice Lam62478b92016-12-16 14:11:02 -080056include frameworks/opt/setupwizard/library/common-gingerbread.mk
Jason Monkf15248b2015-01-13 10:05:53 -050057include frameworks/base/packages/SettingsLib/common.mk
Tony Mantler0fcd6cb2018-03-26 15:17:25 -070058include frameworks/base/packages/SettingsLib/search/common.mk
Maurice Lam6776c672014-06-05 19:15:20 -070059
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080060include $(BUILD_PACKAGE)
61
Raff Tsai3936e9f2018-09-28 17:42:43 +080062# ==== prebuilt library ========================
63include $(CLEAR_VARS)
64
65LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
66 contextualcards:libs/contextualcards.aar
67include $(BUILD_MULTI_PREBUILT)
68
Maurice Lam6776c672014-06-05 19:15:20 -070069# Use the following include to make our test apk.
Amith Yamasani0dd03eb2014-05-20 17:37:44 -070070ifeq (,$(ONE_SHOT_MAKEFILE))
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080071include $(call all-makefiles-under,$(LOCAL_PATH))
Raff Tsai3936e9f2018-09-28 17:42:43 +080072endif