| 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 input_api.DEFAULT_BLACK_LIST + | 911 input_api.DEFAULT_BLACK_LIST + |
| 912 (r"^base[\\\/]logging\.h$", | 912 (r"^base[\\\/]logging\.h$", |
| 913 r"^base[\\\/]logging\.cc$", | 913 r"^base[\\\/]logging\.cc$", |
| 914 r"^cloud_print[\\\/]", | 914 r"^cloud_print[\\\/]", |
| 915 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", | 915 r"^chrome_elf[\\\/]dll_hash[\\\/]dll_hash_main\.cc$", |
| 916 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", | 916 r"^chrome[\\\/]app[\\\/]chrome_main_delegate\.cc$", |
| 917 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", | 917 r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$", |
| 918 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" | 918 r"^chrome[\\\/]browser[\\\/]ui[\\\/]startup[\\\/]" |
| 919 r"startup_browser_creator\.cc$", | 919 r"startup_browser_creator\.cc$", |
| 920 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", | 920 r"^chrome[\\\/]installer[\\\/]setup[\\\/].*", |
| 921 r"^chrome[\\\/]renderer[\\\/]extensions[\\\/]" | 921 r"^extensions[\\\/]renderer[\\\/]logging_native_handler\.cc$", |
| 922 r"logging_native_handler\.cc$", | |
| 923 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" | 922 r"^content[\\\/]common[\\\/]gpu[\\\/]client[\\\/]" |
| 924 r"gl_helper_benchmark\.cc$", | 923 r"gl_helper_benchmark\.cc$", |
| 925 r"^native_client_sdk[\\\/]", | 924 r"^native_client_sdk[\\\/]", |
| 926 r"^remoting[\\\/]base[\\\/]logging\.h$", | 925 r"^remoting[\\\/]base[\\\/]logging\.h$", |
| 927 r"^remoting[\\\/]host[\\\/].*", | 926 r"^remoting[\\\/]host[\\\/].*", |
| 928 r"^sandbox[\\\/]linux[\\\/].*", | 927 r"^sandbox[\\\/]linux[\\\/].*", |
| 929 r"^tools[\\\/]", | 928 r"^tools[\\\/]", |
| 930 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$",)) | 929 r"^ui[\\\/]aura[\\\/]bench[\\\/]bench_main\.cc$",)) |
| 931 source_file_filter = lambda x: input_api.FilterSourceFile( | 930 source_file_filter = lambda x: input_api.FilterSourceFile( |
| 932 x, white_list=(file_inclusion_pattern,), black_list=black_list) | 931 x, white_list=(file_inclusion_pattern,), black_list=black_list) |
| (...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1481 builders.extend(['cros_x86']) | 1480 builders.extend(['cros_x86']) |
| 1482 | 1481 |
| 1483 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it | 1482 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it |
| 1484 # unless they're .gyp(i) files as changes to those files can break the gyp | 1483 # unless they're .gyp(i) files as changes to those files can break the gyp |
| 1485 # step on that bot. | 1484 # step on that bot. |
| 1486 if (not all(re.search('^chrome', f) for f in files) or | 1485 if (not all(re.search('^chrome', f) for f in files) or |
| 1487 any(re.search('\.gypi?$', f) for f in files)): | 1486 any(re.search('\.gypi?$', f) for f in files)): |
| 1488 builders.extend(['android_aosp']) | 1487 builders.extend(['android_aosp']) |
| 1489 | 1488 |
| 1490 return GetDefaultTryConfigs(builders) | 1489 return GetDefaultTryConfigs(builders) |
| OLD | NEW |