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_RESOURCE_DIR := $(LOCAL_PATH)/res
25 LOCAL_SRC_FILES := $(call all-java-files-under, src)
27 LOCAL_STATIC_ANDROID_LIBRARIES := \
28 androidx-constraintlayout_constraintlayout \
29 androidx.slice_slice-builders \
30 androidx.slice_slice-core \
31 androidx.slice_slice-view \
33 androidx.appcompat_appcompat \
34 androidx.cardview_cardview \
35 androidx.preference_preference \
36 androidx.recyclerview_recyclerview \
37 com.google.android.material_material \
41 LOCAL_JAVA_LIBRARIES := \
45 LOCAL_STATIC_JAVA_LIBRARIES := \
46 androidx-constraintlayout_constraintlayout-solver \
47 androidx.lifecycle_lifecycle-runtime \
48 androidx.lifecycle_lifecycle-extensions \
51 settings-contextual-card-protos-lite \
56 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
58 ifneq ($(INCREMENTAL_BUILDS),)
59 LOCAL_PROGUARD_ENABLED := disabled
60 LOCAL_JACK_ENABLED := incremental
61 LOCAL_JACK_FLAGS := --multi-dex native
64 include frameworks/base/packages/SettingsLib/common.mk
65 include frameworks/base/packages/SettingsLib/search/common.mk
67 include $(BUILD_PACKAGE)
69 # ==== prebuilt library ========================
72 LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
73 contextualcards:libs/contextualcards.aar
74 include $(BUILD_MULTI_PREBUILT)
76 # Use the following include to make our test apk.
77 ifeq (,$(ONE_SHOT_MAKEFILE))
78 include $(call all-makefiles-under,$(LOCAL_PATH))