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 |
Paul Keith | d34a7b3 | 2018-04-02 00:44:52 +0000 | [diff] [blame] | 6 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
Bruno Martins | cb1920d | 2018-03-31 13:50:52 +0100 | [diff] [blame] | 7 | |
| 8 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Sam Mortimer | ed2482f | 2019-05-13 11:53:47 -0700 | [diff] [blame] | 9 | androidx.appcompat_appcompat \ |
| 10 | androidx.dynamicanimation_dynamicanimation \ |
| 11 | androidx.legacy_legacy-support-v13 \ |
| 12 | androidx.palette_palette \ |
| 13 | androidx.preference_preference \ |
| 14 | androidx.recyclerview_recyclerview |
Bruno Martins | cb1920d | 2018-03-31 13:50:52 +0100 | [diff] [blame] | 15 | |
| 16 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 17 | jsr305 \ |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 18 | org.lineageos.platform.internal |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 19 | |
| 20 | LOCAL_RESOURCE_DIR := \ |
Bruno Martins | cb1920d | 2018-03-31 13:50:52 +0100 | [diff] [blame] | 21 | $(LOCAL_PATH)/res |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 22 | |
Bruno Martins | cb1920d | 2018-03-31 13:50:52 +0100 | [diff] [blame] | 23 | LOCAL_USE_AAPT2 := true |
Steve Kondik | 27cfe78 | 2016-09-06 04:33:28 -0700 | [diff] [blame] | 24 | |
Sam Mortimer | dab9c73 | 2018-08-08 16:40:16 -0700 | [diff] [blame] | 25 | LOCAL_PRIVATE_PLATFORM_APIS := true |
| 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) |