blob: c27e502205c98c8a9d5e1b7424926b131617da53 [file] [log] [blame]
Steve Kondik66dbbd52016-09-03 05:15:27 -07001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_PACKAGE_NAME := CMParts
6LOCAL_SRC_FILES := $(call all-java-files-under, src)
Steve Kondik27cfe782016-09-06 04:33:28 -07007LOCAL_STATIC_JAVA_LIBRARIES := \
8 android-support-v4 \
9 android-support-v13 \
10 android-support-v7-recyclerview \
11 android-support-v7-preference \
12 android-support-v7-appcompat \
13 android-support-v14-preference \
14 jsr305 \
Steve Kondik01fc9e62016-10-13 03:58:39 -070015 uicommon \
Steve Kondik27cfe782016-09-06 04:33:28 -070016 org.cyanogenmod.platform.internal
17
18LOCAL_RESOURCE_DIR := \
19 $(LOCAL_PATH)/res \
20 frameworks/support/v7/preference/res \
21 frameworks/support/v14/preference/res \
22 frameworks/support/v7/appcompat/res \
23 frameworks/support/v7/recyclerview/res
24
25LOCAL_AAPT_FLAGS := --auto-add-overlay \
26 --extra-packages android.support.v7.preference:android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.recyclerview
27
Steve Kondik66dbbd52016-09-03 05:15:27 -070028LOCAL_CERTIFICATE := platform
29LOCAL_PRIVILEGED_MODULE := true
30LOCAL_MODULE_TAGS := optional
31LOCAL_PROGUARD_FLAG_FILES := proguard.flags
32
Steve Kondik27cfe782016-09-06 04:33:28 -070033ifneq ($(INCREMENTAL_BUILDS),)
34 LOCAL_PROGUARD_ENABLED := disabled
35 LOCAL_JACK_ENABLED := incremental
36 LOCAL_DX_FLAGS := --multi-dex
37 LOCAL_JACK_FLAGS := --multi-dex native
38endif
39
Steve Kondik03b56502016-09-10 17:17:25 -070040include frameworks/base/packages/SettingsLib/common.mk
41
Steve Kondik66dbbd52016-09-03 05:15:27 -070042include $(BUILD_PACKAGE)