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 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1288 'components_unittests', | 1288 'components_unittests', |
1289 'dbus_unittests', | 1289 'dbus_unittests', |
1290 'device_unittests', | 1290 'device_unittests', |
1291 'events_unittests', | 1291 'events_unittests', |
1292 'google_apis_unittests', | 1292 'google_apis_unittests', |
1293 'sandbox_linux_unittests', | 1293 'sandbox_linux_unittests', |
1294 ], | 1294 ], |
1295 'linux_chromium_dbg': ['defaulttests'], | 1295 'linux_chromium_dbg': ['defaulttests'], |
1296 'linux_chromium_rel': ['defaulttests'], | 1296 'linux_chromium_rel': ['defaulttests'], |
1297 'linux_clang': ['compile'], | 1297 'linux_clang': ['compile'], |
| 1298 'linux_nacl_sdk_build': ['compile'], |
1298 'linux_rel': standard_tests + [ | 1299 'linux_rel': standard_tests + [ |
1299 'cc_unittests', | 1300 'cc_unittests', |
1300 'chromedriver_unittests', | 1301 'chromedriver_unittests', |
1301 'components_unittests', | 1302 'components_unittests', |
1302 'google_apis_unittests', | 1303 'google_apis_unittests', |
1303 'nacl_integration', | 1304 'nacl_integration', |
1304 'remoting_unittests', | 1305 'remoting_unittests', |
1305 'sandbox_linux_unittests', | 1306 'sandbox_linux_unittests', |
1306 'sync_integration_tests', | 1307 'sync_integration_tests', |
1307 ], | 1308 ], |
1308 'mac': ['compile'], | 1309 'mac': ['compile'], |
1309 'mac_chromium_dbg': ['defaulttests'], | 1310 'mac_chromium_dbg': ['defaulttests'], |
1310 'mac_chromium_rel': ['defaulttests'], | 1311 'mac_chromium_rel': ['defaulttests'], |
| 1312 'mac_nacl_sdk_build': ['compile'], |
1311 'mac_rel': standard_tests + [ | 1313 'mac_rel': standard_tests + [ |
1312 'app_list_unittests', | 1314 'app_list_unittests', |
1313 'cc_unittests', | 1315 'cc_unittests', |
1314 'chromedriver_unittests', | 1316 'chromedriver_unittests', |
1315 'components_unittests', | 1317 'components_unittests', |
1316 'google_apis_unittests', | 1318 'google_apis_unittests', |
1317 'message_center_unittests', | 1319 'message_center_unittests', |
1318 'nacl_integration', | 1320 'nacl_integration', |
1319 'remoting_unittests', | 1321 'remoting_unittests', |
1320 'sync_integration_tests', | 1322 'sync_integration_tests', |
1321 'telemetry_unittests', | 1323 'telemetry_unittests', |
1322 ], | 1324 ], |
1323 'win': ['compile'], | 1325 'win': ['compile'], |
| 1326 'win_nacl_sdk_build': ['compile'], |
1324 'win_rel': standard_tests + [ | 1327 'win_rel': standard_tests + [ |
1325 'app_list_unittests', | 1328 'app_list_unittests', |
1326 'ash_unittests', | 1329 'ash_unittests', |
1327 'aura_unittests', | 1330 'aura_unittests', |
1328 'cc_unittests', | 1331 'cc_unittests', |
1329 'chrome_elf_unittests', | 1332 'chrome_elf_unittests', |
1330 'chromedriver_unittests', | 1333 'chromedriver_unittests', |
1331 'components_unittests', | 1334 'components_unittests', |
1332 'compositor_unittests', | 1335 'compositor_unittests', |
1333 'events_unittests', | 1336 'events_unittests', |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1415 | 1418 |
1416 trybots = GetDefaultTryConfigs([ | 1419 trybots = GetDefaultTryConfigs([ |
1417 'android_clang_dbg', | 1420 'android_clang_dbg', |
1418 'android_dbg', | 1421 'android_dbg', |
1419 'ios_dbg_simulator', | 1422 'ios_dbg_simulator', |
1420 'ios_rel_device', | 1423 'ios_rel_device', |
1421 'linux_aura', | 1424 'linux_aura', |
1422 'linux_asan', | 1425 'linux_asan', |
1423 'linux_chromeos', | 1426 'linux_chromeos', |
1424 'linux_clang', | 1427 'linux_clang', |
| 1428 'linux_nacl_sdk_build', |
1425 'linux_rel', | 1429 'linux_rel', |
1426 'mac', | 1430 'mac', |
| 1431 'mac_nacl_sdk_build', |
1427 'mac_rel', | 1432 'mac_rel', |
1428 'win', | 1433 'win', |
| 1434 'win_nacl_sdk_build', |
1429 'win_rel', | 1435 'win_rel', |
1430 'win_x64_rel', | 1436 'win_x64_rel', |
1431 ]) | 1437 ]) |
1432 | 1438 |
1433 # Match things like path/aura/file.cc and path/file_aura.cc. | 1439 # Match things like path/aura/file.cc and path/file_aura.cc. |
1434 # Same for chromeos. | 1440 # Same for chromeos. |
1435 if any(re.search('[/_](aura|chromeos)', f) for f in files): | 1441 if any(re.search('[/_](aura|chromeos)', f) for f in files): |
1436 trybots.extend(GetDefaultTryConfigs([ | 1442 trybots.extend(GetDefaultTryConfigs([ |
1437 'linux_chromeos_asan', 'linux_chromeos_clang'])) | 1443 'linux_chromeos_asan', 'linux_chromeos_clang'])) |
1438 | 1444 |
(...skipping 16 matching lines...) Expand all Loading... |
1455 # problems, only enable for a small percentage of try runs. | 1461 # problems, only enable for a small percentage of try runs. |
1456 if random.random() < 0.01: | 1462 if random.random() < 0.01: |
1457 trybots.extend(GetDefaultTryConfigs([ | 1463 trybots.extend(GetDefaultTryConfigs([ |
1458 'linux_chromium_dbg', | 1464 'linux_chromium_dbg', |
1459 'linux_chromium_rel', | 1465 'linux_chromium_rel', |
1460 'mac_chromium_dbg', | 1466 'mac_chromium_dbg', |
1461 'mac_chromium_rel', | 1467 'mac_chromium_rel', |
1462 ])) | 1468 ])) |
1463 | 1469 |
1464 return trybots | 1470 return trybots |
OLD | NEW |