| 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 }], | |
| 115 ["test_isolation_mode == 'prepare'", { | 112 ["test_isolation_mode == 'prepare'", { |
| 116 'outputs': [ | 113 'outputs': [ |
| 117 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', | 114 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', |
| 118 ], | 115 ], |
| 119 }, { | 116 }, { |
| 120 'outputs': [ | 117 'outputs': [ |
| 121 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 118 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
| 122 ], | 119 ], |
| 123 }], | 120 }], |
| 124 ], | 121 ], |
| 125 }, | 122 }, |
| 126 ], | 123 ], |
| 127 } | 124 } |
| OLD | NEW |