| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in | 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in |
| 7 the src/testing/buildbot directory. Maintaining these files by hand is | 7 the src/testing/buildbot directory. Maintaining these files by hand is |
| 8 too unwieldy. | 8 too unwieldy. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 2112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2123 if 'test' in result: | 2123 if 'test' in result: |
| 2124 result['override_isolate_target'] = result['test'] | 2124 result['override_isolate_target'] = result['test'] |
| 2125 else: | 2125 else: |
| 2126 result['override_isolate_target'] = result['name'] | 2126 result['override_isolate_target'] = result['name'] |
| 2127 # Integrate with the unified logcat system. | 2127 # Integrate with the unified logcat system. |
| 2128 result['swarming'].update({ | 2128 result['swarming'].update({ |
| 2129 'cipd_packages': [ | 2129 'cipd_packages': [ |
| 2130 { | 2130 { |
| 2131 'cipd_package': 'infra/tools/luci/logdog/butler/${platform}', | 2131 'cipd_package': 'infra/tools/luci/logdog/butler/${platform}', |
| 2132 'location': 'bin', | 2132 'location': 'bin', |
| 2133 'revision': 'git_revision:25755a2c316937ee44a6432163dc5e2f9c85cf58' | 2133 'revision': 'git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c' |
| 2134 } | 2134 } |
| 2135 ], | 2135 ], |
| 2136 'output_links': [ | 2136 'output_links': [ |
| 2137 { | 2137 { |
| 2138 'link': [ | 2138 'link': [ |
| 2139 'https://luci-logdog.appspot.com/v/?s', | 2139 'https://luci-logdog.appspot.com/v/?s', |
| 2140 '=android%2Fswarming%2Flogcats%2F', | 2140 '=android%2Fswarming%2Flogcats%2F', |
| 2141 '${TASK_ID}%2F%2B%2Funified_logcats' | 2141 '${TASK_ID}%2F%2B%2Funified_logcats' |
| 2142 ], | 2142 ], |
| 2143 'name': 'shard #${SHARD_INDEX} logcats' | 2143 'name': 'shard #${SHARD_INDEX} logcats' |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2318 install_parent_links(WATERFALL) | 2318 install_parent_links(WATERFALL) |
| 2319 install_parent_links(V8_FYI_WATERFALL) | 2319 install_parent_links(V8_FYI_WATERFALL) |
| 2320 | 2320 |
| 2321 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') | 2321 generate_all_tests(FYI_WATERFALL, 'chromium.gpu.fyi.json') |
| 2322 generate_all_tests(WATERFALL, 'chromium.gpu.json') | 2322 generate_all_tests(WATERFALL, 'chromium.gpu.json') |
| 2323 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') | 2323 generate_all_tests(V8_FYI_WATERFALL, 'client.v8.fyi.json') |
| 2324 return 0 | 2324 return 0 |
| 2325 | 2325 |
| 2326 if __name__ == "__main__": | 2326 if __name__ == "__main__": |
| 2327 sys.exit(main()) | 2327 sys.exit(main()) |
| OLD | NEW |