blob: df2115147fb24f6789330dd9790a8ffe238a928a [file] [log] [blame]
Joe Onorato2314aab2010-04-08 16:41:23 -05001LOCAL_PATH:= $(call my-dir)
Adrian Roos4cc2a582016-02-25 09:28:13 -08002
3include $(CLEAR_VARS)
4
Jorim Jaggid0565172016-09-15 16:31:14 -07005LOCAL_MODULE := SystemUI-proto
Adrian Roos4cc2a582016-02-25 09:28:13 -08006
Jorim Jaggid0565172016-09-15 16:31:14 -07007LOCAL_SRC_FILES := $(call all-proto-files-under,src)
Adrian Roos4cc2a582016-02-25 09:28:13 -08008
9LOCAL_PROTOC_OPTIMIZE_TYPE := nano
10LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors
11
12include $(BUILD_STATIC_JAVA_LIBRARY)
13
Jason Monk23f85ec2017-01-31 14:29:32 -050014include $(CLEAR_VARS)
15
16LOCAL_MODULE := SystemUI-tags
17
18LOCAL_SRC_FILES := src/com/android/systemui/EventLogTags.logtags
19
20include $(BUILD_STATIC_JAVA_LIBRARY)
21
Adrian Roos4cc2a582016-02-25 09:28:13 -080022# ------------------
23
Joe Onorato2314aab2010-04-08 16:41:23 -050024include $(CLEAR_VARS)
25
Adam Lesinski38e89662016-06-24 15:00:11 -070026LOCAL_USE_AAPT2 := true
27
Joe Onorato2314aab2010-04-08 16:41:23 -050028LOCAL_MODULE_TAGS := optional
29
Kevin Chynaae4a152018-01-18 11:48:09 -080030RELATIVE_FINGERPRINT_PATH := ../../core/java/android/hardware/fingerprint
31
32LOCAL_SRC_FILES := \
33 $(call all-java-files-under, src) \
34 $(call all-Iaidl-files-under, src) \
35 $(call all-Iaidl-files-under, $(RELATIVE_FINGERPRINT_PATH))
Joe Onorato2314aab2010-04-08 16:41:23 -050036
Adam Lesinski38e89662016-06-24 15:00:11 -070037LOCAL_STATIC_ANDROID_LIBRARIES := \
Jason Monk86bc3312016-08-16 13:17:56 -040038 SystemUIPluginLib \
Winson Chung6519c1b2017-10-13 17:12:56 -070039 SystemUISharedLib \
Lujiang Xuee53f7492018-03-01 09:53:28 -080040 android-support-car \
Selim Cinek0f66a4c2017-04-28 19:26:28 -070041 android-support-v4 \
Jason Monk87ccd552015-12-11 21:39:54 -050042 android-support-v7-recyclerview \
43 android-support-v7-preference \
44 android-support-v7-appcompat \
Jason Monk1cbf5fb2017-03-30 15:23:43 -040045 android-support-v7-mediarouter \
Colin Cross25606632017-04-05 15:38:37 -070046 android-support-v7-palette \
Chris Wren77781d32016-01-11 14:49:26 -050047 android-support-v14-preference \
Lucas Dupin6bd86012017-12-05 17:58:57 -080048 android-support-v17-leanback \
49 android-slices-core \
50 android-slices-view \
51 android-slices-builders \
Aurimas Liutikasa43e2162018-01-26 23:13:54 +000052 android-arch-core-runtime \
53 android-arch-lifecycle-extensions \
Adam Lesinski38e89662016-06-24 15:00:11 -070054
55LOCAL_STATIC_JAVA_LIBRARIES := \
Jason Monk23f85ec2017-01-31 14:29:32 -050056 SystemUI-tags \
Jorim Jaggid0565172016-09-15 16:31:14 -070057 SystemUI-proto
Jason Monk87ccd552015-12-11 21:39:54 -050058
Brad Stenning38b46f82018-03-27 13:57:29 -070059LOCAL_JAVA_LIBRARIES := telephony-common \
60 android.car
Joe Onorato2314aab2010-04-08 16:41:23 -050061
Joe Onorato79de0c52010-05-26 17:03:26 -040062LOCAL_PACKAGE_NAME := SystemUI
Anton Hanssond137c872018-02-23 12:57:51 +000063LOCAL_PRIVATE_PLATFORM_APIS := true
Joe Onorato2314aab2010-04-08 16:41:23 -050064LOCAL_CERTIFICATE := platform
Christopher Tateccbf84f2013-05-08 15:25:41 -070065LOCAL_PRIVILEGED_MODULE := true
Joe Onorato2314aab2010-04-08 16:41:23 -050066
Ying Wang55ca6912010-09-30 13:20:45 -070067LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Jason Monk23f85ec2017-01-31 14:29:32 -050068LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res-keyguard $(LOCAL_PATH)/res
Daniel Sandler1ab5cae2010-08-02 14:52:35 -040069
Jorim Jaggi56a1bba2016-05-27 15:29:10 -070070ifneq ($(INCREMENTAL_BUILDS),)
Jorim Jaggi3557e0eb2015-04-10 10:48:58 -070071 LOCAL_PROGUARD_ENABLED := disabled
72 LOCAL_JACK_ENABLED := incremental
Jorim Jaggi56a1bba2016-05-27 15:29:10 -070073 LOCAL_DX_FLAGS := --multi-dex
74 LOCAL_JACK_FLAGS := --multi-dex native
Jorim Jaggi3557e0eb2015-04-10 10:48:58 -070075endif
76
Jason Monk2ba4ce62015-01-13 10:08:23 -050077include frameworks/base/packages/SettingsLib/common.mk
78
Jason Monk23f85ec2017-01-31 14:29:32 -050079LOCAL_AAPT_FLAGS := --extra-packages com.android.keyguard
80
Joe Onorato2314aab2010-04-08 16:41:23 -050081include $(BUILD_PACKAGE)
Brett Chabotcaf30a12011-07-28 19:33:22 -070082
Jason Monk4f70b9c2016-10-26 15:05:42 -040083include $(call all-makefiles-under,$(LOCAL_PATH))