Setting the environment variable EXCLUDE_SYSTEMUI_TESTS to something excludes the tests package during building. Saves a few seconds for incremental changes in SystemUI for fast UI iteration changes. Change-Id: I596a0273133c8a8bece0cc364e2ec61fdea45116
28 lines
697 B
Makefile
28 lines
697 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
|
|
src/com/android/systemui/EventLogTags.logtags
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := Keyguard
|
|
LOCAL_JAVA_LIBRARIES := telephony-common
|
|
|
|
LOCAL_PACKAGE_NAME := SystemUI
|
|
LOCAL_CERTIFICATE := platform
|
|
LOCAL_PRIVILEGED_MODULE := true
|
|
|
|
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
|
|
|
LOCAL_RESOURCE_DIR := \
|
|
frameworks/base/packages/Keyguard/res \
|
|
$(LOCAL_PATH)/res
|
|
LOCAL_AAPT_FLAGS := --auto-add-overlay --extra-packages com.android.keyguard
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|
|
ifeq ($(EXCLUDE_SYSTEMUI_TESTS),)
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
endif
|