SetupWizard: Build with AAPT2

* This is now mandatory, in order to use setup wizard lib

Change-Id: I9644eda4bc3f6bdea551480bcf373ca9563981b5
This commit is contained in:
Bruno Martins
2018-08-22 01:03:20 +01:00
parent 42c4cc3d5b
commit 059ca6c729

View File

@@ -14,13 +14,15 @@ LOCAL_PRIVATE_PLATFORM_APIS := true
LOCAL_PROGUARD_FLAG_FILES := proguard.flags LOCAL_PROGUARD_FLAG_FILES := proguard.flags
LOCAL_STATIC_JAVA_LIBRARIES := \ LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v4 \ android-support-v4 \
android-support-v7-appcompat \ android-support-v7-appcompat \
android-support-v7-preference \ android-support-v7-preference \
android-support-v7-recyclerview \ android-support-v7-recyclerview \
android-support-v13 \ android-support-v13 \
android-support-v14-preference \ android-support-v14-preference
LOCAL_STATIC_JAVA_LIBRARIES := \
libphonenumber \ libphonenumber \
org.lineageos.platform.internal \ org.lineageos.platform.internal \
org.lineageos.platform.sdk org.lineageos.platform.sdk
@@ -29,7 +31,8 @@ LOCAL_JAVA_LIBRARIES := \
telephony-common telephony-common
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_AAPT_FLAGS := --auto-add-overlay
LOCAL_USE_AAPT2 := true
include frameworks/opt/setupwizard/navigationbar/common.mk include frameworks/opt/setupwizard/navigationbar/common.mk
include frameworks/opt/setupwizard/library/common-gingerbread.mk include frameworks/opt/setupwizard/library/common-gingerbread.mk