forked from openkylin/platform_build
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:
parent
44e5fad30f
commit
4ab5b02e62
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue