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
3# found in the LICENSE file.
4
5"""Chromium presubmit script for src/ui/events
6
7See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8for more details on the presubmit API built into gcl.
9"""
10
11def GetPreferredTryMasters(project, change):
12  tests = set(['ash_unittests',
13               'aura_unittests',
14               'events_unittests',
15               'keyboard_unittests',
16               'views_unittests'])
17
18  return {
19    'tryserver.chromium.linux': {
20      'linux_chromium_rel_swarming': tests,
21      'linux_chromium_chromeos_rel_swarming': tests,
22      'linux_chromeos_asan': tests,
23    },
24    'tryserver.chromium.win': {
25      'win_chromium_compile_dbg': tests,
26      'win_chromium_rel_swarming': tests,
27    }
28  }
29