Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Unified Diff: build/config/android/internal_rules.gni

Issue 1913593002: Enable emma code coverage for JUnit testcases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed from root_out_dir to root_build_dir Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/gyp/create_java_binary_script.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index a11f4a04239c353b7a930115bf92955a19bbcfc7..d0584bd7b50ace14516a73e5f9761217cfa3ee1b 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -240,6 +240,15 @@ template("java_binary_script") {
"--main-class",
_main_class,
]
+ if (emma_coverage) {
+ args += [
+ "--classpath",
+ rebase_path(
+ "//third_party/android_tools_internal/sdk/tools/lib/emma.jar",
+ root_build_dir),
+ ]
+ args += [ "--noverify" ]
+ }
if (defined(invoker.wrapper_script_args)) {
args += [ "--" ] + invoker.wrapper_script_args
}
« no previous file with comments | « build/android/gyp/create_java_binary_script.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698