OSDN Git Service

Switch to new Superuser
[android-x86/packages-apps-Settings.git] / Android.mk
1 LOCAL_PATH:= $(call my-dir)
2 include $(CLEAR_VARS)
3
4 LOCAL_JAVA_LIBRARIES := bouncycastle telephony-common
5 LOCAL_STATIC_JAVA_LIBRARIES := android-support-v4 android-support-v13 jsr305
6
7 LOCAL_MODULE_TAGS := optional
8
9 LOCAL_SRC_FILES := $(call all-java-files-under, src)
10
11 LOCAL_PACKAGE_NAME := Settings
12 LOCAL_CERTIFICATE := platform
13
14 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
15
16 LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true
17 LOCAL_AAPT_FLAGS := --extra-packages com.koushikdutta.superuser:com.koushikdutta.widgets --auto-add-overlay
18
19 LOCAL_SRC_FILES += $(call all-java-files-under,../../../external/koush/Superuser/Superuser/src) $(call all-java-files-under,../../../external/koush/Widgets/Widgets/src)
20 LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res $(LOCAL_PATH)/../../../external/koush/Widgets/Widgets/res $(LOCAL_PATH)/../../../external/koush/Superuser/Superuser/res
21
22 LOCAL_AAPT_FLAGS += -c zz_ZZ
23
24 include $(BUILD_PACKAGE)
25
26 # Use the folloing include to make our test apk.
27 include $(call all-makefiles-under,$(LOCAL_PATH))