Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: masters/master.tryserver.nacl/master.cfg

Issue 1181213003: Pass 'src' explicitly to non-nacl (naclports builds). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: fix Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 3
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 # READ THIS: 8 # READ THIS:
9 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure 9 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure
10 10
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 626
627 b_naclports_presubmit = { 627 b_naclports_presubmit = {
628 'name': 'naclports-presubmit', 628 'name': 'naclports-presubmit',
629 'slavebuilddir': 'naclports', 629 'slavebuilddir': 'naclports',
630 'factory': 630 'factory':
631 m_annotator.BaseFactory('run_presubmit', {'repo_name': 'naclports'}), 631 m_annotator.BaseFactory('run_presubmit', {'repo_name': 'naclports'}),
632 'slavenames': GetSlaveNames(['precise64']) 632 'slavenames': GetSlaveNames(['precise64'])
633 } 633 }
634 c['builders'].append(b_naclports_presubmit) 634 c['builders'].append(b_naclports_presubmit)
635 635
636 b_gyp_presubmit = { 636 # Set "root" build property to "native_client" in all nacl-* builders,
637 'name': 'gyp-presubmit', 637 # set it to "src" on all others.
638 'slavebuilddir': 'gyp',
639 'factory':
640 m_annotator.BaseFactory('run_presubmit', {'repo_name': 'gyp'}),
641 'slavenames': GetSlaveNames(['precise64'])
642 }
643 c['builders'].append(b_gyp_presubmit)
644
645 # Set "root" build property to "native_client" in all nacl-* builders.
646 for b in c['builders']: 638 for b in c['builders']:
647 if b['name'].startswith('nacl-'): 639 if b['name'].startswith('nacl-'):
648 b.setdefault('properties', {})['root'] = 'native_client' 640 b.setdefault('properties', {})['root'] = 'native_client'
641 else:
642 b.setdefault('properties', {})['root'] = 'src'
649 643
650 ####### BUILDSLAVES 644 ####### BUILDSLAVES
651 645
652 # The 'slaves' list defines the set of allowable buildslaves. List all the 646 # The 'slaves' list defines the set of allowable buildslaves. List all the
653 # slaves registered to a builder. Remove dupes. 647 # slaves registered to a builder. Remove dupes.
654 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], 648 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
655 config.Master.GetBotPassword()) 649 config.Master.GetBotPassword())
656 650
657 651
658 ####### SCHEDULERS 652 ####### SCHEDULERS
659 653
660 # Configure the Schedulers; 654 # Configure the Schedulers;
661 # Main Tryscheduler for the try queue. groups is defined in the loop above. 655 # Main Tryscheduler for the try queue. groups is defined in the loop above.
662 c['schedulers'] = [] 656 c['schedulers'] = []
663 657
664 code_review_sites = { 658 code_review_sites = {
665 'nacl': ActiveMaster.code_review_site, 659 'nacl': ActiveMaster.code_review_site,
666 'nacl-toolchain': ActiveMaster.code_review_site, 660 'nacl-toolchain': ActiveMaster.code_review_site,
667 'gyp': ActiveMaster.code_review_site,
668 'naclports': ActiveMaster.code_review_site, 661 'naclports': ActiveMaster.code_review_site,
669 } 662 }
670 c['schedulers'].append(TryJobHTTP( 663 c['schedulers'].append(TryJobHTTP(
671 name='try_job_http', 664 name='try_job_http',
672 port=ActiveMaster.try_job_port, 665 port=ActiveMaster.try_job_port,
673 code_review_sites=code_review_sites, 666 code_review_sites=code_review_sites,
674 pools=pools)) 667 pools=pools))
675 668
676 if ActiveMaster.svn_url: 669 if ActiveMaster.svn_url:
677 c['schedulers'].append(TryJobSubversion( 670 c['schedulers'].append(TryJobSubversion(
678 name='try_job_svn', 671 name='try_job_svn',
679 svn_url=ActiveMaster.svn_url, 672 svn_url=ActiveMaster.svn_url,
680 code_review_sites=code_review_sites, 673 code_review_sites=code_review_sites,
681 pools=pools)) 674 pools=pools))
682 675
683 if LISTEN_TO_RIETVELD: 676 if LISTEN_TO_RIETVELD:
684 c['schedulers'].append(TryJobRietveld( 677 c['schedulers'].append(TryJobRietveld(
685 name='try_job_rietveld_nacl', 678 name='try_job_rietveld_nacl',
686 pools=pools, 679 pools=pools,
687 code_review_sites=code_review_sites, 680 code_review_sites=code_review_sites,
688 project='nacl', 681 project='nacl',
689 filter_master=True)) 682 filter_master=True))
690 c['schedulers'].append(TryJobRietveld( 683 c['schedulers'].append(TryJobRietveld(
691 name='try_job_rietveld_gyp',
692 pools=pools,
693 code_review_sites=code_review_sites,
694 project='gyp',
695 filter_master=True))
696 c['schedulers'].append(TryJobRietveld(
697 name='try_job_rietveld_naclports', 684 name='try_job_rietveld_naclports',
698 pools=pools, 685 pools=pools,
699 code_review_sites=code_review_sites, 686 code_review_sites=code_review_sites,
700 project='naclports', 687 project='naclports',
701 filter_master=True)) 688 filter_master=True))
702 689
703 for mode in ['opt_panda', 'perf_panda']: 690 for mode in ['opt_panda', 'perf_panda']:
704 s = Triggerable( 691 s = Triggerable(
705 name='arm_%s_hw_tests' % mode, 692 name='arm_%s_hw_tests' % mode,
706 builderNames=['nacl-arm_hw_%s' % mode]) 693 builderNames=['nacl-arm_hw_%s' % mode])
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 c['eventHorizon'] = 100 741 c['eventHorizon'] = 100
755 # Must be at least 2x the number of on-going builds. 742 # Must be at least 2x the number of on-going builds.
756 c['buildCacheSize'] = 100 743 c['buildCacheSize'] = 100
757 744
758 745
759 ####### PROJECT IDENTITY 746 ####### PROJECT IDENTITY
760 747
761 # The 'projectURL' string will be used to provide a link 748 # The 'projectURL' string will be used to provide a link
762 # from buildbot HTML pages to your project's home page. 749 # from buildbot HTML pages to your project's home page.
763 c['projectURL'] = 'http://go/ChromeTryServer' 750 c['projectURL'] = 'http://go/ChromeTryServer'
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698