OLD | NEW |
---|---|
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 """ | 5 """ |
6 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 6 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
7 for more details on the presubmit API built into gcl. | 7 for more details on the presubmit API built into gcl. |
8 """ | 8 """ |
9 | 9 |
10 import re | 10 import re |
(...skipping 17 matching lines...) Expand all Loading... | |
28 | 28 |
29 def CheckChangeOnUpload(input_api, output_api): | 29 def CheckChangeOnUpload(input_api, output_api): |
30 return CheckChange(input_api, output_api) | 30 return CheckChange(input_api, output_api) |
31 | 31 |
32 def CheckChangeOnCommit(input_api, output_api): | 32 def CheckChangeOnCommit(input_api, output_api): |
33 return CheckChange(input_api, output_api) | 33 return CheckChange(input_api, output_api) |
34 | 34 |
35 def GetPreferredTryMasters(project, change): | 35 def GetPreferredTryMasters(project, change): |
36 return { | 36 return { |
37 'tryserver.chromium.linux': { | 37 'tryserver.chromium.linux': { |
38 'linux_asan': set(['compile']), | 38 'linux_chromium_asan_rel': set(['compile']), |
earthdok
2014/10/20 11:57:53
There's no reason to have this in PRESUBMIT. tools
Paweł Hajdan Jr.
2014/10/20 15:03:56
Done.
| |
39 }, | 39 }, |
40 'tryserver.chromium.mac': { | 40 'tryserver.chromium.mac': { |
41 'mac_asan': set(['compile']), | 41 'mac_asan': set(['compile']), |
earthdok
2014/10/20 11:58:42
(same)
Paweł Hajdan Jr.
2014/10/20 15:03:56
Done.
| |
42 } | 42 } |
43 } | 43 } |
OLD | NEW |