OSDN Git Service

Merge tag 'android-6.0.1_r66' into marshmallow-x86
[android-x86/packages-apps-Settings.git] / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2 include $(CLEAR_VARS)
3
4 LOCAL_JAVA_LIBRARIES := bouncycastle conscrypt telephony-common ims-common
5 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 android-support-v13 jsr305
6
7 LOCAL_MODULE_TAGS := optional
8
9 LOCAL_SRC_FILES := \
10         $(call all-java-files-under, src) \
11         src/com/android/settings/EventLogTags.logtags
12
13 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
14
15 LOCAL_PACKAGE_NAME := Settings
16 LOCAL_CERTIFICATE := platform
17 LOCAL_PRIVILEGED_MODULE := true
18
19 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
20
21 ifneq ($(INCREMENTAL_BUILDS),)
22     LOCAL_PROGUARD_ENABLED := disabled
23     LOCAL_JACK_ENABLED := incremental
24 endif
25
26 LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true
27 LOCAL_AAPT_FLAGS += --extra-packages com.koushikdutta.superuser:com.koushikdutta.widgets --auto-add-overlay
28
29 LOCAL_SRC_FILES += $(call all-java-files-under,../../../external/koush/Superuser/Superuser/src) $(call all-java-files-under,../../../external/koush/Widgets/Widgets/src)
30 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res $(LOCAL_PATH)/../../../external/koush/Widgets/Widgets/res $(LOCAL_PATH)/../../../external/koush/Superuser/Superuser/res
31
32 include frameworks/opt/setupwizard/navigationbar/common.mk
33 include frameworks/opt/setupwizard/library/common.mk
34 include frameworks/base/packages/SettingsLib/common.mk
35
36 include $(BUILD_PACKAGE)
37
38 # Use the following include to make our test apk.
39 ifeq (,$(ONE_SHOT_MAKEFILE))
40 include $(call all-makefiles-under,$(LOCAL_PATH))
41 endif