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_CERTIFICATE := platform
16 LOCAL_PRIVILEGED_MODULE := true
17 LOCAL_MODULE_TAGS := optional
18 LOCAL_USE_AAPT2 := true
20 LOCAL_SRC_FILES := $(call all-java-files-under, src) \
21 $(call all-java-files-under,../../../external/koush/Widgets/Widgets/src) \
22 $(call all-java-files-under,../../../external/koush/Superuser/Superuser/src)
24 LOCAL_STATIC_ANDROID_LIBRARIES := \
27 android-support-v7-appcompat \
28 android-support-v7-cardview \
29 android-support-v7-preference \
30 android-support-v7-recyclerview \
31 android-support-v14-preference
33 LOCAL_JAVA_LIBRARIES := \
39 LOCAL_STATIC_JAVA_LIBRARIES := \
43 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
45 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \
46 external/koush/Widgets/Widgets/res \
47 external/koush/Superuser/Superuser/res
49 LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true
51 LOCAL_AAPT_FLAGS := --auto-add-overlay \
52 --extra-packages com.koushikdutta.superuser:com.koushikdutta.widgets
54 ifneq ($(INCREMENTAL_BUILDS),)
55 LOCAL_PROGUARD_ENABLED := disabled
56 LOCAL_JACK_ENABLED := incremental
57 LOCAL_JACK_FLAGS := --multi-dex native
60 include frameworks/opt/setupwizard/library/common-gingerbread.mk
61 include frameworks/base/packages/SettingsLib/common.mk
63 include $(BUILD_PACKAGE)
65 # Use the following include to make our test apk.
66 ifeq (,$(ONE_SHOT_MAKEFILE))
67 include $(call all-makefiles-under,$(LOCAL_PATH))