1 LOCAL_PATH:= $(call my-dir)
5 $(call all-logtags-files-under, src)
7 LOCAL_MODULE := settings-logtags
9 include $(BUILD_STATIC_JAVA_LIBRARY)
11 # Build the Settings APK
14 LOCAL_PACKAGE_NAME := Settings
15 LOCAL_PRIVATE_PLATFORM_APIS := true
16 LOCAL_CERTIFICATE := platform
17 LOCAL_PRODUCT_MODULE := true
18 LOCAL_PRIVILEGED_MODULE := true
19 LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings
20 LOCAL_MODULE_TAGS := optional
21 LOCAL_USE_AAPT2 := true
23 LOCAL_SRC_FILES := $(call all-java-files-under, src)
25 LOCAL_STATIC_ANDROID_LIBRARIES := \
26 androidx.slice_slice-builders \
27 androidx.slice_slice-core \
28 androidx.slice_slice-view \
30 androidx.legacy_legacy-support-v4 \
31 androidx.legacy_legacy-support-v13 \
32 androidx.appcompat_appcompat \
33 androidx.cardview_cardview \
34 androidx.preference_preference \
35 androidx.recyclerview_recyclerview \
36 androidx.legacy_legacy-preference-v14 \
38 LOCAL_JAVA_LIBRARIES := \
42 LOCAL_STATIC_JAVA_LIBRARIES := \
43 androidx.lifecycle_lifecycle-runtime \
44 androidx.lifecycle_lifecycle-extensions \
49 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
51 ifneq ($(INCREMENTAL_BUILDS),)
52 LOCAL_PROGUARD_ENABLED := disabled
53 LOCAL_JACK_ENABLED := incremental
54 LOCAL_JACK_FLAGS := --multi-dex native
57 include frameworks/opt/setupwizard/library/common-gingerbread.mk
58 include frameworks/base/packages/SettingsLib/common.mk
60 include $(BUILD_PACKAGE)
62 # Use the following include to make our test apk.
63 ifeq (,$(ONE_SHOT_MAKEFILE))
64 include $(call all-makefiles-under,$(LOCAL_PATH))