| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 """Chromium presubmit script for src/ui/events | 5 """Chromium presubmit script for src/ui/events |
| 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 on the presubmit API built into gcl. | 8 for more details on the presubmit API built into gcl. |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 def GetPreferredTrySlaves(): | 11 def GetPreferredTryMasters(project, change): |
| 12 tests = set(['ash_unittests', | 12 tests = set(['ash_unittests', |
| 13 'aura_unittests', | 13 'aura_unittests', |
| 14 'events_unittests', | 14 'events_unittests', |
| 15 'keyboard_unittests', | 15 'keyboard_unittests', |
| 16 'views_unittests']) | 16 'views_unittests']) |
| 17 | 17 |
| 18 return [('linux_rel', tests), | 18 return { |
| 19 ('linux_chromeos', tests), | 19 'tryserver.chromium': { |
| 20 ('linux_chromeos_asan', tests), | 20 'linux_rel': tests, |
| 21 ('win', tests), | 21 'linux_chromeos': tests, |
| 22 ('win_rel', tests)] | 22 'linux_chromeos_asan': tests, |
| 23 'win': tests, |
| 24 'win_rel': tests, |
| 25 } |
| 26 } |
| OLD | NEW |