OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
6 # to "build" .isolate files into a .isolated file. | 6 # to "build" .isolate files into a .isolated file. |
7 # | 7 # |
8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
9 # 'conditions': [ | 9 # 'conditions': [ |
10 # ['test_isolation_mode != "noop"', { | 10 # ['test_isolation_mode != "noop"', { |
(...skipping 29 matching lines...) Expand all Loading... |
40 'rule_name': 'isolate', | 40 'rule_name': 'isolate', |
41 'extension': 'isolate', | 41 'extension': 'isolate', |
42 'inputs': [ | 42 'inputs': [ |
43 '<@(isolate_dependency_tracked)', | 43 '<@(isolate_dependency_tracked)', |
44 '<(RULE_INPUT_PATH)', | 44 '<(RULE_INPUT_PATH)', |
45 ], | 45 ], |
46 'outputs': [ | 46 'outputs': [ |
47 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 47 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
48 ], | 48 ], |
49 'action': [ | 49 'action': [ |
| 50 'python', |
50 '<(DEPTH)/tools/swarm_client/isolate.py', | 51 '<(DEPTH)/tools/swarm_client/isolate.py', |
51 '<(test_isolation_mode)', | 52 '<(test_isolation_mode)', |
52 '--outdir', '<(test_isolation_outdir)', | 53 '--outdir', '<(test_isolation_outdir)', |
53 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', | 54 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', |
54 '--variable', 'OS', '<(OS)', | 55 '--variable', 'OS', '<(OS)', |
55 '--result', '<@(_outputs)', | 56 '--result', '<@(_outputs)', |
56 '--isolate', '<(RULE_INPUT_PATH)', | 57 '--isolate', '<(RULE_INPUT_PATH)', |
57 ], | 58 ], |
58 'msvs_cygwin_shell': 0, | 59 'msvs_cygwin_shell': 0, |
59 }, | 60 }, |
60 ], | 61 ], |
61 } | 62 } |
OLD | NEW |