OLD | NEW |
1 # Copyright 2014 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2014 The LibYuv Project Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import re | 9 import re |
10 import sys | 10 import sys |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 # pylint: disable=W0613 | 22 # pylint: disable=W0613 |
23 def GetPreferredTryMasters(project, change): | 23 def GetPreferredTryMasters(project, change): |
24 files = change.LocalPaths() | 24 files = change.LocalPaths() |
25 bots = [ | 25 bots = [ |
26 'win', | 26 'win', |
27 'win_rel', | 27 'win_rel', |
28 'win_x64_rel', | 28 'win_x64_rel', |
29 'mac', | 29 'mac', |
30 'mac_rel', | 30 'mac_rel', |
31 'mac_x64_rel', | |
32 'ios', | 31 'ios', |
33 'ios_rel', | 32 'ios_rel', |
34 'ios_arm64', | 33 'ios_arm64', |
35 'ios_arm64_rel', | 34 'ios_arm64_rel', |
36 'mac_asan', | 35 'mac_asan', |
37 'linux', | 36 'linux', |
38 'linux_rel', | 37 'linux_rel', |
39 'linux_memcheck', | 38 'linux_memcheck', |
40 'linux_tsan2', | 39 'linux_tsan2', |
41 'linux_asan', | 40 'linux_asan', |
42 'android', | 41 'android', |
43 'android_rel', | 42 'android_rel', |
44 'android_clang', | 43 'android_clang', |
45 'android_arm64', | 44 'android_arm64', |
46 ] | 45 ] |
47 if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files): | 46 if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files): |
48 return {} | 47 return {} |
49 return GetDefaultTryConfigs(bots) | 48 return GetDefaultTryConfigs(bots) |
OLD | NEW |