Chromium Code Reviews| 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 '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)', | |
|
jungshik at Google
2014/01/07 18:55:53
This does not seem to work :
I got the following
| |
| 73 '--result', '<@(_outputs)', | 74 '--result', '<@(_outputs)', |
| 74 '--isolate', '<(RULE_INPUT_PATH)', | 75 '--isolate', '<(RULE_INPUT_PATH)', |
| 75 ], | 76 ], |
| 76 'conditions': [ | 77 'conditions': [ |
| 77 # Note: When gyp merges lists, it appends them to the old value. | 78 # Note: When gyp merges lists, it appends them to the old value. |
| 78 ['OS=="mac"', { | 79 ['OS=="mac"', { |
| 79 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) | 80 # <(mac_product_name) can contain a space, so don't use FOO=<(FOO) |
| 80 # form. | 81 # form. |
| 81 'action': [ | 82 'action': [ |
| 82 '--extra-variable', 'mac_product_name', '<(mac_product_name)', | 83 '--extra-variable', 'mac_product_name', '<(mac_product_name)', |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 96 ['test_isolation_fail_on_missing == 0', { | 97 ['test_isolation_fail_on_missing == 0', { |
| 97 'action': ['--ignore_broken_items'], | 98 'action': ['--ignore_broken_items'], |
| 98 }, | 99 }, |
| 99 ], | 100 ], |
| 100 ], | 101 ], |
| 101 | 102 |
| 102 'msvs_cygwin_shell': 0, | 103 'msvs_cygwin_shell': 0, |
| 103 }, | 104 }, |
| 104 ], | 105 ], |
| 105 } | 106 } |
| OLD | NEW |