From 1410f684f6183ca3a80ee1f681bf4508759e87d4 Mon Sep 17 00:00:00 2001 From: Jared Duke Date: Wed, 20 Apr 2022 20:22:24 +0000 Subject: [PATCH] Use the new R8/D8_FLAGS vars Propagate the new D8/R8 JVM flags vars that were formerly combined in DEX_FLAGS. Bug: 205303544 Test: time m Change-Id: Ifc6051cd9422b3f5c52322833d9a7f5e8263f857 --- core/definitions.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/definitions.mk b/core/definitions.mk index 0d72473efa..a3f12e7de3 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -2609,7 +2609,7 @@ define transform-classes.jar-to-dex @mkdir -p $(dir $@)tmp $(hide) rm -f $(dir $@)classes*.dex $(dir $@)d8_input.jar $(hide) $(ZIP2ZIP) -j -i $< -o $(dir $@)d8_input.jar "**/*.class" -$(hide) $(D8_WRAPPER) $(DX_COMMAND) $(DEX_FLAGS) \ +$(hide) $(D8_WRAPPER) $(DX_COMMAND) $(D8_FLAGS) \ --output $(dir $@)tmp \ $(addprefix --lib ,$(PRIVATE_D8_LIBS)) \ --min-api $(PRIVATE_MIN_SDK_VERSION) \ @@ -3213,7 +3213,7 @@ endif define transform-jar-to-dex-r8 @echo R8: $@ $(hide) rm -f $(PRIVATE_PROGUARD_DICTIONARY) -$(hide) $(R8_WRAPPER) $(R8_COMPAT_PROGUARD) $(DEX_FLAGS) \ +$(hide) $(R8_WRAPPER) $(R8_COMPAT_PROGUARD) $(R8_FLAGS) \ -injars '$<' \ --min-api $(PRIVATE_MIN_SDK_VERSION) \ --no-data-resources \