blob: 1ecfd8ec9b20b8f26de139882206ce44dbb5c902 [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 \
15 org.cyanogenmod.platform.internal
16
17LOCAL_RESOURCE_DIR := \
18 $(LOCAL_PATH)/res \
19 frameworks/support/v7/preference/res \
20 frameworks/support/v14/preference/res \
21 frameworks/support/v7/appcompat/res \
22 frameworks/support/v7/recyclerview/res
23
24LOCAL_AAPT_FLAGS := --auto-add-overlay \
25 --extra-packages android.support.v7.preference:android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.recyclerview
26
Steve Kondik66dbbd52016-09-03 05:15:27 -070027LOCAL_CERTIFICATE := platform
28LOCAL_PRIVILEGED_MODULE := true
29LOCAL_MODULE_TAGS := optional
30LOCAL_PROGUARD_FLAG_FILES := proguard.flags
31
Steve Kondik27cfe782016-09-06 04:33:28 -070032ifneq ($(INCREMENTAL_BUILDS),)
33 LOCAL_PROGUARD_ENABLED := disabled
34 LOCAL_JACK_ENABLED := incremental
35 LOCAL_DX_FLAGS := --multi-dex
36 LOCAL_JACK_FLAGS := --multi-dex native
37endif
38
Steve Kondik03b56502016-09-10 17:17:25 -070039include frameworks/base/packages/SettingsLib/common.mk
40
Steve Kondik66dbbd52016-09-03 05:15:27 -070041include $(BUILD_PACKAGE)