blob: 77d3e11b878690b92bb6b66d8822d37dca1bcb1d [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 := \
Sam Mortimered2482f2019-05-13 11:53:47 -07009 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 Martinscb1920d2018-03-31 13:50:52 +010015
16LOCAL_STATIC_JAVA_LIBRARIES := \
Steve Kondik27cfe782016-09-06 04:33:28 -070017 jsr305 \
Sam Mortimer32a2abb2017-09-18 21:40:24 -070018 org.lineageos.platform.internal
Steve Kondik27cfe782016-09-06 04:33:28 -070019
20LOCAL_RESOURCE_DIR := \
Bruno Martinscb1920d2018-03-31 13:50:52 +010021 $(LOCAL_PATH)/res
Steve Kondik27cfe782016-09-06 04:33:28 -070022
Bruno Martinscb1920d2018-03-31 13:50:52 +010023LOCAL_USE_AAPT2 := true
Steve Kondik27cfe782016-09-06 04:33:28 -070024
Sam Mortimerdab9c732018-08-08 16:40:16 -070025LOCAL_PRIVATE_PLATFORM_APIS := true
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)