1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_JAVA_LIBRARIES := bouncycastle core-oj telephony-common ims-common
5LOCAL_STATIC_JAVA_LIBRARIES := \
6    android-support-v4 \
7    android-support-v13 \
8    android-support-v7-recyclerview \
9    android-support-v7-preference \
10    android-support-v7-appcompat \
11    android-support-v14-preference \
12    jsr305
13
14LOCAL_MODULE_TAGS := optional
15
16LOCAL_SRC_FILES := \
17        $(call all-java-files-under, src) \
18        src/com/android/settings/EventLogTags.logtags
19
20LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \
21    frameworks/support/v7/preference/res \
22    frameworks/support/v14/preference/res \
23    frameworks/support/v7/appcompat/res \
24    frameworks/support/v7/recyclerview/res
25
26LOCAL_PACKAGE_NAME := Settings
27LOCAL_CERTIFICATE := platform
28LOCAL_PRIVILEGED_MODULE := true
29
30LOCAL_PROGUARD_FLAG_FILES := proguard.flags
31
32LOCAL_AAPT_FLAGS := --auto-add-overlay \
33    --extra-packages android.support.v7.preference:android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.recyclerview
34
35ifneq ($(INCREMENTAL_BUILDS),)
36    LOCAL_PROGUARD_ENABLED := disabled
37    LOCAL_JACK_ENABLED := incremental
38    LOCAL_DX_FLAGS := --multi-dex
39    LOCAL_JACK_FLAGS := --multi-dex native
40endif
41
42include frameworks/opt/setupwizard/library/common-full-support.mk
43include frameworks/base/packages/SettingsLib/common.mk
44
45include $(BUILD_PACKAGE)
46
47# Use the following include to make our test apk.
48ifeq (,$(ONE_SHOT_MAKEFILE))
49include $(call all-makefiles-under,$(LOCAL_PATH))
50endif
51