blob: 258c82ee227ec84d129ee74394dfd0ebd261290e [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
5LOCAL_MODULE := SystemUI-proto-tags
6
7LOCAL_SRC_FILES := $(call all-proto-files-under,src) \
8 src/com/android/systemui/EventLogTags.logtags
9
10LOCAL_PROTOC_OPTIMIZE_TYPE := nano
11LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors
12
13include $(BUILD_STATIC_JAVA_LIBRARY)
14
15# ------------------
16
Joe Onorato2314aab2010-04-08 16:41:23 -050017include $(CLEAR_VARS)
18
Adam Lesinski38e89662016-06-24 15:00:11 -070019LOCAL_USE_AAPT2 := true
20
Joe Onorato2314aab2010-04-08 16:41:23 -050021LOCAL_MODULE_TAGS := optional
22
Adrian Roos4cc2a582016-02-25 09:28:13 -080023LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src)
Joe Onorato2314aab2010-04-08 16:41:23 -050024
Adam Lesinski38e89662016-06-24 15:00:11 -070025LOCAL_STATIC_ANDROID_LIBRARIES := \
Winsonc29ff002015-11-20 16:00:45 -080026 Keyguard \
Jason Monk87ccd552015-12-11 21:39:54 -050027 android-support-v7-recyclerview \
28 android-support-v7-preference \
29 android-support-v7-appcompat \
Chris Wren77781d32016-01-11 14:49:26 -050030 android-support-v14-preference \
Adam Lesinski38e89662016-06-24 15:00:11 -070031 android-support-v17-leanback
32
33LOCAL_STATIC_JAVA_LIBRARIES := \
Adrian Roos4cc2a582016-02-25 09:28:13 -080034 framework-protos \
35 SystemUI-proto-tags
Jason Monk87ccd552015-12-11 21:39:54 -050036
John Spurlockf7abb082013-06-25 15:09:36 -040037LOCAL_JAVA_LIBRARIES := telephony-common
Yao Chen634acb92016-04-13 16:17:47 -070038LOCAL_JAVA_LIBRARIES += android.car
Joe Onorato2314aab2010-04-08 16:41:23 -050039
Joe Onorato79de0c52010-05-26 17:03:26 -040040LOCAL_PACKAGE_NAME := SystemUI
Joe Onorato2314aab2010-04-08 16:41:23 -050041LOCAL_CERTIFICATE := platform
Christopher Tateccbf84f2013-05-08 15:25:41 -070042LOCAL_PRIVILEGED_MODULE := true
Joe Onorato2314aab2010-04-08 16:41:23 -050043
Ying Wang55ca6912010-09-30 13:20:45 -070044LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Daniel Sandler1ab5cae2010-08-02 14:52:35 -040045
Jorim Jaggi3557e0eb2015-04-10 10:48:58 -070046ifneq ($(SYSTEM_UI_INCREMENTAL_BUILDS),)
47 LOCAL_PROGUARD_ENABLED := disabled
48 LOCAL_JACK_ENABLED := incremental
49endif
50
Jason Monk2ba4ce62015-01-13 10:08:23 -050051include frameworks/base/packages/SettingsLib/common.mk
52
Joe Onorato2314aab2010-04-08 16:41:23 -050053include $(BUILD_PACKAGE)
Brett Chabotcaf30a12011-07-28 19:33:22 -070054
Jorim Jaggifb0d6442015-01-20 16:41:01 +010055ifeq ($(EXCLUDE_SYSTEMUI_TESTS),)
56 include $(call all-makefiles-under,$(LOCAL_PATH))
57endif