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 22 matching lines...) Expand all Loading... |
33 # | 33 # |
34 # The generated .isolated file will be: | 34 # The generated .isolated file will be: |
35 # <(PRODUCT_DIR)/foo_test.isolated | 35 # <(PRODUCT_DIR)/foo_test.isolated |
36 | 36 |
37 { | 37 { |
38 'rules': [ | 38 'rules': [ |
39 { | 39 { |
40 'rule_name': 'isolate', | 40 'rule_name': 'isolate', |
41 'extension': 'isolate', | 41 'extension': 'isolate', |
42 'inputs': [ | 42 'inputs': [ |
| 43 # Files that are known to be involved in this step. |
| 44 '<(DEPTH)/tools/swarm_client/isolate.py', |
| 45 '<(DEPTH)/tools/swarm_client/isolateserver_archive.py', |
| 46 '<(DEPTH)/tools/swarm_client/run_isolated.py', |
| 47 '<(DEPTH)/tools/swarm_client/run_test_cases.py', |
| 48 '<(DEPTH)/tools/swarm_client/short_expression_finder.py', |
| 49 '<(DEPTH)/tools/swarm_client/trace_inputs.py', |
| 50 |
43 # Disable file tracking by the build driver for now. This means the | 51 # Disable file tracking by the build driver for now. This means the |
44 # project must have the proper build-time dependency for their runtime | 52 # project must have the proper build-time dependency for their runtime |
45 # dependency. This improves the runtime of the build driver since it | 53 # dependency. This improves the runtime of the build driver since it |
46 # doesn't have to stat() all these files. | 54 # doesn't have to stat() all these files. |
47 # | 55 # |
48 # More importantly, it means that even if a isolate_dependency_tracked | 56 # More importantly, it means that even if a isolate_dependency_tracked |
49 # file is missing, for example if a file was deleted and the .isolate | 57 # file is missing, for example if a file was deleted and the .isolate |
50 # file was not updated, that won't break the build, especially in the | 58 # file was not updated, that won't break the build, especially in the |
51 # case where foo_tests_run is not built! This should be reenabled once | 59 # case where foo_tests_run is not built! This should be reenabled once |
52 # the switch-over to running tests on Swarm is completed. | 60 # the switch-over to running tests on Swarm is completed. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ['test_isolation_fail_on_missing == 0', { | 98 ['test_isolation_fail_on_missing == 0', { |
91 'action': ['--ignore_broken_items'], | 99 'action': ['--ignore_broken_items'], |
92 }, | 100 }, |
93 ], | 101 ], |
94 ], | 102 ], |
95 | 103 |
96 'msvs_cygwin_shell': 0, | 104 'msvs_cygwin_shell': 0, |
97 }, | 105 }, |
98 ], | 106 ], |
99 } | 107 } |
OLD | NEW |