1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES := \ 5 $(call all-logtags-files-under, src) 6 7LOCAL_MODULE := settings-logtags 8 9include $(BUILD_STATIC_JAVA_LIBRARY) 10 11# Build the Settings APK 12include $(CLEAR_VARS) 13 14LOCAL_PACKAGE_NAME := Settings 15LOCAL_PRIVATE_PLATFORM_APIS := true 16LOCAL_CERTIFICATE := platform 17LOCAL_PRODUCT_MODULE := true 18LOCAL_PRIVILEGED_MODULE := true 19LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings 20LOCAL_MODULE_TAGS := optional 21LOCAL_USE_AAPT2 := true 22 23LOCAL_SRC_FILES := $(call all-java-files-under, src) 24 25LOCAL_STATIC_ANDROID_LIBRARIES := \ 26 androidx-constraintlayout_constraintlayout \ 27 androidx.slice_slice-builders \ 28 androidx.slice_slice-core \ 29 androidx.slice_slice-view \ 30 androidx.core_core \ 31 androidx.appcompat_appcompat \ 32 androidx.cardview_cardview \ 33 androidx.preference_preference \ 34 androidx.recyclerview_recyclerview \ 35 com.google.android.material_material \ 36 setupcompat \ 37 setupdesign 38 39LOCAL_JAVA_LIBRARIES := \ 40 telephony-common \ 41 ims-common 42 43LOCAL_STATIC_JAVA_LIBRARIES := \ 44 androidx-constraintlayout_constraintlayout-solver \ 45 androidx.lifecycle_lifecycle-runtime \ 46 androidx.lifecycle_lifecycle-extensions \ 47 guava \ 48 jsr305 \ 49 settings-contextual-card-protos-lite \ 50 settings-log-bridge-protos-lite \ 51 contextualcards \ 52 settings-logtags \ 53 zxing-core-1.7 54 55LOCAL_PROGUARD_FLAG_FILES := proguard.flags 56 57ifneq ($(INCREMENTAL_BUILDS),) 58 LOCAL_PROGUARD_ENABLED := disabled 59 LOCAL_JACK_ENABLED := incremental 60 LOCAL_JACK_FLAGS := --multi-dex native 61endif 62 63include frameworks/base/packages/SettingsLib/common.mk 64include frameworks/base/packages/SettingsLib/search/common.mk 65 66include $(BUILD_PACKAGE) 67 68# ==== prebuilt library ======================== 69include $(CLEAR_VARS) 70 71LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ 72 contextualcards:libs/contextualcards.aar 73include $(BUILD_MULTI_PREBUILT) 74 75# Use the following include to make our test apk. 76ifeq (,$(ONE_SHOT_MAKEFILE)) 77include $(call all-makefiles-under,$(LOCAL_PATH)) 78endif 79