Define proguard dictionary output for R8

When running with R8 instead of Proguard + dx the proguard mapping is
produced together with the dex output.

Bug: 68249935
Test: m -j ahat-test
Change-Id: Ica5ef455eb3bd1eabe55c43e9e026f47cadace1c
This commit is contained in:
Søren Gjesse 2017-10-25 17:10:59 +02:00
parent 44e5fad30f
commit 4ab5b02e62
1 changed files with 4 additions and 0 deletions

View File

@ -719,7 +719,11 @@ endif
endif
ifneq ($(filter obfuscation,$(LOCAL_PROGUARD_ENABLED)),)
ifneq ($(USE_R8),true)
$(full_classes_proguard_jar): .KATI_IMPLICIT_OUTPUTS := $(proguard_dictionary)
else
$(built_dex_intermediate): .KATI_IMPLICIT_OUTPUTS := $(proguard_dictionary)
endif
endif
# If R8 is not enabled run Proguard.