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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 56 '<(DEPTH)/tools/isolate_driver.py', | 56 '<(DEPTH)/tools/isolate_driver.py', |
| 57 '<(test_isolation_mode)', | 57 '<(test_isolation_mode)', |
| 58 '--isolated', '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 58 '--isolated', '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
| 59 '--isolate', '<(RULE_INPUT_PATH)', | 59 '--isolate', '<(RULE_INPUT_PATH)', |
| 60 | 60 |
| 61 # Variables should use the -V FOO=<(FOO) form so frequent values, | 61 # Variables should use the -V FOO=<(FOO) form so frequent values, |
| 62 # like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help' for | 62 # like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help' for |
| 63 # more details. | 63 # more details. |
| 64 # | 64 # |
| 65 # This list needs to be kept in sync with the cmd line options | 65 # This list needs to be kept in sync with the cmd line options |
| 66 # in src/build/android/pylib/gtest/setup.py. | 66 # in src/build/android/pylib/gtest/setup.py. |
|
M-A Ruel
2015/04/07 22:38:44
The script was renamed a while ago and this commen
Nico
2015/04/07 22:49:24
Done.
| |
| 67 | 67 |
| 68 # Path variables are used to replace file paths when loading a .isolate | 68 # Path variables are used to replace file paths when loading a .isolate |
| 69 # file | 69 # file |
| 70 '--path-variable', 'DEPTH', '<(DEPTH)', | 70 '--path-variable', 'DEPTH', '<(DEPTH)', |
| 71 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ', | 71 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ', |
| 72 | 72 |
| 73 # Extra variables are replaced on the 'command' entry and on paths in | 73 # Extra variables are replaced on the 'command' entry and on paths in |
| 74 # the .isolate file but are not considered relative paths. | 74 # the .isolate file but are not considered relative paths. |
| 75 '--extra-variable', 'version_full=<(version_full)', | 75 '--extra-variable', 'version_full=<(version_full)', |
| 76 | 76 |
| 77 # Note: This list must match DefaultConfigVariables() | |
| 78 # in build/android/pylib/utils/isolator.py | |
| 77 '--config-variable', 'CONFIGURATION_NAME=<(CONFIGURATION_NAME)', | 79 '--config-variable', 'CONFIGURATION_NAME=<(CONFIGURATION_NAME)', |
| 78 '--config-variable', 'OS=<(OS)', | 80 '--config-variable', 'OS=<(OS)', |
| 79 '--config-variable', 'asan=<(asan)', | 81 '--config-variable', 'asan=<(asan)', |
| 80 '--config-variable', 'chromeos=<(chromeos)', | 82 '--config-variable', 'chromeos=<(chromeos)', |
| 81 '--config-variable', 'component=<(component)', | 83 '--config-variable', 'component=<(component)', |
| 82 '--config-variable', 'disable_nacl=<(disable_nacl)', | 84 '--config-variable', 'disable_nacl=<(disable_nacl)', |
| 83 '--config-variable', 'enable_plugins=<(enable_plugins)', | 85 '--config-variable', 'enable_plugins=<(enable_plugins)', |
| 84 '--config-variable', 'fastbuild=<(fastbuild)', | 86 '--config-variable', 'fastbuild=<(fastbuild)', |
| 85 '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)', | 87 '--config-variable', 'icu_use_data_file_flag=<(icu_use_data_file_flag)', |
| 86 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run | 88 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 119 ], | 121 ], |
| 120 }, { | 122 }, { |
| 121 'outputs': [ | 123 'outputs': [ |
| 122 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', | 124 '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', |
| 123 ], | 125 ], |
| 124 }], | 126 }], |
| 125 ], | 127 ], |
| 126 }, | 128 }, |
| 127 ], | 129 ], |
| 128 } | 130 } |
| OLD | NEW |