OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # READ THIS: | 7 # READ THIS: |
8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
9 | 9 |
10 import socket | 10 import socket |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 'sql_unittests', | 367 'sql_unittests', |
368 'sync_integration_tests', | 368 'sync_integration_tests', |
369 'sync_unit_tests', | 369 'sync_unit_tests', |
370 'ui_unittests', | 370 'ui_unittests', |
371 'unit_tests', | 371 'unit_tests', |
372 'url_unittests', | 372 'url_unittests', |
373 'webkit_compositor_bindings_unittests', | 373 'webkit_compositor_bindings_unittests', |
374 ] + blink_tests | 374 ] + blink_tests |
375 | 375 |
376 | 376 |
377 if not ActiveMaster.is_production_host: | |
378 # When testing locally, build fewer targets so we can iterate faster. | |
379 # Comment out this line if you need to test more targets. | |
380 linux_targets = ['base_unittests_run'] | |
381 linux_tests = ['base_unittests_br', 'buildrunner_tests'] | |
382 | |
383 b_linux = CreateBuilder( | 377 b_linux = CreateBuilder( |
384 platform='linux', | 378 platform='linux', |
385 target='Debug', | 379 target='Debug', |
386 goma=True, | 380 goma=True, |
387 options=linux_targets, | 381 options=linux_targets, |
388 tests=linux_tests, | 382 tests=linux_tests, |
389 builder_name='linux') | 383 builder_name='linux') |
390 | 384 |
391 b_linux_futura = CreateBuilder( | 385 b_linux_futura = CreateBuilder( |
392 platform='linux', | 386 platform='linux', |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 'sync_integration_br', | 549 'sync_integration_br', |
556 'telemetry_unittests_br', | 550 'telemetry_unittests_br', |
557 'unit_br', | 551 'unit_br', |
558 'webkit_compositor_bindings_unittests_br', | 552 'webkit_compositor_bindings_unittests_br', |
559 'webkit_lint_br', | 553 'webkit_lint_br', |
560 'webkit_unit_br', | 554 'webkit_unit_br', |
561 'weborigin_unittests_br', | 555 'weborigin_unittests_br', |
562 'wtf_unittests_br', | 556 'wtf_unittests_br', |
563 ] | 557 ] |
564 | 558 |
565 if not ActiveMaster.is_production_host: | |
566 # When testing locally, build fewer targets so we can iterate faster. | |
567 # Comment out this line if you need to test more targets. | |
568 mac_targets = ['base_unittests_run'] | |
569 mac_tests = ['base_unittests_br', 'buildrunner_tests'] | |
570 | |
571 b_mac = CreateBuilder( | 559 b_mac = CreateBuilder( |
572 platform='mac', | 560 platform='mac', |
573 target='Debug', | 561 target='Debug', |
574 options=mac_targets, | 562 options=mac_targets, |
575 tests=mac_tests, | 563 tests=mac_tests, |
576 builder_name='mac', | 564 builder_name='mac', |
577 goma=True, | 565 goma=True, |
578 clang=True) | 566 clang=True) |
579 | 567 |
580 pools['chrome'].append('mac') | 568 pools['chrome'].append('mac') |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 'sync_integration_br', | 636 'sync_integration_br', |
649 'telemetry_unittests_br', | 637 'telemetry_unittests_br', |
650 'unit_br', | 638 'unit_br', |
651 'webkit_compositor_bindings_unittests_br', | 639 'webkit_compositor_bindings_unittests_br', |
652 'webkit_lint_br', | 640 'webkit_lint_br', |
653 'webkit_unit_br', | 641 'webkit_unit_br', |
654 'weborigin_unittests_br', | 642 'weborigin_unittests_br', |
655 'wtf_unittests_br', | 643 'wtf_unittests_br', |
656 ] | 644 ] |
657 | 645 |
658 if not ActiveMaster.is_production_host: | |
659 # When testing locally, build fewer targets so we can iterate faster. | |
660 # Comment out this line if you need to test more targets. | |
661 win_targets = ['base_unittests_run'] | |
662 win_tests = ['base_unittests_br', 'buildrunner_tests'] | |
663 | |
664 b_win = CreateBuilder( | 646 b_win = CreateBuilder( |
665 target='Debug', | 647 target='Debug', |
666 platform='win32', | 648 platform='win32', |
667 options=win_targets, | 649 options=win_targets, |
668 tests=win_tests, | 650 tests=win_tests, |
669 builder_name='win', | 651 builder_name='win', |
670 factory_properties={ | 652 factory_properties={ |
671 'gclient_env': { | 653 'gclient_env': { |
672 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', | 654 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', |
673 }, | 655 }, |
(...skipping 1501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2175 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 2157 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
2176 | 2158 |
2177 # Buildbot master url: | 2159 # Buildbot master url: |
2178 if ActiveMaster.is_production_host: | 2160 if ActiveMaster.is_production_host: |
2179 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' | 2161 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' |
2180 else: | 2162 else: |
2181 c['buildbotURL'] = 'http://%s:%d/' % ( | 2163 c['buildbotURL'] = 'http://%s:%d/' % ( |
2182 socket.getfqdn(), ActiveMaster.master_port) | 2164 socket.getfqdn(), ActiveMaster.master_port) |
2183 | 2165 |
2184 # vi: set ts=4 sts=2 sw=2 et: | 2166 # vi: set ts=4 sts=2 sw=2 et: |
OLD | NEW |