- Remove some resources that don't appear to do anything - Don't assume resource ids are final, because they aren't when compiled as a library Test: build Change-Id: I498bc2612d3f47df5f567c18c29e1666431e971c Merged-In: I498bc2612d3f47df5f567c18c29e1666431e971c (cherry picked from commit05dd567172) (cherry picked from commita9b2fcad7a)
83 lines
2.0 KiB
Makefile
83 lines
2.0 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := SystemUI-proto
|
|
|
|
LOCAL_SRC_FILES := $(call all-proto-files-under,src)
|
|
|
|
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
|
|
|
|
include $(BUILD_STATIC_JAVA_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := SystemUI-tags
|
|
|
|
LOCAL_SRC_FILES := src/com/android/systemui/EventLogTags.logtags
|
|
|
|
include $(BUILD_STATIC_JAVA_LIBRARY)
|
|
|
|
# ------------------
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_USE_AAPT2 := true
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
RELATIVE_FINGERPRINT_PATH := ../../core/java/android/hardware/fingerprint
|
|
|
|
LOCAL_SRC_FILES := \
|
|
$(call all-java-files-under, src) \
|
|
$(call all-Iaidl-files-under, src) \
|
|
$(call all-Iaidl-files-under, $(RELATIVE_FINGERPRINT_PATH))
|
|
|
|
LOCAL_STATIC_ANDROID_LIBRARIES := \
|
|
SystemUIPluginLib \
|
|
SystemUISharedLib \
|
|
androidx.car_car \
|
|
androidx.legacy_legacy-support-v4 \
|
|
androidx.recyclerview_recyclerview \
|
|
androidx.preference_preference \
|
|
androidx.appcompat_appcompat \
|
|
androidx.mediarouter_mediarouter \
|
|
androidx.palette_palette \
|
|
androidx.legacy_legacy-preference-v14 \
|
|
androidx.leanback_leanback \
|
|
androidx.slice_slice-core \
|
|
androidx.slice_slice-view \
|
|
androidx.slice_slice-builders \
|
|
androidx.arch.core_core-runtime \
|
|
androidx.lifecycle_lifecycle-extensions \
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
SystemUI-tags \
|
|
SystemUI-proto
|
|
|
|
LOCAL_JAVA_LIBRARIES := telephony-common \
|
|
android.car
|
|
|
|
LOCAL_PACKAGE_NAME := SystemUI
|
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
|
LOCAL_CERTIFICATE := platform
|
|
LOCAL_PRIVILEGED_MODULE := true
|
|
|
|
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
|
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res-keyguard $(LOCAL_PATH)/res
|
|
|
|
ifneq ($(INCREMENTAL_BUILDS),)
|
|
LOCAL_PROGUARD_ENABLED := disabled
|
|
LOCAL_JACK_ENABLED := incremental
|
|
LOCAL_DX_FLAGS := --multi-dex
|
|
LOCAL_JACK_FLAGS := --multi-dex native
|
|
endif
|
|
|
|
include frameworks/base/packages/SettingsLib/common.mk
|
|
|
|
LOCAL_AAPT_FLAGS := --extra-packages com.android.keyguard
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|