From 437ce8160e829b8842d57449c043b314c818a97a Mon Sep 17 00:00:00 2001 From: Dario Freni Date: Fri, 17 Aug 2018 13:07:56 +0100 Subject: [PATCH] Adjust AAPT2 dump usage to new syntax. Syntax was changed in Change-Id 5d2755129dae6ff6f0061da0abe634f44054b23e . Bug: 112747818 Test: m -- and check reports Change-Id: I909e6d66a0ce0ffa4cb1595a2779d754a3ab933b --- core/definitions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index fbb7da6a6..e9a99ec35 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -2551,7 +2551,7 @@ ifeq ($(HOST_OS),linux) # Runs appcompat and store logs in $(PRODUCT_OUT)/appcompat define extract-package $(if $(filter aapt2, $(1)), \ - $(AAPT2) dump $@ | awk -F ' |=' '/^Package/{print $$3}' >> $(PRODUCT_OUT)/appcompat/$(PRIVATE_MODULE).log &&, \ + $(AAPT2) dump resources $@ | awk -F ' |=' '/^Package/{print $$3}' >> $(PRODUCT_OUT)/appcompat/$(PRIVATE_MODULE).log &&, \ $(AAPT) dump badging $@ | awk -F \' '/^package/{print $$2}' >> $(PRODUCT_OUT)/appcompat/$(PRIVATE_MODULE).log &&) endef define appcompat-header