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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 }], | 112 }], |
113 ["test_isolation_mode == 'prepare'", { | 113 ["test_isolation_mode == 'prepare'", { |
114 'outputs': [ | 114 'outputs': [ |
115 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', | 115 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated.gen.json', |
116 ], | 116 ], |
117 }, { | 117 }, { |
118 'outputs': [ | 118 'outputs': [ |
119 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 119 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
120 ], | 120 ], |
121 }], | 121 }], |
| 122 ['OS=="win"', { |
| 123 'action': [ |
| 124 '--config-variable', 'msvs_version=<(MSVS_VERSION)', |
| 125 ], |
| 126 }, { |
| 127 'action': [ |
| 128 '--config-variable', 'msvs_version=0', |
| 129 ], |
| 130 }], |
122 ], | 131 ], |
123 }, | 132 }, |
124 ], | 133 ], |
125 } | 134 } |
OLD | NEW |