Adjust AAPT2 dump usage to new syntax.

Syntax was changed in Change-Id
5d2755129dae6ff6f0061da0abe634f44054b23e .

Bug: 112747818
Test: m -- and check reports
Change-Id: I909e6d66a0ce0ffa4cb1595a2779d754a3ab933b
This commit is contained in:
Dario Freni 2018-08-17 13:07:56 +01:00
parent 6db4cb18c1
commit 437ce8160e
1 changed files with 1 additions and 1 deletions

View File

@ -2551,7 +2551,7 @@ ifeq ($(HOST_OS),linux)
# Runs appcompat and store logs in $(PRODUCT_OUT)/appcompat # Runs appcompat and store logs in $(PRODUCT_OUT)/appcompat
define extract-package define extract-package
$(if $(filter aapt2, $(1)), \ $(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 &&) $(AAPT) dump badging $@ | awk -F \' '/^package/{print $$2}' >> $(PRODUCT_OUT)/appcompat/$(PRIVATE_MODULE).log &&)
endef endef
define appcompat-header define appcompat-header