| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 from infra.libs.infra_types import freeze | 5 from infra.libs.infra_types import freeze |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'bot_update', | 8 'bot_update', |
| 9 'chromium', | 9 'chromium', |
| 10 'chromium_android', | 10 'chromium_android', |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 master_dict, | 460 master_dict, |
| 461 test_spec, | 461 test_spec, |
| 462 override_bot_type='builder_tester', | 462 override_bot_type='builder_tester', |
| 463 override_tests=tests) | 463 override_tests=tests) |
| 464 | 464 |
| 465 requires_compile, matching_exes, compile_targets = \ | 465 requires_compile, matching_exes, compile_targets = \ |
| 466 api.chromium_tests.analyze( | 466 api.chromium_tests.analyze( |
| 467 affected_files, | 467 affected_files, |
| 468 all_compile_targets(api, tests + tests_including_triggered), | 468 all_compile_targets(api, tests + tests_including_triggered), |
| 469 compile_targets, | 469 compile_targets, |
| 470 'trybot_analyze_config.json') | 470 'trybot_analyze_config.json', |
| 471 legacy_postprocess=False) |
| 471 | 472 |
| 472 if not requires_compile: | 473 if not requires_compile: |
| 473 return | 474 return |
| 474 | 475 |
| 475 tests = tests_in_compile_targets(api, matching_exes, tests) | 476 tests = tests_in_compile_targets(api, matching_exes, tests) |
| 476 tests_including_triggered = tests_in_compile_targets( | 477 tests_including_triggered = tests_in_compile_targets( |
| 477 api, matching_exes, tests_including_triggered) | 478 api, matching_exes, tests_including_triggered) |
| 478 | 479 |
| 479 api.chromium_tests.compile_specific_targets( | 480 api.chromium_tests.compile_specific_targets( |
| 480 bot_config['mastername'], | 481 bot_config['mastername'], |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 | 1030 |
| 1030 yield ( | 1031 yield ( |
| 1031 api.test('swarming_paths') + | 1032 api.test('swarming_paths') + |
| 1032 api.properties.tryserver( | 1033 api.properties.tryserver( |
| 1033 mastername='tryserver.chromium.linux', | 1034 mastername='tryserver.chromium.linux', |
| 1034 buildername='linux_chromium_rel_ng', | 1035 buildername='linux_chromium_rel_ng', |
| 1035 path_config='swarming', | 1036 path_config='swarming', |
| 1036 ) + | 1037 ) + |
| 1037 api.platform.name('linux') | 1038 api.platform.name('linux') |
| 1038 ) | 1039 ) |
| OLD | NEW |