diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 02:10:16 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-26 02:10:16 +0000 |
commit | ae99807ee9ea508fc9fd3af01c8d52baf2e2c206 (patch) | |
tree | a3f299c74384be7951407d89d654535f73285d4e /chrome/chrome_tests.gypi | |
parent | 1472dfd10f36e62dd1fc0b0f91c8c3dec450e3a5 (diff) | |
download | chromium_src-ae99807ee9ea508fc9fd3af01c8d52baf2e2c206.zip chromium_src-ae99807ee9ea508fc9fd3af01c8d52baf2e2c206.tar.gz chromium_src-ae99807ee9ea508fc9fd3af01c8d52baf2e2c206.tar.bz2 |
Third time's the charm.
BUG=none
TEST=jrg doens't punch me in the face.
Review URL: http://codereview.chromium.org/2241002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r-- | chrome/chrome_tests.gypi | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index 6244591..1547c41 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -2353,8 +2353,11 @@ '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, @@ -2419,11 +2422,17 @@ '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, |