| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from . import steps | 5 from . import steps |
| 6 | 6 |
| 7 RESULTS_URL = 'https://chromeperf.appspot.com' | 7 RESULTS_URL = 'https://chromeperf.appspot.com' |
| 8 | 8 |
| 9 SPEC = { | 9 SPEC = { |
| 10 'settings': { | 10 'settings': { |
| (...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 'BUILD_CONFIG': 'Release', | 1087 'BUILD_CONFIG': 'Release', |
| 1088 'TARGET_BITS': 64, | 1088 'TARGET_BITS': 64, |
| 1089 }, | 1089 }, |
| 1090 'GYP_DEFINES': { | 1090 'GYP_DEFINES': { |
| 1091 'component': 'shared_library', | 1091 'component': 'shared_library', |
| 1092 'werror': '', | 1092 'werror': '', |
| 1093 | 1093 |
| 1094 # Enable debug info, as on official builders, to catch issues with | 1094 # Enable debug info, as on official builders, to catch issues with |
| 1095 # optimized debug info. | 1095 # optimized debug info. |
| 1096 'linux_dump_symbols': '1', | 1096 'linux_dump_symbols': '1', |
| 1097 | |
| 1098 # Plugin flags often need to be changed when using a plugin newer than | |
| 1099 # the latest Clang package, so disable plugins. | |
| 1100 'clang_use_chrome_plugins': '0', | |
| 1101 }, | 1097 }, |
| 1102 'bot_type': 'builder', | 1098 'bot_type': 'builder', |
| 1103 'testing': { | 1099 'testing': { |
| 1104 'platform': 'linux', | 1100 'platform': 'linux', |
| 1105 }, | 1101 }, |
| 1106 'tests': { | 1102 'tests': { |
| 1107 steps.SizesStep(RESULTS_URL, 'ClangToTLinux') | 1103 steps.SizesStep(RESULTS_URL, 'ClangToTLinux') |
| 1108 }, | 1104 }, |
| 1109 'use_isolate': True, | 1105 'use_isolate': True, |
| 1110 'enable_swarming': True, | 1106 'enable_swarming': True, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1133 }, | 1129 }, |
| 1134 'ClangToTLinux (dbg)': { | 1130 'ClangToTLinux (dbg)': { |
| 1135 'chromium_config': 'clang_tot_linux', | 1131 'chromium_config': 'clang_tot_linux', |
| 1136 'gclient_config': 'chromium', | 1132 'gclient_config': 'chromium', |
| 1137 'chromium_config_kwargs': { | 1133 'chromium_config_kwargs': { |
| 1138 'BUILD_CONFIG': 'Debug', | 1134 'BUILD_CONFIG': 'Debug', |
| 1139 'TARGET_BITS': 64, | 1135 'TARGET_BITS': 64, |
| 1140 }, | 1136 }, |
| 1141 'GYP_DEFINES': { | 1137 'GYP_DEFINES': { |
| 1142 'werror': '', | 1138 'werror': '', |
| 1143 | |
| 1144 # Plugin flags often need to be changed when using a plugin newer than | |
| 1145 # the latest Clang package, so disable plugins. | |
| 1146 'clang_use_chrome_plugins': '0', | |
| 1147 }, | 1139 }, |
| 1148 'bot_type': 'builder', | 1140 'bot_type': 'builder', |
| 1149 'testing': { 'platform': 'linux', }, | 1141 'testing': { 'platform': 'linux', }, |
| 1150 'tests': { | 1142 'tests': { |
| 1151 steps.SizesStep(RESULTS_URL, 'ClangToTLinux (dbg)') | 1143 steps.SizesStep(RESULTS_URL, 'ClangToTLinux (dbg)') |
| 1152 }, | 1144 }, |
| 1153 'use_isolate': True, | 1145 'use_isolate': True, |
| 1154 'enable_swarming': True, | 1146 'enable_swarming': True, |
| 1155 # Workaround so that recipes doesn't add random build targets to our | 1147 # Workaround so that recipes doesn't add random build targets to our |
| 1156 # compile line. We want to build everything. | 1148 # compile line. We want to build everything. |
| 1157 'add_tests_as_compile_targets': False, | 1149 'add_tests_as_compile_targets': False, |
| 1158 }, | 1150 }, |
| 1159 'ClangToTLinuxASan': { | 1151 'ClangToTLinuxASan': { |
| 1160 'chromium_config': 'clang_tot_linux_asan', | 1152 'chromium_config': 'clang_tot_linux_asan', |
| 1161 'gclient_config': 'chromium', | 1153 'gclient_config': 'chromium', |
| 1162 'chromium_config_kwargs': { | 1154 'chromium_config_kwargs': { |
| 1163 'BUILD_CONFIG': 'Release', | 1155 'BUILD_CONFIG': 'Release', |
| 1164 'TARGET_BITS': 64, | 1156 'TARGET_BITS': 64, |
| 1165 }, | 1157 }, |
| 1166 'chromium_apply_config': ['lsan'], | 1158 'chromium_apply_config': ['lsan'], |
| 1167 'GYP_DEFINES': { | 1159 'GYP_DEFINES': { |
| 1168 'werror': '', | 1160 'werror': '', |
| 1169 # Plugin flags often need to be changed when using a plugin newer than | |
| 1170 # the latest Clang package, so disable plugins. | |
| 1171 'clang_use_chrome_plugins': '0', | |
| 1172 }, | 1161 }, |
| 1173 'bot_type': 'builder', | 1162 'bot_type': 'builder', |
| 1174 'testing': { 'platform': 'linux', }, | 1163 'testing': { 'platform': 'linux', }, |
| 1175 'tests': { | 1164 'tests': { |
| 1176 steps.SizesStep(RESULTS_URL, 'ClangToTLinuxASan') | 1165 steps.SizesStep(RESULTS_URL, 'ClangToTLinuxASan') |
| 1177 }, | 1166 }, |
| 1178 'use_isolate': True, | 1167 'use_isolate': True, |
| 1179 'enable_swarming': True, | 1168 'enable_swarming': True, |
| 1180 # Workaround so that recipes doesn't add random build targets to our | 1169 # Workaround so that recipes doesn't add random build targets to our |
| 1181 # compile line. We want to build everything. | 1170 # compile line. We want to build everything. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1201 }, | 1190 }, |
| 1202 'ClangToTLinuxUBSanVptr': { | 1191 'ClangToTLinuxUBSanVptr': { |
| 1203 'chromium_config': 'clang_tot_linux_ubsan_vptr', | 1192 'chromium_config': 'clang_tot_linux_ubsan_vptr', |
| 1204 'gclient_config': 'chromium', | 1193 'gclient_config': 'chromium', |
| 1205 'chromium_config_kwargs': { | 1194 'chromium_config_kwargs': { |
| 1206 'BUILD_CONFIG': 'Release', | 1195 'BUILD_CONFIG': 'Release', |
| 1207 'TARGET_BITS': 64, | 1196 'TARGET_BITS': 64, |
| 1208 }, | 1197 }, |
| 1209 'GYP_DEFINES': { | 1198 'GYP_DEFINES': { |
| 1210 'werror': '', | 1199 'werror': '', |
| 1211 # Plugin flags often need to be changed when using a plugin newer than | |
| 1212 # the latest Clang package, so disable plugins. | |
| 1213 'clang_use_chrome_plugins': '0', | |
| 1214 }, | 1200 }, |
| 1215 'bot_type': 'builder', | 1201 'bot_type': 'builder', |
| 1216 'testing': { 'platform': 'linux', }, | 1202 'testing': { 'platform': 'linux', }, |
| 1217 'tests': { | 1203 'tests': { |
| 1218 steps.SizesStep(RESULTS_URL, 'ClangToTLinuxUBSanVptr') | 1204 steps.SizesStep(RESULTS_URL, 'ClangToTLinuxUBSanVptr') |
| 1219 }, | 1205 }, |
| 1220 'use_isolate': True, | 1206 'use_isolate': True, |
| 1221 'enable_swarming': True, | 1207 'enable_swarming': True, |
| 1222 # Workaround so that recipes doesn't add random build targets to our | 1208 # Workaround so that recipes doesn't add random build targets to our |
| 1223 # compile line. We want to build everything. | 1209 # compile line. We want to build everything. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1246 'gclient_apply_config': ['android'], | 1232 'gclient_apply_config': ['android'], |
| 1247 'chromium_config_kwargs': { | 1233 'chromium_config_kwargs': { |
| 1248 'BUILD_CONFIG': 'Debug', | 1234 'BUILD_CONFIG': 'Debug', |
| 1249 'TARGET_PLATFORM': 'android', | 1235 'TARGET_PLATFORM': 'android', |
| 1250 'TARGET_ARCH': 'arm', | 1236 'TARGET_ARCH': 'arm', |
| 1251 'TARGET_BITS': 32, | 1237 'TARGET_BITS': 32, |
| 1252 }, | 1238 }, |
| 1253 'GYP_DEFINES': { | 1239 'GYP_DEFINES': { |
| 1254 'component': 'shared_library', | 1240 'component': 'shared_library', |
| 1255 'werror': '', | 1241 'werror': '', |
| 1256 # Plugin flags often need to be changed when using a plugin newer than | |
| 1257 # the latest Clang package, so disable plugins. | |
| 1258 'clang_use_chrome_plugins': '0', | |
| 1259 }, | 1242 }, |
| 1260 'bot_type': 'builder', | 1243 'bot_type': 'builder', |
| 1261 'android_config': 'clang_asan_tot_release_builder', | 1244 'android_config': 'clang_asan_tot_release_builder', |
| 1262 'testing': { 'platform': 'linux', }, | 1245 'testing': { 'platform': 'linux', }, |
| 1263 # Workaround so that recipes doesn't add random build targets to our | 1246 # Workaround so that recipes doesn't add random build targets to our |
| 1264 # compile line. We want to build everything. | 1247 # compile line. We want to build everything. |
| 1265 'add_tests_as_compile_targets': False, | 1248 'add_tests_as_compile_targets': False, |
| 1266 }, | 1249 }, |
| 1267 'ClangToTAndroidASan tester': { | 1250 'ClangToTAndroidASan tester': { |
| 1268 'chromium_config': 'clang_tot_android_asan', | 1251 'chromium_config': 'clang_tot_android_asan', |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1293 'ClangToTMac': { | 1276 'ClangToTMac': { |
| 1294 'chromium_config': 'clang_tot_mac', | 1277 'chromium_config': 'clang_tot_mac', |
| 1295 'gclient_config': 'chromium', | 1278 'gclient_config': 'chromium', |
| 1296 'chromium_config_kwargs': { | 1279 'chromium_config_kwargs': { |
| 1297 'BUILD_CONFIG': 'Release', | 1280 'BUILD_CONFIG': 'Release', |
| 1298 'TARGET_BITS': 64, | 1281 'TARGET_BITS': 64, |
| 1299 }, | 1282 }, |
| 1300 'GYP_DEFINES': { | 1283 'GYP_DEFINES': { |
| 1301 'component': 'shared_library', | 1284 'component': 'shared_library', |
| 1302 'werror': '', | 1285 'werror': '', |
| 1303 # Plugin flags often need to be changed when using a plugin newer than | |
| 1304 # the latest Clang package, so disable plugins. | |
| 1305 'clang_use_chrome_plugins': '0', | |
| 1306 }, | 1286 }, |
| 1307 'bot_type': 'builder', | 1287 'bot_type': 'builder', |
| 1308 'testing': { 'platform': 'mac', }, | 1288 'testing': { 'platform': 'mac', }, |
| 1309 'tests': { | 1289 'tests': { |
| 1310 steps.SizesStep(RESULTS_URL, 'ClangToTMac') | 1290 steps.SizesStep(RESULTS_URL, 'ClangToTMac') |
| 1311 }, | 1291 }, |
| 1312 'use_isolate': True, | 1292 'use_isolate': True, |
| 1313 'enable_swarming': True, | 1293 'enable_swarming': True, |
| 1314 # Workaround so that recipes doesn't add random build targets to our | 1294 # Workaround so that recipes doesn't add random build targets to our |
| 1315 # compile line. We want to build everything. | 1295 # compile line. We want to build everything. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1336 }, | 1316 }, |
| 1337 'ClangToTMac (dbg)': { | 1317 'ClangToTMac (dbg)': { |
| 1338 'chromium_config': 'clang_tot_mac', | 1318 'chromium_config': 'clang_tot_mac', |
| 1339 'gclient_config': 'chromium', | 1319 'gclient_config': 'chromium', |
| 1340 'chromium_config_kwargs': { | 1320 'chromium_config_kwargs': { |
| 1341 'BUILD_CONFIG': 'Debug', | 1321 'BUILD_CONFIG': 'Debug', |
| 1342 'TARGET_BITS': 64, | 1322 'TARGET_BITS': 64, |
| 1343 }, | 1323 }, |
| 1344 'GYP_DEFINES': { | 1324 'GYP_DEFINES': { |
| 1345 'werror': '', | 1325 'werror': '', |
| 1346 # Plugin flags often need to be changed when using a plugin newer than | |
| 1347 # the latest Clang package, so disable plugins. | |
| 1348 'clang_use_chrome_plugins': '0', | |
| 1349 }, | 1326 }, |
| 1350 'bot_type': 'builder', | 1327 'bot_type': 'builder', |
| 1351 'testing': { 'platform': 'mac', }, | 1328 'testing': { 'platform': 'mac', }, |
| 1352 'tests': { | 1329 'tests': { |
| 1353 steps.SizesStep(RESULTS_URL, 'ClangToTMac (dbg)') | 1330 steps.SizesStep(RESULTS_URL, 'ClangToTMac (dbg)') |
| 1354 }, | 1331 }, |
| 1355 'use_isolate': True, | 1332 'use_isolate': True, |
| 1356 'enable_swarming': True, | 1333 'enable_swarming': True, |
| 1357 # Workaround so that recipes doesn't add random build targets to our | 1334 # Workaround so that recipes doesn't add random build targets to our |
| 1358 # compile line. We want to build everything. | 1335 # compile line. We want to build everything. |
| 1359 'add_tests_as_compile_targets': False, | 1336 'add_tests_as_compile_targets': False, |
| 1360 }, | 1337 }, |
| 1361 'ClangToTMacASan': { | 1338 'ClangToTMacASan': { |
| 1362 'chromium_config': 'clang_tot_mac_asan', | 1339 'chromium_config': 'clang_tot_mac_asan', |
| 1363 'gclient_config': 'chromium', | 1340 'gclient_config': 'chromium', |
| 1364 'chromium_config_kwargs': { | 1341 'chromium_config_kwargs': { |
| 1365 'BUILD_CONFIG': 'Release', | 1342 'BUILD_CONFIG': 'Release', |
| 1366 'TARGET_BITS': 64, | 1343 'TARGET_BITS': 64, |
| 1367 }, | 1344 }, |
| 1368 'GYP_DEFINES': { | 1345 'GYP_DEFINES': { |
| 1369 'werror': '', | 1346 'werror': '', |
| 1370 # Plugin flags often need to be changed when using a plugin newer than | |
| 1371 # the latest Clang package, so disable plugins. | |
| 1372 'clang_use_chrome_plugins': '0', | |
| 1373 }, | 1347 }, |
| 1374 'bot_type': 'builder', | 1348 'bot_type': 'builder', |
| 1375 'testing': { 'platform': 'mac', }, | 1349 'testing': { 'platform': 'mac', }, |
| 1376 'tests': { | 1350 'tests': { |
| 1377 steps.SizesStep(RESULTS_URL, 'ClangToTMacASan') | 1351 steps.SizesStep(RESULTS_URL, 'ClangToTMacASan') |
| 1378 }, | 1352 }, |
| 1379 'use_isolate': True, | 1353 'use_isolate': True, |
| 1380 'enable_swarming': True, | 1354 'enable_swarming': True, |
| 1381 # Workaround so that recipes doesn't add random build targets to our | 1355 # Workaround so that recipes doesn't add random build targets to our |
| 1382 # compile line. We want to build everything. | 1356 # compile line. We want to build everything. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 1405 'chromium_config_kwargs': { | 1379 'chromium_config_kwargs': { |
| 1406 'BUILD_CONFIG': 'Release', | 1380 'BUILD_CONFIG': 'Release', |
| 1407 'TARGET_PLATFORM': 'ios', | 1381 'TARGET_PLATFORM': 'ios', |
| 1408 'TARGET_BITS': 32, | 1382 'TARGET_BITS': 32, |
| 1409 }, | 1383 }, |
| 1410 'gclient_config_kwargs': { | 1384 'gclient_config_kwargs': { |
| 1411 'GIT_MODE': True, | 1385 'GIT_MODE': True, |
| 1412 }, | 1386 }, |
| 1413 'GYP_DEFINES': { | 1387 'GYP_DEFINES': { |
| 1414 'werror': '', | 1388 'werror': '', |
| 1415 # Plugin flags often need to be changed when using a plugin newer than | |
| 1416 # the latest Clang package, so disable plugins. | |
| 1417 'clang_use_chrome_plugins': '0', | |
| 1418 }, | 1389 }, |
| 1419 'testing': { | 1390 'testing': { |
| 1420 'platform': 'mac', | 1391 'platform': 'mac', |
| 1421 } | 1392 } |
| 1422 }, | 1393 }, |
| 1423 'ClangToTWin': { | 1394 'ClangToTWin': { |
| 1424 'chromium_config': 'chromium_win_clang_official_tot', | 1395 'chromium_config': 'chromium_win_clang_official_tot', |
| 1425 'gclient_config': 'chromium', | 1396 'gclient_config': 'chromium', |
| 1426 'gclient_apply_config': ['chrome_internal'], | 1397 'gclient_apply_config': ['chrome_internal'], |
| 1427 'chromium_config_kwargs': { | 1398 'chromium_config_kwargs': { |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1920 steps.generate_gtest, | 1891 steps.generate_gtest, |
| 1921 steps.generate_script, | 1892 steps.generate_script, |
| 1922 steps.generate_isolated_script, | 1893 steps.generate_isolated_script, |
| 1923 ], | 1894 ], |
| 1924 'testing': { | 1895 'testing': { |
| 1925 'platform': 'linux', | 1896 'platform': 'linux', |
| 1926 }, | 1897 }, |
| 1927 }, | 1898 }, |
| 1928 }, | 1899 }, |
| 1929 } | 1900 } |
| OLD | NEW |