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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 '--outdir', '<(test_isolation_outdir)', | 62 '--outdir', '<(test_isolation_outdir)', |
63 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', | 63 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)', |
64 '--variable', 'OS', '<(OS)', | 64 '--variable', 'OS', '<(OS)', |
65 '--variable', 'chromeos', '<(chromeos)', | 65 '--variable', 'chromeos', '<(chromeos)', |
66 '--result', '<@(_outputs)', | 66 '--result', '<@(_outputs)', |
67 '--isolate', '<(RULE_INPUT_PATH)', | 67 '--isolate', '<(RULE_INPUT_PATH)', |
68 ], | 68 ], |
69 'conditions': [ | 69 'conditions': [ |
70 ["test_isolation_outdir!=''", { | 70 ["test_isolation_outdir!=''", { |
71 'action': [ | 71 'action': [ |
72 '--outdir', '<(PRODUCT_DIR)/<(test_isolation_outdir)', | 72 '--outdir', '<(test_isolation_outdir)', |
csharp
2013/03/13 19:16:58
Add back and change if to be == instead of !=
| |
73 ], | 73 ], |
74 }], | 74 }], |
75 ['test_isolation_fail_on_missing == 0', { | 75 ['test_isolation_fail_on_missing == 0', { |
76 'action': ['--ignore_broken_items'] | 76 'action': ['--ignore_broken_items'] |
77 }, | 77 }, |
78 ], | 78 ], |
79 ], | 79 ], |
80 'msvs_cygwin_shell': 0, | 80 'msvs_cygwin_shell': 0, |
81 }, | 81 }, |
82 ], | 82 ], |
83 } | 83 } |
OLD | NEW |