1LOCAL_PATH:= $(call my-dir) 2 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 17include $(CLEAR_VARS) 18 19LOCAL_MODULE_TAGS := optional 20 21LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src) 22 23LOCAL_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 33LOCAL_JAVA_LIBRARIES := telephony-common 34 35LOCAL_PACKAGE_NAME := SystemUI 36LOCAL_CERTIFICATE := platform 37LOCAL_PRIVILEGED_MODULE := true 38 39LOCAL_PROGUARD_FLAG_FILES := proguard.flags 40 41LOCAL_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 50LOCAL_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 54ifneq ($(SYSTEM_UI_INCREMENTAL_BUILDS),) 55 LOCAL_PROGUARD_ENABLED := disabled 56 LOCAL_JACK_ENABLED := incremental 57endif 58 59include frameworks/base/packages/SettingsLib/common.mk 60 61include $(BUILD_PACKAGE) 62 63ifeq ($(EXCLUDE_SYSTEMUI_TESTS),) 64 include $(call all-makefiles-under,$(LOCAL_PATH)) 65endif 66