blob: 906cfc774327b0d26c1d4a5f667e27bfb4013a1c [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
Anton Hanssonf1092822018-12-10 18:14:48 +000017LOCAL_PRODUCT_MODULE := true
Adam Lesinski701af872016-08-16 15:59:14 -070018LOCAL_PRIVILEGED_MODULE := true
Anton Hansson16322a02018-12-10 17:03:29 +000019LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings
Adam Lesinski701af872016-08-16 15:59:14 -070020LOCAL_MODULE_TAGS := optional
21LOCAL_USE_AAPT2 := true
22
23LOCAL_SRC_FILES := $(call all-java-files-under, src)
24
25LOCAL_STATIC_ANDROID_LIBRARIES := \
Arc Wang8eda83d2019-01-07 11:51:42 +080026 androidx-constraintlayout_constraintlayout \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070027 androidx.slice_slice-builders \
28 androidx.slice_slice-core \
29 androidx.slice_slice-view \
30 androidx.core_core \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070031 androidx.appcompat_appcompat \
32 androidx.cardview_cardview \
33 androidx.preference_preference \
34 androidx.recyclerview_recyclerview \
Raff Tsai082f8ee2018-06-29 06:11:39 +000035 com.google.android.material_material \
Pasty Changc1f86002018-12-11 02:22:55 +000036 setupcompat \
37 setupdesign
Adam Lesinski701af872016-08-16 15:59:14 -070038
39LOCAL_JAVA_LIBRARIES := \
Adam Lesinski701af872016-08-16 15:59:14 -070040 telephony-common \
41 ims-common
42
43LOCAL_STATIC_JAVA_LIBRARIES := \
Arc Wang8eda83d2019-01-07 11:51:42 +080044 androidx-constraintlayout_constraintlayout-solver \
Aurimas Liutikase0069d32018-04-17 11:22:43 -070045 androidx.lifecycle_lifecycle-runtime \
46 androidx.lifecycle_lifecycle-extensions \
jackqdyulei3ee28c82018-02-20 15:07:26 -080047 guava \
Andrew Sapperstein867bb9c2016-04-11 13:58:07 -070048 jsr305 \
Fan Zhang8985efe2018-10-09 16:12:34 -070049 settings-contextual-card-protos-lite \
Raff Tsai02e45572019-01-30 11:14:20 +080050 settings-log-bridge-protos-lite \
Raff Tsai3936e9f2018-09-28 17:42:43 +080051 contextualcards \
Matthew Fritzeb2775572017-12-05 10:46:47 -080052 settings-logtags \
Johnson Lu881ba4e2018-11-02 15:58:47 +080053 zxing-core-1.7
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070054
Ying Wangc845c6d2010-09-30 13:23:20 -070055LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Daisuke Miyakawac81adf52010-08-12 13:04:43 -070056
Jorim Jaggic9f73802015-04-24 11:12:20 -070057ifneq ($(INCREMENTAL_BUILDS),)
58 LOCAL_PROGUARD_ENABLED := disabled
59 LOCAL_JACK_ENABLED := incremental
Jorim Jaggi75b22c62016-01-28 20:06:32 -080060 LOCAL_JACK_FLAGS := --multi-dex native
Jorim Jaggic9f73802015-04-24 11:12:20 -070061endif
62
Jason Monkf15248b2015-01-13 10:05:53 -050063include frameworks/base/packages/SettingsLib/common.mk
Tony Mantler0fcd6cb2018-03-26 15:17:25 -070064include frameworks/base/packages/SettingsLib/search/common.mk
Maurice Lam6776c672014-06-05 19:15:20 -070065
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080066include $(BUILD_PACKAGE)
67
Raff Tsai3936e9f2018-09-28 17:42:43 +080068# ==== prebuilt library ========================
69include $(CLEAR_VARS)
70
71LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
72 contextualcards:libs/contextualcards.aar
73include $(BUILD_MULTI_PREBUILT)
74
Maurice Lam6776c672014-06-05 19:15:20 -070075# Use the following include to make our test apk.
Amith Yamasani0dd03eb2014-05-20 17:37:44 -070076ifeq (,$(ONE_SHOT_MAKEFILE))
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080077include $(call all-makefiles-under,$(LOCAL_PATH))
Anton Hansson16322a02018-12-10 17:03:29 +000078endif