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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 ['OS=="mac"', { | 102 ['OS=="mac"', { |
103 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) | 103 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) |
104 # form. | 104 # form. |
105 'action': [ | 105 'action': [ |
106 '--extra-variable', 'mac_product_name', '<(mac_product_name)', | 106 '--extra-variable', 'mac_product_name', '<(mac_product_name)', |
107 ], | 107 ], |
108 }], | 108 }], |
109 ["test_isolation_outdir!=''", { | 109 ["test_isolation_outdir!=''", { |
110 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], | 110 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], |
111 }], | 111 }], |
| 112 ['test_isolation_fail_on_missing == 0', { |
| 113 'action': ['--ignore_broken_items'], |
| 114 }], |
112 ["test_isolation_mode == 'prepare'", { | 115 ["test_isolation_mode == 'prepare'", { |
113 'outputs': [ | 116 'outputs': [ |
114 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', | 117 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', |
115 ], | 118 ], |
116 }, { | 119 }, { |
117 'outputs': [ | 120 'outputs': [ |
118 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 121 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
119 ], | 122 ], |
120 }], | 123 }], |
121 ], | 124 ], |
122 }, | 125 }, |
123 ], | 126 ], |
124 } | 127 } |
OLD | NEW |