diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 00:26:07 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 00:26:07 +0000 |
commit | 77df7addd627f31f606432df2beaf2a857da316f (patch) | |
tree | 7e570c905ea713e6e4d8707f65777ce7f05b02a9 /chrome/chrome_tests.gypi | |
parent | 0cb1022f2aebbb5e626c7644a06101bfda19d618 (diff) | |
download | chromium_src-77df7addd627f31f606432df2beaf2a857da316f.zip chromium_src-77df7addd627f31f606432df2beaf2a857da316f.tar.gz chromium_src-77df7addd627f31f606432df2beaf2a857da316f.tar.bz2 |
Fix some syntax errors in chrome_tests.gypi.
Re-apply http://codereview.chromium.org/2172002. It was reverted in
http://codereview.chromium.org/2222001 because I was too agressive with my ^K.
TBR=jrg
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2242001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r-- | chrome/chrome_tests.gypi | 21 |
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, |