| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 """Top-level presubmit script for Chromium. | 5 """Top-level presubmit script for Chromium. |
| 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 about the presubmit API built into gcl. | 8 for more details about the presubmit API built into gcl. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 _TEST_CODE_EXCLUDED_PATHS + | 871 _TEST_CODE_EXCLUDED_PATHS + |
| 872 input_api.DEFAULT_BLACK_LIST + | 872 input_api.DEFAULT_BLACK_LIST + |
| 873 (r"^base[\\\/]logging\.h$", | 873 (r"^base[\\\/]logging\.h$", |
| 874 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", | 874 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", |
| 875 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", | 875 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", |
| 876 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" | 876 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" |
| 877 r"startup_browser_creator\.cc$", | 877 r"startup_browser_creator\.cc$", |
| 878 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", | 878 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", |
| 879 r"^chrome[\\\/]renderer[\\\/]extensions[\\\/]" | 879 r"^chrome[\\\/]renderer[\\\/]extensions[\\\/]" |
| 880 r"logging_native_handler\.cc$", | 880 r"logging_native_handler\.cc$", |
| 881 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" |
| 882 r"gl_helper_benchmark\.cc$", |
| 881 r"^remoting[\\\/]base[\\\/]logging\.h$", | 883 r"^remoting[\\\/]base[\\\/]logging\.h$", |
| 882 r"^remoting[\\\/]host[\\\/].*", | 884 r"^remoting[\\\/]host[\\\/].*", |
| 883 r"^sandbox[\\\/]linux[\\\/].*", | 885 r"^sandbox[\\\/]linux[\\\/].*", |
| 884 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$",)) | 886 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$",)) |
| 885 source_file_filter = lambda x: input_api.FilterSourceFile( | 887 source_file_filter = lambda x: input_api.FilterSourceFile( |
| 886 x, white_list=(file_inclusion_pattern,), black_list=black_list) | 888 x, white_list=(file_inclusion_pattern,), black_list=black_list) |
| 887 | 889 |
| 888 log_info = [] | 890 log_info = [] |
| 889 printf = [] | 891 printf = [] |
| 890 | 892 |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 # problems, only enable for a small percentage of try runs. | 1436 # problems, only enable for a small percentage of try runs. |
| 1435 if random.random() < 0.01: | 1437 if random.random() < 0.01: |
| 1436 trybots.extend(GetDefaultTryConfigs([ | 1438 trybots.extend(GetDefaultTryConfigs([ |
| 1437 'linux_chromium_dbg', | 1439 'linux_chromium_dbg', |
| 1438 'linux_chromium_rel', | 1440 'linux_chromium_rel', |
| 1439 'mac_chromium_dbg', | 1441 'mac_chromium_dbg', |
| 1440 'mac_chromium_rel', | 1442 'mac_chromium_rel', |
| 1441 ])) | 1443 ])) |
| 1442 | 1444 |
| 1443 return trybots | 1445 return trybots |
| OLD | NEW |