From f8b06a4e61f7db4a5f28d2145daa19eace2199ec Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 21 Dec 2017 14:09:51 -0800 Subject: [PATCH] Update jacoco command line flags for latest version jacoco_cli wants --quiet and --dest instead of -quiet and -dest. Bug: 69669951 Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true SKIP_BOOT_JARS_CHECK=true WITH_DEXPREOPT=false tests Change-Id: I126a702fbb1538ba5f99a7abf70c1f025160db21 --- core/jacoco.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/jacoco.mk b/core/jacoco.mk index f51790d64..6406df45a 100644 --- a/core/jacoco.mk +++ b/core/jacoco.mk @@ -84,8 +84,8 @@ $(my_instrumented_timestamp_path): $(my_unzipped_timestamp_path) $(JACOCO_CLI_JA mkdir -p $(PRIVATE_INSTRUMENTED_PATH) java -jar $(JACOCO_CLI_JAR) \ instrument \ - -quiet \ - -dest '$(PRIVATE_INSTRUMENTED_PATH)' \ + --quiet \ + --dest '$(PRIVATE_INSTRUMENTED_PATH)' \ $(PRIVATE_UNZIPPED_PATH) touch $(PRIVATE_INSTRUMENTED_TIMESTAMP_PATH)