blob: 84fc1984db5cac8b29136a3aec7be8d284bfd2cd [file] [log] [blame]
Steve Kondik66dbbd52016-09-03 05:15:27 -07001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
Sam Mortimer32a2abb2017-09-18 21:40:24 -07005LOCAL_PACKAGE_NAME := LineageParts
Paul Keithd34a7b32018-04-02 00:44:52 +00006LOCAL_SRC_FILES := $(call all-java-files-under, src)
Bruno Martinscb1920d2018-03-31 13:50:52 +01007
8LOCAL_STATIC_ANDROID_LIBRARIES := \
meganukebmp9a6ac452017-12-29 19:45:22 +02009 android-support-dynamic-animation \
Bruno Martinscb1920d2018-03-31 13:50:52 +010010 android-support-v4 \
11 android-support-v7-appcompat \
Joey90af02f2018-01-20 13:54:57 +010012 android-support-v7-palette \
Steve Kondik27cfe782016-09-06 04:33:28 -070013 android-support-v7-preference \
Bruno Martinscb1920d2018-03-31 13:50:52 +010014 android-support-v7-recyclerview \
15 android-support-v13 \
16 android-support-v14-preference
17
18LOCAL_STATIC_JAVA_LIBRARIES := \
Steve Kondik27cfe782016-09-06 04:33:28 -070019 jsr305 \
Sam Mortimer32a2abb2017-09-18 21:40:24 -070020 org.lineageos.platform.internal
Steve Kondik27cfe782016-09-06 04:33:28 -070021
22LOCAL_RESOURCE_DIR := \
Bruno Martinscb1920d2018-03-31 13:50:52 +010023 $(LOCAL_PATH)/res
Steve Kondik27cfe782016-09-06 04:33:28 -070024
Bruno Martinscb1920d2018-03-31 13:50:52 +010025LOCAL_USE_AAPT2 := true
Steve Kondik27cfe782016-09-06 04:33:28 -070026
Sam Mortimerdab9c732018-08-08 16:40:16 -070027LOCAL_PRIVATE_PLATFORM_APIS := true
28
Steve Kondik66dbbd52016-09-03 05:15:27 -070029LOCAL_CERTIFICATE := platform
30LOCAL_PRIVILEGED_MODULE := true
31LOCAL_MODULE_TAGS := optional
32LOCAL_PROGUARD_FLAG_FILES := proguard.flags
33
Steve Kondik27cfe782016-09-06 04:33:28 -070034ifneq ($(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
39endif
40
Steve Kondik03b56502016-09-10 17:17:25 -070041include frameworks/base/packages/SettingsLib/common.mk
42
Steve Kondik66dbbd52016-09-03 05:15:27 -070043include $(BUILD_PACKAGE)