blob: 61851cf1b6dea53fe8eea858d0d1a8608431891f [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 := \
Matthew Fritzeb2775572017-12-05 10:46:47 -080024 android-slices-builders \
25 android-slices-core \
26 android-slices-view \
Jason Monk39b46742015-09-10 15:52:51 -040027 android-support-v4 \
28 android-support-v13 \
Jason Monk39b46742015-09-10 15:52:51 -040029 android-support-v7-appcompat \
Andrew Sapperstein048f6fb2017-05-28 12:20:10 -070030 android-support-v7-cardview \
31 android-support-v7-preference \
32 android-support-v7-recyclerview \
Matthew Fritzeb2775572017-12-05 10:46:47 -080033 android-support-v14-preference \
Adam Lesinski701af872016-08-16 15:59:14 -070034
35LOCAL_JAVA_LIBRARIES := \
36 bouncycastle \
Adam Lesinski701af872016-08-16 15:59:14 -070037 telephony-common \
38 ims-common
39
40LOCAL_STATIC_JAVA_LIBRARIES := \
Aurimas Liutikas0fbf8d82018-01-26 22:51:18 +000041 android-arch-lifecycle-runtime \
42 android-arch-lifecycle-extensions \
jackqdyulei3ee28c82018-02-20 15:07:26 -080043 guava \
Andrew Sapperstein867bb9c2016-04-11 13:58:07 -070044 jsr305 \
Matthew Fritzeb2775572017-12-05 10:46:47 -080045 settings-logtags \
Jeff Sharkeyab2d8d32011-05-30 16:19:56 -070046
Ying Wangc845c6d2010-09-30 13:23:20 -070047LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Daisuke Miyakawac81adf52010-08-12 13:04:43 -070048
Jorim Jaggic9f73802015-04-24 11:12:20 -070049ifneq ($(INCREMENTAL_BUILDS),)
50 LOCAL_PROGUARD_ENABLED := disabled
51 LOCAL_JACK_ENABLED := incremental
Jorim Jaggi75b22c62016-01-28 20:06:32 -080052 LOCAL_JACK_FLAGS := --multi-dex native
Jorim Jaggic9f73802015-04-24 11:12:20 -070053endif
54
Maurice Lam62478b92016-12-16 14:11:02 -080055include frameworks/opt/setupwizard/library/common-gingerbread.mk
Jason Monkf15248b2015-01-13 10:05:53 -050056include frameworks/base/packages/SettingsLib/common.mk
Maurice Lam6776c672014-06-05 19:15:20 -070057
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080058include $(BUILD_PACKAGE)
59
Maurice Lam6776c672014-06-05 19:15:20 -070060# Use the following include to make our test apk.
Amith Yamasani0dd03eb2014-05-20 17:37:44 -070061ifeq (,$(ONE_SHOT_MAKEFILE))
The Android Open Source Projectafc4ab22009-03-03 19:32:34 -080062include $(call all-makefiles-under,$(LOCAL_PATH))
Amith Yamasani0dd03eb2014-05-20 17:37:44 -070063endif