1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE := SystemUI-proto-tags 6 7 LOCAL_SRC_FILES := $(call all-proto-files-under,src) \ 8 src/com/android/systemui/EventLogTags.logtags 9 10 LOCAL_PROTOC_OPTIMIZE_TYPE := nano 11 LOCAL_PROTO_JAVA_OUTPUT_PARAMS := optional_field_style=accessors 12 13 include $(BUILD_STATIC_JAVA_LIBRARY) 14 15 # ------------------ 16 17 include $(CLEAR_VARS) 18 19 LOCAL_MODULE_TAGS := optional 20 21 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src) 22 23 LOCAL_STATIC_JAVA_LIBRARIES := \ 24 Keyguard \ 25 android-support-v7-recyclerview \ 26 android-support-v7-preference \ 27 android-support-v7-appcompat \ 28 android-support-v14-preference \ 29 android-support-v17-leanback \ 30 framework-protos \ 31 SystemUI-proto-tags 32 33 LOCAL_JAVA_LIBRARIES := telephony-common 34 35 LOCAL_PACKAGE_NAME := SystemUI 36 LOCAL_CERTIFICATE := platform 37 LOCAL_PRIVILEGED_MODULE := true 38 39 LOCAL_PROGUARD_FLAG_FILES := proguard.flags 40 41 LOCAL_RESOURCE_DIR := \ 42 frameworks/base/packages/Keyguard/res \ 43 $(LOCAL_PATH)/res \ 44 frameworks/support/v7/preference/res \ 45 frameworks/support/v14/preference/res \ 46 frameworks/support/v7/appcompat/res \ 47 frameworks/support/v7/recyclerview/res \ 48 frameworks/support/v17/leanback/res 49 50 LOCAL_AAPT_FLAGS := --auto-add-overlay \ 51 --extra-packages com.android.keyguard:android.support.v7.recyclerview:android.support.v7.preference:android.support.v14.preference:android.support.v7.appcompat \ 52 --extra-packages android.support.v17.leanback 53 54 ifneq ($(SYSTEM_UI_INCREMENTAL_BUILDS),) 55 LOCAL_PROGUARD_ENABLED := disabled 56 LOCAL_JACK_ENABLED := incremental 57 endif 58 59 include frameworks/base/packages/SettingsLib/common.mk 60 61 include $(BUILD_PACKAGE) 62 63 ifeq ($(EXCLUDE_SYSTEMUI_TESTS),) 64 include $(call all-makefiles-under,$(LOCAL_PATH)) 65 endif 66