Merge "Allow modules to override FORCE_AAPT2=true with LOCAL_USE_AAPT2 := false"

This commit is contained in:
Treehugger Robot 2018-05-16 07:10:04 +00:00 committed by Gerrit Code Review
commit 00794848df
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
# rewriting some properties to convert standard AAPT usage to AAPT2.
ifeq ($(FORCE_AAPT2),true)
ifneq ($(LOCAL_USE_AAPT2),true)
ifeq ($(LOCAL_USE_AAPT2),)
# Force AAPT2 on
LOCAL_USE_AAPT2 := true
# Move LOCAL_STATIC_JAVA_AAR_LIBRARIES to LOCAL_STATIC_ANDROID_LIBRARIES