Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 5 | LOCAL_PACKAGE_NAME := LineageParts |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 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 \ |
meganukebmp | 9a6ac45 | 2017-12-29 19:45:22 +0200 | [diff] [blame] | 10 | android-support-dynamic-animation \ |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 11 | android-support-v7-recyclerview \ |
Joey | 90af02f | 2018-01-20 13:54:57 +0100 | [diff] [blame] | 12 | android-support-v7-palette \ |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 13 | android-support-v7-preference \ |
| 14 | android-support-v7-appcompat \ |
| 15 | android-support-v14-preference \ |
| 16 | jsr305 \ |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 17 | org.lineageos.platform.internal |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 18 | |
| 19 | LOCAL_RESOURCE_DIR := \ |
| 20 | $(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 | |
| 26 | LOCAL_AAPT_FLAGS := --auto-add-overlay \ |
| 27 | --extra-packages android.support.v7.preference:android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.recyclerview |
| 28 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 29 | LOCAL_CERTIFICATE := platform |
| 30 | LOCAL_PRIVILEGED_MODULE := true |
| 31 | LOCAL_MODULE_TAGS := optional |
| 32 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
| 33 | |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 34 | ifneq ($(INCREMENTAL_BUILDS),) |
| 35 | LOCAL_PROGUARD_ENABLED := disabled |
| 36 | LOCAL_JACK_ENABLED := incremental |
| 37 | LOCAL_DX_FLAGS := --multi-dex |
| 38 | LOCAL_JACK_FLAGS := --multi-dex native |
| 39 | endif |
| 40 | |
Steve Kondik | 03b5650 | 2016-09-10 17:17:25 -0700 | [diff] [blame] | 41 | include frameworks/base/packages/SettingsLib/common.mk |
| 42 | |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 43 | include $(BUILD_PACKAGE) |