blob: 5ee0c64c9591b080d3794fadc313f5fd16b0331a [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
Adrian Roos4cc2a582016-02-25 09:28:13 -080030LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src)
Joe Onorato2314aab2010-04-08 16:41:23 -050031
Adam Lesinski38e89662016-06-24 15:00:11 -070032LOCAL_STATIC_ANDROID_LIBRARIES := \
Jason Monk86bc3312016-08-16 13:17:56 -040033 SystemUIPluginLib \
Jason Monk87ccd552015-12-11 21:39:54 -050034 android-support-v7-recyclerview \
35 android-support-v7-preference \
36 android-support-v7-appcompat \
Jason Monk1cbf5fb2017-03-30 15:23:43 -040037 android-support-v7-mediarouter \
Colin Crossb666c162017-04-05 15:38:37 -070038 android-support-v7-palette \
Chris Wren77781d32016-01-11 14:49:26 -050039 android-support-v14-preference \
Adam Lesinski38e89662016-06-24 15:00:11 -070040 android-support-v17-leanback
41
42LOCAL_STATIC_JAVA_LIBRARIES := \
Jason Monk23f85ec2017-01-31 14:29:32 -050043 SystemUI-tags \
Jorim Jaggid0565172016-09-15 16:31:14 -070044 SystemUI-proto
Jason Monk87ccd552015-12-11 21:39:54 -050045
John Spurlockf7abb082013-06-25 15:09:36 -040046LOCAL_JAVA_LIBRARIES := telephony-common
Yao Chen634acb92016-04-13 16:17:47 -070047LOCAL_JAVA_LIBRARIES += android.car
Joe Onorato2314aab2010-04-08 16:41:23 -050048
Joe Onorato79de0c52010-05-26 17:03:26 -040049LOCAL_PACKAGE_NAME := SystemUI
Joe Onorato2314aab2010-04-08 16:41:23 -050050LOCAL_CERTIFICATE := platform
Christopher Tateccbf84f2013-05-08 15:25:41 -070051LOCAL_PRIVILEGED_MODULE := true
Joe Onorato2314aab2010-04-08 16:41:23 -050052
Ying Wang55ca6912010-09-30 13:20:45 -070053LOCAL_PROGUARD_FLAG_FILES := proguard.flags
Jason Monk23f85ec2017-01-31 14:29:32 -050054LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res-keyguard $(LOCAL_PATH)/res
Daniel Sandler1ab5cae2010-08-02 14:52:35 -040055
Jorim Jaggi56a1bba2016-05-27 15:29:10 -070056ifneq ($(INCREMENTAL_BUILDS),)
Jorim Jaggi3557e0eb2015-04-10 10:48:58 -070057 LOCAL_PROGUARD_ENABLED := disabled
58 LOCAL_JACK_ENABLED := incremental
Jorim Jaggi56a1bba2016-05-27 15:29:10 -070059 LOCAL_DX_FLAGS := --multi-dex
60 LOCAL_JACK_FLAGS := --multi-dex native
Jorim Jaggi3557e0eb2015-04-10 10:48:58 -070061endif
62
Jason Monk2ba4ce62015-01-13 10:08:23 -050063include frameworks/base/packages/SettingsLib/common.mk
64
Jason Monk23f85ec2017-01-31 14:29:32 -050065LOCAL_AAPT_FLAGS := --extra-packages com.android.keyguard
66
Joe Onorato2314aab2010-04-08 16:41:23 -050067include $(BUILD_PACKAGE)
Brett Chabotcaf30a12011-07-28 19:33:22 -070068
Jason Monk4f70b9c2016-10-26 15:05:42 -040069include $(call all-makefiles-under,$(LOCAL_PATH))