diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 03:52:02 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 03:52:02 +0000 |
commit | 4d321ae5644f72dda066fa0fc59ae0c5a3d7ec40 (patch) | |
tree | 9a8fdfe07b86e5119a9604942d3d26013cd7fdd8 /PRESUBMIT.py | |
parent | 26c37b8b9f81fde2dca09edb89cc6f5efa985af4 (diff) | |
download | chromium_src-4d321ae5644f72dda066fa0fc59ae0c5a3d7ec40.zip chromium_src-4d321ae5644f72dda066fa0fc59ae0c5a3d7ec40.tar.gz chromium_src-4d321ae5644f72dda066fa0fc59ae0c5a3d7ec40.tar.bz2 |
Android build: move content_unittests to default target.
Also expand PRESUBMIT.py to include content files (e.g. everything).
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9416117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124108 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r-- | PRESUBMIT.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index cc289b4..8244215 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -308,23 +308,10 @@ def GetPreferredTrySlaves(project, change): only_objc_files = all(f.endswith(('.mm', '.m')) for f in affected_files) if only_objc_files: return ['mac_rel'] - preferred = ['win_rel', 'linux_rel', 'mac_rel'] + preferred = ['win_rel', 'linux_rel', 'mac_rel', 'android'] if any(f.endswith(('.h', '.cc', '.cpp', '.cxx')) for f in affected_files): preferred.append('linux_clang') aura_re = '_aura[^/]*[.][^/]*' if any(re.search(aura_re, f) for f in affected_files): preferred.append('linux_chromeos') - # For bringup (staging of upstream work) we must be careful to not - # overload Android infrastructure. Keeping Android try decisions in a - # single location (instead of adding conditionals in base/, net/, ...) - # will help us avoid doing so. For example, we are starting off with - # 2 trybots (compared against ~45 for Mac and Linux). - # If any file matches something compiled on the main waterfall - # android builder, use the android try server. - android_re_list = ('^base/', '^ipc/', '^net/', '^sql/', '^jingle/', - '^build/common.gypi$') - for f in affected_files: - if any(re.search(r, f) for r in android_re_list): - preferred.append('android') - break return preferred |