Swith from Emma to Jacoco to generate Java coverage info

Emma is unsupported since 2005 and Jacoco is developed to replace Emma


Bug: 843307, 961793
Change-Id: I25689279972a0132dd8c41474de787f9aaa89a5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600337
Commit-Queue: Yun Liu <yliuyliu@google.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#659169}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eb4075ddf9e0079d519fdc7b59cfe3e16e667f5f
diff --git a/errorprone_plugin/BUILD.gn b/errorprone_plugin/BUILD.gn
index e61b0c4..2df1476 100644
--- a/errorprone_plugin/BUILD.gn
+++ b/errorprone_plugin/BUILD.gn
@@ -19,8 +19,8 @@
   enable_errorprone = false
   enable_bytecode_rewriter = false
 
-  # So that we don't need to inject emma runtime into the compiler's classpath.
-  emma_never_instrument = true
+  # So that we don't need to inject jacoco runtime into the compiler's classpath.
+  jacoco_never_instrument = true
 
   annotation_processor_deps = [ "//third_party/auto:auto_service_processor" ]
   deps = [