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:
parent
6db4cb18c1
commit
437ce8160e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue