Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d443244f authored by Colin Cross's avatar Colin Cross
Browse files

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

Bug: 79481102
Test: m java FORCE_AAPT2=true
Change-Id: Iece2158dc887a249eb51086b2497b170b5879979
parent 532ae3bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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