summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi21
1 files changed, 7 insertions, 14 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 5b4b975..6244591 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -2353,11 +2353,8 @@
'action_name': 'coverage',
# Wish gyp had some basic builtin commands (e.g. 'touch').
'action': [ 'python', '-c',
- 'import os; ' +
- 'open(' +
- '\'<(PRODUCT_DIR)\' + os.path.sep + ' +
- '\'coverage-build-and-run.stamp\'' +
- ', \'w\').close()' ],
+ "import os; open('<(PRODUCT_DIR)' + os.path.sep + " \
+ "'coverage-build-and-run.stamp', 'w').close()" ],
# Use outputs of this action as inputs for the main target build.
# Seems as a misnomer but makes this happy on Linux (scons).
'process_outputs_as_sources': 1,
@@ -2422,15 +2419,11 @@
'inputs': [ '../tools/code_coverage/coverage_posix.py' ],
'outputs': [ '<(PRODUCT_DIR)/coverage_bundles.py' ],
'action_name': 'coverage_build',
- 'action': [ 'python', '-c',
- 'import os; '
- 'f = open(' +
- '\'<(PRODUCT_DIR)\' + os.path.sep + ' +
- '\'coverage_bundles.py\'' +
- ', \'w\'); ' +
- 'deplist = \'' + '<@(_dependencies)' + '\'.split(\' \'); ' +
- 'f.write(str(deplist)); ' +
- 'f.close()'],
+ 'action': [ 'python', '-c',
+ "import os; " \
+ "f = open('<(PRODUCT_DIR)' + os.path.sep + 'coverage_bundles.py', 'w'); " \
+ "deplist = '' + '<@(_dependencies)'.split(' '); " \
+ "f.write(str(deplist)); f.close()" ],
# Use outputs of this action as inputs for the main target build.
# Seems as a misnomer but makes this happy on Linux (scons).
'process_outputs_as_sources': 1,