PRESUBMIT.py revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Copyright 2014 The Chromium Authors. All rights reserved. 25d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# Use of this source code is governed by a BSD-style license that can be 35d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)# found in the LICENSE file. 45d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)"""Chromium presubmit script for src/ui/events 65d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 75d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 85d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)for more details on the presubmit API built into gcl. 95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)""" 105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)def GetPreferredTrySlaves(): 125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) tests = set(['ash_unittests', 135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 'aura_unittests', 145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 'events_unittests', 155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 'keyboard_unittests', 165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 'views_unittests']) 175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) return [('linux_rel', tests), 195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) ('linux_chromeos', tests), 205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) ('linux_chromeos_asan', tests), 215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) ('win', tests), 225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) ('win_rel', tests)] 23