OSDN Git Service

4/n: Add basic enrollment for Face
[android-x86/packages-apps-Settings.git] / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2 include $(CLEAR_VARS)
3
4 LOCAL_SRC_FILES := \
5         $(call all-logtags-files-under, src)
6
7 LOCAL_MODULE := settings-logtags
8
9 include $(BUILD_STATIC_JAVA_LIBRARY)
10
11 # Build the Settings APK
12 include $(CLEAR_VARS)
13
14 LOCAL_PACKAGE_NAME := Settings
15 LOCAL_PRIVATE_PLATFORM_APIS := true
16 LOCAL_CERTIFICATE := platform
17 LOCAL_PRIVILEGED_MODULE := true
18 LOCAL_MODULE_TAGS := optional
19 LOCAL_USE_AAPT2 := true
20
21 LOCAL_SRC_FILES := $(call all-java-files-under, src)
22
23 LOCAL_STATIC_ANDROID_LIBRARIES := \
24     androidx.slice_slice-builders \
25     androidx.slice_slice-core \
26     androidx.slice_slice-view \
27     androidx.core_core \
28     androidx.legacy_legacy-support-v4 \
29     androidx.legacy_legacy-support-v13 \
30     androidx.appcompat_appcompat \
31     androidx.cardview_cardview \
32     androidx.preference_preference \
33     androidx.recyclerview_recyclerview \
34     androidx.legacy_legacy-preference-v14 \
35     com.google.android.material_material \
36
37 LOCAL_JAVA_LIBRARIES := \
38     bouncycastle \
39     telephony-common \
40     ims-common
41
42 LOCAL_STATIC_JAVA_LIBRARIES := \
43     androidx.lifecycle_lifecycle-runtime \
44     androidx.lifecycle_lifecycle-extensions \
45     guava \
46     jsr305 \
47     settings-logtags \
48
49 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
50
51 ifneq ($(INCREMENTAL_BUILDS),)
52     LOCAL_PROGUARD_ENABLED := disabled
53     LOCAL_JACK_ENABLED := incremental
54     LOCAL_JACK_FLAGS := --multi-dex native
55 endif
56
57 include frameworks/opt/setupwizard/library/common-gingerbread.mk
58 include frameworks/base/packages/SettingsLib/common.mk
59 include frameworks/base/packages/SettingsLib/search/common.mk
60
61 include $(BUILD_PACKAGE)
62
63 # Use the following include to make our test apk.
64 ifeq (,$(ONE_SHOT_MAKEFILE))
65 include $(call all-makefiles-under,$(LOCAL_PATH))
66 endif