From 777cf2c450bfa5ff2af4214647d54b095a8f19c4 Mon Sep 17 00:00:00 2001 From: Jeff Gaston Date: Tue, 22 May 2018 18:57:22 +0000 Subject: [PATCH] Revert "Use AAPT2 by default" This reverts commit ba7699fb9a33d5e82f4871f5ecfbe67e52bdf35c. Reason for revert: Broke boot tests on walleye and taimen Bug: 80142285 Change-Id: Ida54a0b875147420e6e9c0af41b14af50f6397e3 --- core/force_aapt2.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/force_aapt2.mk b/core/force_aapt2.mk index 9ca07497b..690111600 100644 --- a/core/force_aapt2.mk +++ b/core/force_aapt2.mk @@ -17,7 +17,7 @@ # Including this makefile will force AAPT2 on if FORCE_AAPT2==true, # rewriting some properties to convert standard AAPT usage to AAPT2. -ifneq ($(FORCE_AAPT2),false) +ifeq ($(FORCE_AAPT2),true) ifeq ($(LOCAL_USE_AAPT2),) # Force AAPT2 on LOCAL_USE_AAPT2 := true @@ -50,6 +50,7 @@ ifneq ($(FORCE_AAPT2),false) ifeq (,$(strip $(LOCAL_MANIFEST_FILE)$(LOCAL_FULL_MANIFEST_FILE))) ifeq (,$(wildcard $(LOCAL_PATH)/AndroidManifest.xml)) # work around missing manifests by creating a default one + $(call pretty-warning, Missing manifest file) LOCAL_FULL_MANIFEST_FILE := $(call local-intermediates-dir,COMMON)/DefaultManifest.xml $(call create-default-manifest-file,$(LOCAL_FULL_MANIFEST_FILE)) endif