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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # This library should build cleanly with the extra warnings turned on | 7 # This library should build cleanly with the extra warnings turned on |
8 # for Chromium. | 8 # for Chromium. |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 # The relative path of the cacheinvalidation proto files from 'src'. | 10 # The relative path of the cacheinvalidation proto files from 'src'. |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 'conditions': [ | 150 'conditions': [ |
151 ['test_isolation_mode != "noop"', { | 151 ['test_isolation_mode != "noop"', { |
152 'targets': [ | 152 'targets': [ |
153 { | 153 { |
154 'target_name': 'cacheinvalidation_unittests_run', | 154 'target_name': 'cacheinvalidation_unittests_run', |
155 'type': 'none', | 155 'type': 'none', |
156 'dependencies': [ | 156 'dependencies': [ |
157 'cacheinvalidation_unittests', | 157 'cacheinvalidation_unittests', |
158 ], | 158 ], |
159 'includes': [ | 159 'includes': [ |
| 160 '../../build/isolate.gypi', |
160 'cacheinvalidation_unittests.isolate', | 161 'cacheinvalidation_unittests.isolate', |
161 ], | 162 ], |
162 'actions': [ | 163 'sources': [ |
163 { | 164 'cacheinvalidation_unittests.isolate', |
164 'action_name': 'isolate', | |
165 'inputs': [ | |
166 'cacheinvalidation_unittests.isolate', | |
167 '<@(isolate_dependency_tracked)', | |
168 ], | |
169 'outputs': [ | |
170 '<(PRODUCT_DIR)/cacheinvalidation_unittests.isolated', | |
171 ], | |
172 'action': [ | |
173 'python', | |
174 '../../tools/swarm_client/isolate.py', | |
175 '<(test_isolation_mode)', | |
176 '--outdir', '<(test_isolation_outdir)', | |
177 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', | |
178 '--variable', 'OS', '<(OS)', | |
179 '--result', '<@(_outputs)', | |
180 '--isolate', 'cacheinvalidation_unittests.isolate', | |
181 ], | |
182 }, | |
183 ], | 165 ], |
184 }, | 166 }, |
185 ], | 167 ], |
186 }], | 168 }], |
187 ], | 169 ], |
188 } | 170 } |
OLD | NEW |