Chromium Code Reviews| 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 1754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1765 return {} | 1765 return {} |
| 1766 | 1766 |
| 1767 if all(re.search(r'\.(m|mm)$|(^|[\\\/_])mac[\\\/_.]', f) for f in files): | 1767 if all(re.search(r'\.(m|mm)$|(^|[\\\/_])mac[\\\/_.]', f) for f in files): |
| 1768 return GetDefaultTryConfigs([ | 1768 return GetDefaultTryConfigs([ |
| 1769 'mac_chromium_compile_dbg_ng', | 1769 'mac_chromium_compile_dbg_ng', |
| 1770 'mac_chromium_rel_ng', | 1770 'mac_chromium_rel_ng', |
| 1771 ]) | 1771 ]) |
| 1772 if all(re.search('(^|[/_])win[/_.]', f) for f in files): | 1772 if all(re.search('(^|[/_])win[/_.]', f) for f in files): |
| 1773 return GetDefaultTryConfigs([ | 1773 return GetDefaultTryConfigs([ |
| 1774 'win8_chromium_rel', | 1774 'win8_chromium_rel', |
| 1775 'win_chromium_dbg', | 1775 'win_chromium_rel_ng', |
| 1776 'win_chromium_rel', | 1776 'win_chromium_x64_rel_ng', |
| 1777 'win_chromium_x64_rel', | |
| 1778 ]) | 1777 ]) |
| 1779 if all(re.search(r'(^|[\\\/_])android[\\\/_.]', f) for f in files): | 1778 if all(re.search(r'(^|[\\\/_])android[\\\/_.]', f) for f in files): |
| 1780 return GetDefaultTryConfigs([ | 1779 return GetDefaultTryConfigs([ |
| 1781 'android_aosp', | 1780 'android_aosp', |
| 1782 'android_dbg_tests_recipe', | 1781 'android_dbg_tests_recipe', |
| 1783 ]) | 1782 ]) |
| 1784 if all(re.search(r'[\\\/_]ios[\\\/_.]', f) for f in files): | 1783 if all(re.search(r'[\\\/_]ios[\\\/_.]', f) for f in files): |
| 1785 return GetDefaultTryConfigs(['ios_rel_device', 'ios_dbg_simulator']) | 1784 return GetDefaultTryConfigs(['ios_rel_device', 'ios_dbg_simulator']) |
| 1786 | 1785 |
| 1787 builders = [ | 1786 builders = [ |
| 1788 'android_aosp', | 1787 'android_aosp', |
| 1789 'android_arm64_dbg_recipe', | 1788 'android_arm64_dbg_recipe', |
| 1789 'android_chromium_gn_compile_dbg', | |
| 1790 'android_chromium_gn_compile_rel', | 1790 'android_chromium_gn_compile_rel', |
| 1791 'android_chromium_gn_compile_dbg', | |
| 1792 'android_clang_dbg_recipe', | 1791 'android_clang_dbg_recipe', |
| 1793 'android_dbg_tests_recipe', | 1792 'android_dbg_tests_recipe', |
| 1793 'android_arm64_dbg_recipe', | |
| 1794 'android_clang_dbg_recipe', | |
|
Sergiy Byelozyorov
2014/12/15 16:19:19
nit:keep these two sorted too please
Paweł Hajdan Jr.
2014/12/15 16:26:11
Done.
| |
| 1794 'ios_dbg_simulator', | 1795 'ios_dbg_simulator', |
| 1795 'ios_rel_device', | 1796 'ios_rel_device', |
| 1796 'ios_rel_device_ninja', | 1797 'ios_rel_device_ninja', |
| 1797 'linux_chromium_asan_rel', | 1798 'linux_chromium_asan_rel', |
| 1798 'linux_chromium_chromeos_compile_dbg_ng', | 1799 'linux_chromium_chromeos_compile_dbg_ng', |
| 1799 'linux_chromium_chromeos_rel_ng', | 1800 'linux_chromium_chromeos_rel_ng', |
| 1800 'linux_chromium_compile_dbg_32_ng', | 1801 'linux_chromium_compile_dbg_32_ng', |
| 1801 'linux_chromium_gn_dbg', | 1802 'linux_chromium_gn_dbg', |
| 1802 'linux_chromium_gn_rel', | 1803 'linux_chromium_gn_rel', |
| 1803 'linux_chromium_rel_ng', | 1804 'linux_chromium_rel_ng', |
| 1804 'linux_gpu', | 1805 'linux_gpu', |
| 1805 'mac_chromium_compile_dbg_ng', | 1806 'mac_chromium_compile_dbg_ng', |
| 1806 'mac_chromium_rel_ng', | 1807 'mac_chromium_rel_ng', |
| 1807 'mac_gpu', | 1808 'mac_gpu', |
| 1809 'win8_chromium_rel', | |
| 1808 'win_chromium_compile_dbg', | 1810 'win_chromium_compile_dbg', |
| 1809 'win_chromium_rel', | 1811 'win_chromium_rel_ng', |
| 1810 'win_chromium_x64_rel', | 1812 'win_chromium_x64_rel_ng', |
| 1811 'win_gpu', | 1813 'win_gpu', |
| 1812 'win8_chromium_rel', | |
| 1813 ] | 1814 ] |
| 1814 | 1815 |
| 1815 # Match things like path/aura/file.cc and path/file_aura.cc. | 1816 # Match things like path/aura/file.cc and path/file_aura.cc. |
| 1816 # Same for chromeos. | 1817 # Same for chromeos. |
| 1817 if any(re.search(r'[\\\/_](aura|chromeos)', f) for f in files): | 1818 if any(re.search(r'[\\\/_](aura|chromeos)', f) for f in files): |
| 1818 builders.extend([ | 1819 builders.extend([ |
| 1819 'linux_chromeos_asan', | 1820 'linux_chromeos_asan', |
| 1820 ]) | 1821 ]) |
| 1821 | 1822 |
| 1822 return GetDefaultTryConfigs(builders) | 1823 return GetDefaultTryConfigs(builders) |
| OLD | NEW |