Chromium Code Reviews| Index: net/net.gyp |
| diff --git a/net/net.gyp b/net/net.gyp |
| index f4ab7b571e1defbb1a89ae77c840aadfc9e9fbaf..b0b3ff432880c416286777d97124ae0181990aae 100644 |
| --- a/net/net.gyp |
| +++ b/net/net.gyp |
| @@ -1356,63 +1356,26 @@ |
| 'dependencies': [ |
| 'net_unittests', |
| ], |
| + 'includes': [ |
| + 'net_unittests.isolate', |
| + ], |
| 'actions': [ |
| { |
| - 'action_name': 'response_file', |
| - 'inputs': [ |
| - '<(PRODUCT_DIR)/net_unittests<(EXECUTABLE_SUFFIX)', |
| - '<(DEPTH)/testing/test_env.py', |
| - '<(DEPTH)/testing/xvfb.py', |
| - '<(DEPTH)/third_party/pyftpdlib/src/pyftpdlib/__init__.py', |
| - '<(DEPTH)/third_party/pyftpdlib/src/pyftpdlib/ftpserver.py', |
| - ], |
| - 'conditions': [ |
| - ['OS=="linux"', { |
| - 'inputs': [ |
| - '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
| - ], |
| - }], |
| - ], |
| - 'outputs': [ |
| - '<(PRODUCT_DIR)/net_unittests.inputs', |
| - ], |
| - 'action': [ |
| - 'python', |
| - '-c', |
| - 'import sys; ' |
| - 'open(sys.argv[1], \'w\').write(\'\\n\'.join(sys.argv[2:]))', |
| - '<@(_outputs)', |
| - '<@(_inputs)', |
| - ], |
| - }, |
| - { |
| 'action_name': 'isolate', |
| 'inputs': [ |
| - '<(PRODUCT_DIR)/net_unittests.inputs', |
| + '<@(isolate_dependency_tracked)', |
|
Ryan Sleevi
2012/04/11 18:37:04
In terms of the purest of pedantry, it might be go
M-A Ruel
2012/04/11 18:41:44
Technically, if you edit the file, you need to re-
|
| ], |
| 'outputs': [ |
| '<(PRODUCT_DIR)/net_unittests.results', |
| ], |
| 'action': [ |
| 'python', |
| - '<(DEPTH)/tools/isolate/isolate.py', |
| - '--mode=<(tests_run)', |
| - '--root', '<(DEPTH)', |
| + '../tools/isolate/isolate.py', |
| + '--mode', '<(tests_run)', |
| + '--variable', 'PRODUCT_DIR=<(PRODUCT_DIR)', |
| + '--variable', 'OS=<(OS)', |
| '--result', '<@(_outputs)', |
| - '--files', '<@(_inputs)', |
| - # Directories can't be tracked by build tools (make, msbuild, xcode, |
| - # etc) so we just put it on the command line without specifying it |
| - # as an input. |
| - # TODO(maruel): Revisit the support for this at all and list each |
| - # individual test files instead. |
| - 'data/', |
| - 'tools/testserver/', |
| - '<(DEPTH)/third_party/tlslite/tlslite/', |
| - '--', |
| - # Wraps net_unittests under xvfb. |
| - '<(DEPTH)/testing/xvfb.py', |
| - '<(PRODUCT_DIR)', |
| - '<(PRODUCT_DIR)/net_unittests<(EXECUTABLE_SUFFIX)', |
| + 'net_unittests.isolate', |
| ], |
| }, |
| ], |