Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_PACKAGE_NAME := CMParts |
| 6 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 7 | LOCAL_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 | |
| 17 | LOCAL_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 | |
| 24 | LOCAL_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 Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 27 | LOCAL_CERTIFICATE := platform |
| 28 | LOCAL_PRIVILEGED_MODULE := true |
| 29 | LOCAL_MODULE_TAGS := optional |
| 30 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 31 | |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 32 | ifneq ($(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 |
| 37 | endif |
| 38 | |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 39 | include frameworks/base/packages/SettingsLib/common.mk |
| 40 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 41 | include $(BUILD_PACKAGE) |