From: Bruno Martins Date: Mon, 16 Oct 2017 00:33:15 +0000 (+0200) Subject: samsung: doze: Build with AAPT2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4b1e16b8004a40c7408846fd1f9317fc0a93e70;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git samsung: doze: Build with AAPT2 Change-Id: Id0a60b490a504010dc8b3f16aa495044719a4062 --- diff --git a/doze/Android.mk b/doze/Android.mk index a153362..18fd4c4 100644 --- a/doze/Android.mk +++ b/doze/Android.mk @@ -9,25 +9,22 @@ LOCAL_PACKAGE_NAME := SamsungDoze LOCAL_CERTIFICATE := platform LOCAL_PRIVILEGED_MODULE := true -LOCAL_STATIC_JAVA_LIBRARIES := \ +LOCAL_USE_AAPT2 := true + +LOCAL_STATIC_ANDROID_LIBRARIES := \ android-support-v14-preference \ android-support-v7-appcompat \ android-support-v7-preference \ - android-support-v7-recyclerview \ + android-support-v7-recyclerview + +LOCAL_STATIC_JAVA_LIBRARIES := \ org.lineageos.platform.internal LOCAL_PROGUARD_FLAG_FILES := proguard.flags LOCAL_RESOURCE_DIR := \ $(LOCAL_PATH)/res \ - $(LOCAL_PATH)/../../../../packages/resources/devicesettings/res \ - frameworks/support/v14/preference/res \ - frameworks/support/v7/appcompat/res \ - frameworks/support/v7/preference/res \ - frameworks/support/v7/recyclerview/res - -LOCAL_AAPT_FLAGS := --auto-add-overlay \ - --extra-packages android.support.v14.preference:android.support.v7.appcompat:android.support.v7.preference:android.support.v7.recyclerview + $(TOP)/packages/resources/devicesettings/res ifneq ($(INCREMENTAL_BUILDS),) LOCAL_PROGUARD_ENABLED := disabled