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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 _TEST_CODE_EXCLUDED_PATHS + | 866 _TEST_CODE_EXCLUDED_PATHS + |
867 input_api.DEFAULT_BLACK_LIST + | 867 input_api.DEFAULT_BLACK_LIST + |
868 (r"^base[\\\/]logging\.h$", | 868 (r"^base[\\\/]logging\.h$", |
869 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", | 869 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", |
870 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", | 870 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", |
871 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" | 871 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" |
872 r"startup_browser_creator\.cc$", | 872 r"startup_browser_creator\.cc$", |
873 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", | 873 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", |
874 r"^chrome[\\\/]renderer[\\\/]extensions[\\\/]" | 874 r"^chrome[\\\/]renderer[\\\/]extensions[\\\/]" |
875 r"logging_native_handler\.cc$", | 875 r"logging_native_handler\.cc$", |
| 876 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" |
| 877 r"gl_helper_benchmark\.cc$", |
876 r"^remoting[\\\/]base[\\\/]logging\.h$", | 878 r"^remoting[\\\/]base[\\\/]logging\.h$", |
877 r"^remoting[\\\/]host[\\\/].*", | 879 r"^remoting[\\\/]host[\\\/].*", |
878 r"^sandbox[\\\/]linux[\\\/].*", | 880 r"^sandbox[\\\/]linux[\\\/].*", |
879 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$",)) | 881 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$",)) |
880 source_file_filter = lambda x: input_api.FilterSourceFile( | 882 source_file_filter = lambda x: input_api.FilterSourceFile( |
881 x, white_list=(file_inclusion_pattern,), black_list=black_list) | 883 x, white_list=(file_inclusion_pattern,), black_list=black_list) |
882 | 884 |
883 log_info = [] | 885 log_info = [] |
884 printf = [] | 886 printf = [] |
885 | 887 |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 trybots.extend(GetDefaultTryConfigs(['cros_x86'])) | 1452 trybots.extend(GetDefaultTryConfigs(['cros_x86'])) |
1451 | 1453 |
1452 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it | 1454 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it |
1453 # unless they're .gyp(i) files as changes to those files can break the gyp | 1455 # unless they're .gyp(i) files as changes to those files can break the gyp |
1454 # step on that bot. | 1456 # step on that bot. |
1455 if (not all(re.search('^chrome', f) for f in files) or | 1457 if (not all(re.search('^chrome', f) for f in files) or |
1456 any(re.search('\.gypi?$', f) for f in files)): | 1458 any(re.search('\.gypi?$', f) for f in files)): |
1457 trybots.extend(GetDefaultTryConfigs(['android_aosp'])) | 1459 trybots.extend(GetDefaultTryConfigs(['android_aosp'])) |
1458 | 1460 |
1459 return trybots | 1461 return trybots |
OLD | NEW |