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

Side by Side Diff: PRESUBMIT.py

Issue 482433002: Switch tryjobs to use swarming version of win_chromium_x64_rel now that CQ changed as well. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 # 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 """Top-level presubmit script for Chromium. 5 """Top-level presubmit script for Chromium.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into gcl. 8 for more details about the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 'linux_chromium_clang_dbg': ['defaulttests'], 1521 'linux_chromium_clang_dbg': ['defaulttests'],
1522 'linux_gpu': ['defaulttests'], 1522 'linux_gpu': ['defaulttests'],
1523 'linux_nacl_sdk_build': ['compile'], 1523 'linux_nacl_sdk_build': ['compile'],
1524 'mac_chromium_compile_dbg': ['defaulttests'], 1524 'mac_chromium_compile_dbg': ['defaulttests'],
1525 'mac_chromium_rel_swarming': ['defaulttests'], 1525 'mac_chromium_rel_swarming': ['defaulttests'],
1526 'mac_gpu': ['defaulttests'], 1526 'mac_gpu': ['defaulttests'],
1527 'mac_nacl_sdk_build': ['compile'], 1527 'mac_nacl_sdk_build': ['compile'],
1528 'win_chromium_compile_dbg': ['defaulttests'], 1528 'win_chromium_compile_dbg': ['defaulttests'],
1529 'win_chromium_dbg': ['defaulttests'], 1529 'win_chromium_dbg': ['defaulttests'],
1530 'win_chromium_rel_swarming': ['defaulttests'], 1530 'win_chromium_rel_swarming': ['defaulttests'],
1531 'win_chromium_x64_rel': ['defaulttests'], 1531 'win_chromium_x64_rel_swarming': ['defaulttests'],
1532 'win_gpu': ['defaulttests'], 1532 'win_gpu': ['defaulttests'],
1533 'win_nacl_sdk_build': ['compile'], 1533 'win_nacl_sdk_build': ['compile'],
1534 } 1534 }
1535 1535
1536 if bots: 1536 if bots:
1537 filtered_builders_and_tests = dict((bot, set(builders_and_tests[bot])) 1537 filtered_builders_and_tests = dict((bot, set(builders_and_tests[bot]))
1538 for bot in bots) 1538 for bot in bots)
1539 else: 1539 else:
1540 filtered_builders_and_tests = dict( 1540 filtered_builders_and_tests = dict(
1541 (bot, set(tests)) 1541 (bot, set(tests))
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 'linux_chromium_chromeos_rel_swarming', 1602 'linux_chromium_chromeos_rel_swarming',
1603 'linux_chromium_clang_dbg', 1603 'linux_chromium_clang_dbg',
1604 'linux_chromium_gn_rel', 1604 'linux_chromium_gn_rel',
1605 'linux_chromium_rel_swarming', 1605 'linux_chromium_rel_swarming',
1606 'linux_gpu', 1606 'linux_gpu',
1607 'mac_chromium_compile_dbg', 1607 'mac_chromium_compile_dbg',
1608 'mac_chromium_rel_swarming', 1608 'mac_chromium_rel_swarming',
1609 'mac_gpu', 1609 'mac_gpu',
1610 'win_chromium_compile_dbg', 1610 'win_chromium_compile_dbg',
1611 'win_chromium_rel_swarming', 1611 'win_chromium_rel_swarming',
1612 'win_chromium_x64_rel', 1612 'win_chromium_x64_rel_swarming',
1613 'win_gpu', 1613 'win_gpu',
1614 ] 1614 ]
1615 1615
1616 # Match things like path/aura/file.cc and path/file_aura.cc. 1616 # Match things like path/aura/file.cc and path/file_aura.cc.
1617 # Same for chromeos. 1617 # Same for chromeos.
1618 if any(re.search('[/_](aura|chromeos)', f) for f in files): 1618 if any(re.search('[/_](aura|chromeos)', f) for f in files):
1619 builders.extend([ 1619 builders.extend([
1620 'linux_chromeos_asan', 1620 'linux_chromeos_asan',
1621 'linux_chromium_chromeos_clang_dbg' 1621 'linux_chromium_chromeos_clang_dbg'
1622 ]) 1622 ])
1623 1623
1624 # If there are gyp changes to base, build, or chromeos, run a full cros build 1624 # If there are gyp changes to base, build, or chromeos, run a full cros build
1625 # in addition to the shorter linux_chromeos build. Changes to high level gyp 1625 # in addition to the shorter linux_chromeos build. Changes to high level gyp
1626 # files have a much higher chance of breaking the cros build, which is 1626 # files have a much higher chance of breaking the cros build, which is
1627 # differnt from the linux_chromeos build that most chrome developers test 1627 # differnt from the linux_chromeos build that most chrome developers test
1628 # with. 1628 # with.
1629 if any(re.search('^(base|build|chromeos).*\.gypi?$', f) for f in files): 1629 if any(re.search('^(base|build|chromeos).*\.gypi?$', f) for f in files):
1630 builders.extend(['cros_x86']) 1630 builders.extend(['cros_x86'])
1631 1631
1632 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it 1632 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it
1633 # unless they're .gyp(i) files as changes to those files can break the gyp 1633 # unless they're .gyp(i) files as changes to those files can break the gyp
1634 # step on that bot. 1634 # step on that bot.
1635 if (not all(re.search('^chrome', f) for f in files) or 1635 if (not all(re.search('^chrome', f) for f in files) or
1636 any(re.search('\.gypi?$', f) for f in files)): 1636 any(re.search('\.gypi?$', f) for f in files)):
1637 builders.extend(['android_aosp']) 1637 builders.extend(['android_aosp'])
1638 1638
1639 return GetDefaultTryConfigs(builders) 1639 return GetDefaultTryConfigs(builders)
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