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

Unified Diff: build/android/test_runner.gypi

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 | « build/android/gyp/create_test_runner_script.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.gypi
diff --git a/build/android/test_runner.gypi b/build/android/test_runner.gypi
index f5718882830504117ced3b8743ad35d907222d17..203c7b516c923551a7ce1106ef90ed42a4219121 100644
--- a/build/android/test_runner.gypi
+++ b/build/android/test_runner.gypi
@@ -46,6 +46,13 @@
'--test-apk', '>(final_apk_path)',
],
'script_name': 'run_<(_target_name)',
+ 'conditions': [
+ ['emma_instrument != 0', {
+ 'test_runner_args': [
+ '--coverage-dir', '<(PRODUCT_DIR)/coverage',
+ ],
+ }],
+ ],
}],
['isolate_file != ""', {
'test_runner_args': ['--isolate-file-path', '<(isolate_file)']
« no previous file with comments | « build/android/gyp/create_test_runner_script.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698