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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 63 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
64 ], | 64 ], |
65 'action': [ | 65 'action': [ |
66 'python', | 66 'python', |
67 '<(DEPTH)/tools/swarming_client/isolate.py', | 67 '<(DEPTH)/tools/swarming_client/isolate.py', |
68 '<(test_isolation_mode)', | 68 '<(test_isolation_mode)', |
69 # Variables should use the -V FOO=<(FOO) form so frequent values, | 69 # Variables should use the -V FOO=<(FOO) form so frequent values, |
70 # like '0' or '1', aren't stripped out by GYP. | 70 # like '0' or '1', aren't stripped out by GYP. |
71 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ', | 71 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ', |
72 '--config-variable', 'OS=<(OS)', | 72 '--config-variable', 'OS=<(OS)', |
| 73 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run |
| 74 # once support for user-defined config variables is added. |
| 75 '--config-variable', |
| 76 'internal_gles2_conform_tests=<(internal_gles2_conform_tests)', |
73 '--result', '<@(_outputs)', | 77 '--result', '<@(_outputs)', |
74 '--isolate', '<(RULE_INPUT_PATH)', | 78 '--isolate', '<(RULE_INPUT_PATH)', |
75 ], | 79 ], |
76 'conditions': [ | 80 'conditions': [ |
77 # Note: When gyp merges lists, it appends them to the old value. | 81 # Note: When gyp merges lists, it appends them to the old value. |
78 ['OS=="mac"', { | 82 ['OS=="mac"', { |
79 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) | 83 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) |
80 # form. | 84 # form. |
81 'action': [ | 85 'action': [ |
82 '--extra-variable', 'mac_product_name', '<(mac_product_name)', | 86 '--extra-variable', 'mac_product_name', '<(mac_product_name)', |
(...skipping 13 matching lines...) Expand all Loading... |
96 ['test_isolation_fail_on_missing == 0', { | 100 ['test_isolation_fail_on_missing == 0', { |
97 'action': ['--ignore_broken_items'], | 101 'action': ['--ignore_broken_items'], |
98 }, | 102 }, |
99 ], | 103 ], |
100 ], | 104 ], |
101 | 105 |
102 'msvs_cygwin_shell': 0, | 106 'msvs_cygwin_shell': 0, |
103 }, | 107 }, |
104 ], | 108 ], |
105 } | 109 } |
OLD | NEW |