OSDN Git Service

Prevent accounts page directly opening in screen pinning mode
[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_CERTIFICATE := platform
16 LOCAL_PRIVILEGED_MODULE := true
17 LOCAL_MODULE_TAGS := optional
18 LOCAL_USE_AAPT2 := true
19
20 LOCAL_SRC_FILES := $(call all-java-files-under, src)
21
22 LOCAL_STATIC_ANDROID_LIBRARIES := \
23     android-support-v4 \
24     android-support-v13 \
25     android-support-v7-appcompat \
26     android-support-v7-cardview \
27     android-support-v7-preference \
28     android-support-v7-recyclerview \
29     android-support-v14-preference
30
31 LOCAL_JAVA_LIBRARIES := \
32     bouncycastle \
33     core-oj \
34     telephony-common \
35     ims-common
36
37 LOCAL_STATIC_JAVA_LIBRARIES := \
38     jsr305 \
39     settings-logtags
40
41 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
42
43 ifneq ($(INCREMENTAL_BUILDS),)
44     LOCAL_PROGUARD_ENABLED := disabled
45     LOCAL_JACK_ENABLED := incremental
46     LOCAL_JACK_FLAGS := --multi-dex native
47 endif
48
49 include frameworks/opt/setupwizard/library/common-gingerbread.mk
50 include frameworks/base/packages/SettingsLib/common.mk
51
52 include $(BUILD_PACKAGE)
53
54 # Use the following include to make our test apk.
55 ifeq (,$(ONE_SHOT_MAKEFILE))
56 include $(call all-makefiles-under,$(LOCAL_PATH))
57 endif