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

Unified Diff: build/android/gyp/create_test_runner_script.py

Issue 1544803003: GN: Set --coverage-dir in bin/run_* script when emma_coverage = true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add gypi support Created 5 years 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 | « no previous file | build/android/test_runner.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/create_test_runner_script.py
diff --git a/build/android/gyp/create_test_runner_script.py b/build/android/gyp/create_test_runner_script.py
index e5e56532d4a0224ec14db769154d703b8c72d620..0ea6da1daaa6e636a87b142853d673005d490a3e 100755
--- a/build/android/gyp/create_test_runner_script.py
+++ b/build/android/gyp/create_test_runner_script.py
@@ -58,6 +58,7 @@ def main(args):
group.add_argument('--isolate-file-path')
group.add_argument('--apk-under-test')
group.add_argument('--test-apk')
+ group.add_argument('--coverage-dir')
args, test_runner_args = parser.parse_known_args(
build_utils.ExpandFileArgs(args))
@@ -82,6 +83,9 @@ def main(args):
if args.test_apk:
test_runner_path_args['--test-apk'] = RelativizePathToScript(
args.test_apk)
+ if args.coverage_dir:
+ test_runner_path_args['--coverage-dir'] = RelativizePathToScript(
+ args.coverage_dir)
with open(args.script_output_path, 'w') as script:
script.write(SCRIPT_TEMPLATE.format(
« no previous file with comments | « no previous file | build/android/test_runner.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698