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 21 matching lines...) Expand all Loading... |
32 # a stricter format than GYP so isolate.py can read it. | 32 # a stricter format than GYP so isolate.py can read it. |
33 # | 33 # |
34 # The generated .isolated file will be: | 34 # The generated .isolated file will be: |
35 # <(PRODUCT_DIR)/foo_test.isolated | 35 # <(PRODUCT_DIR)/foo_test.isolated |
36 # | 36 # |
37 # See http://dev.chromium.org/developers/testing/isolated-testing/for-swes | 37 # See http://dev.chromium.org/developers/testing/isolated-testing/for-swes |
38 # for more information. | 38 # for more information. |
39 | 39 |
40 { | 40 { |
41 'includes': [ | 41 'includes': [ |
42 '../chrome/version.gypi', | 42 '../build/util/version.gypi', |
43 ], | 43 ], |
44 'rules': [ | 44 'rules': [ |
45 { | 45 { |
46 'rule_name': 'isolate', | 46 'rule_name': 'isolate', |
47 'extension': 'isolate', | 47 'extension': 'isolate', |
48 'inputs': [ | 48 'inputs': [ |
49 # Files that are known to be involved in this step. | 49 # Files that are known to be involved in this step. |
50 '<(DEPTH)/tools/swarming_client/isolate.py', | 50 '<(DEPTH)/tools/swarming_client/isolate.py', |
51 '<(DEPTH)/tools/swarming_client/run_isolated.py', | 51 '<(DEPTH)/tools/swarming_client/run_isolated.py', |
52 | 52 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 ["test_isolation_outdir!=''", { | 110 ["test_isolation_outdir!=''", { |
111 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], | 111 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], |
112 }], | 112 }], |
113 ['test_isolation_fail_on_missing == 0', { | 113 ['test_isolation_fail_on_missing == 0', { |
114 'action': ['--ignore_broken_items'], | 114 'action': ['--ignore_broken_items'], |
115 }], | 115 }], |
116 ], | 116 ], |
117 }, | 117 }, |
118 ], | 118 ], |
119 } | 119 } |
OLD | NEW |