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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 76 # Variables should use the -V FOO=<(FOO) form so frequent values, | 76 # Variables should use the -V FOO=<(FOO) form so frequent values, |
| 77 # like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help' for | 77 # like '0' or '1', aren't stripped out by GYP. Run 'isolate.py help' for |
| 78 # more details. | 78 # more details. |
| 79 # | 79 # |
| 80 # This list needs to be kept in sync with the cmd line options | 80 # This list needs to be kept in sync with the cmd line options |
| 81 # in src/build/android/pylib/gtest/setup.py. | 81 # in src/build/android/pylib/gtest/setup.py. |
| 82 | 82 |
| 83 # Path variables are used to replace file paths when loading a .isolate | 83 # Path variables are used to replace file paths when loading a .isolate |
| 84 # file | 84 # file |
| 85 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ', | 85 '--path-variable', 'PRODUCT_DIR', '<(PRODUCT_DIR) ', |
| 86 '--path-variable', 'DEPTH', '<(DEPTH)', | |
|
M-A Ruel
2014/06/11 18:21:23
same
kjellander_chromium
2014/06/11 18:33:30
Done.
| |
| 86 | 87 |
| 87 # Extra variables are replaced on the 'command' entry and on paths in | 88 # Extra variables are replaced on the 'command' entry and on paths in |
| 88 # the .isolate file but are not considered relative paths. | 89 # the .isolate file but are not considered relative paths. |
| 89 '--extra-variable', 'version_full=<(version_full)', | 90 '--extra-variable', 'version_full=<(version_full)', |
| 90 | 91 |
| 91 '--config-variable', 'OS=<(OS)', | 92 '--config-variable', 'OS=<(OS)', |
| 92 '--config-variable', 'chromeos=<(chromeos)', | 93 '--config-variable', 'chromeos=<(chromeos)', |
| 93 '--config-variable', 'component=<(component)', | 94 '--config-variable', 'component=<(component)', |
| 94 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run | 95 # TODO(kbr): move this to chrome_tests.gypi:gles2_conform_tests_run |
| 95 # once support for user-defined config variables is added. | 96 # once support for user-defined config variables is added. |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 111 ["test_isolation_outdir!=''", { | 112 ["test_isolation_outdir!=''", { |
| 112 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], | 113 'action': [ '--isolate-server', '<(test_isolation_outdir)' ], |
| 113 }], | 114 }], |
| 114 ['test_isolation_fail_on_missing == 0', { | 115 ['test_isolation_fail_on_missing == 0', { |
| 115 'action': ['--ignore_broken_items'], | 116 'action': ['--ignore_broken_items'], |
| 116 }], | 117 }], |
| 117 ], | 118 ], |
| 118 }, | 119 }, |
| 119 ], | 120 ], |
| 120 } | 121 } |
| OLD | NEW |