| 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 # Contains the bulk of the WebRTC builder configurations so they can be reused | 5 # Contains the bulk of the WebRTC builder configurations so they can be reused |
| 6 # from multiple recipes. | 6 # from multiple recipes. |
| 7 | 7 |
| 8 from recipe_engine.types import freeze | 8 from recipe_engine.types import freeze |
| 9 | 9 |
| 10 RECIPE_CONFIGS = freeze({ | 10 RECIPE_CONFIGS = freeze({ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 'webrtc_clang': { | 25 'webrtc_clang': { |
| 26 'chromium_config': 'webrtc_clang', | 26 'chromium_config': 'webrtc_clang', |
| 27 'gclient_config': 'webrtc', | 27 'gclient_config': 'webrtc', |
| 28 'test_suite': 'webrtc', | 28 'test_suite': 'webrtc', |
| 29 }, | 29 }, |
| 30 'webrtc_android': { | 30 'webrtc_android': { |
| 31 'chromium_config': 'android', | 31 'chromium_config': 'android', |
| 32 'chromium_android_config': 'webrtc', | 32 'chromium_android_config': 'webrtc', |
| 33 'gclient_config': 'webrtc', | 33 'gclient_config': 'webrtc', |
| 34 'gclient_apply_config': ['android'], | 34 'gclient_apply_config': ['android'], |
| 35 'test_suite': 'android_device', | 35 'test_suite': 'android', |
| 36 }, | 36 }, |
| 37 'webrtc_android_clang': { | 37 'webrtc_android_clang': { |
| 38 'chromium_config': 'android_clang', | 38 'chromium_config': 'android_clang', |
| 39 'chromium_android_config': 'webrtc', | 39 'chromium_android_config': 'webrtc', |
| 40 'gclient_config': 'webrtc', | 40 'gclient_config': 'webrtc', |
| 41 'gclient_apply_config': ['android'], | 41 'gclient_apply_config': ['android'], |
| 42 }, | 42 }, |
| 43 'webrtc_android_asan': { | 43 'webrtc_android_asan': { |
| 44 'chromium_config': 'android_asan', | 44 'chromium_config': 'android_asan', |
| 45 'chromium_android_config': 'webrtc', | 45 'chromium_android_config': 'webrtc', |
| 46 'gclient_config': 'webrtc', | 46 'gclient_config': 'webrtc', |
| 47 'gclient_apply_config': ['android'], | 47 'gclient_apply_config': ['android'], |
| 48 'test_suite': 'android_device', | 48 'test_suite': 'android', |
| 49 }, | |
| 50 'webrtc_android_linux': { | |
| 51 'chromium_config': 'android', | |
| 52 'chromium_android_config': 'webrtc', | |
| 53 'gclient_config': 'webrtc', | |
| 54 'gclient_apply_config': ['android'], | |
| 55 'test_suite': 'android_linux', | |
| 56 }, | |
| 57 'webrtc_android_swarming': { | |
| 58 'chromium_config': 'android', | |
| 59 'chromium_android_config': 'webrtc', | |
| 60 'gclient_config': 'webrtc', | |
| 61 'gclient_apply_config': ['android'], | |
| 62 'test_suite': 'android_swarming', | |
| 63 }, | 49 }, |
| 64 }) | 50 }) |
| 65 | 51 |
| 66 WEBRTC_REVISION_PERF_CONFIG = '{\'a_default_rev\': \'r_webrtc_rev\'}' | 52 WEBRTC_REVISION_PERF_CONFIG = '{\'a_default_rev\': \'r_webrtc_rev\'}' |
| 67 | 53 |
| 68 BUILDERS = freeze({ | 54 BUILDERS = freeze({ |
| 69 'client.webrtc': { | 55 'client.webrtc': { |
| 70 'settings': { | 56 'settings': { |
| 71 'build_gs_bucket': 'chromium-webrtc', | 57 'build_gs_bucket': 'chromium-webrtc', |
| 72 'PERF_CONFIG': WEBRTC_REVISION_PERF_CONFIG, | 58 'PERF_CONFIG': WEBRTC_REVISION_PERF_CONFIG, |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 'BUILD_CONFIG': 'Release', | 381 'BUILD_CONFIG': 'Release', |
| 396 'TARGET_BITS': 64, | 382 'TARGET_BITS': 64, |
| 397 }, | 383 }, |
| 398 'webrtc_config_kwargs': { | 384 'webrtc_config_kwargs': { |
| 399 'PERF_ID': 'webrtc-linux-large-tests', | 385 'PERF_ID': 'webrtc-linux-large-tests', |
| 400 }, | 386 }, |
| 401 'bot_type': 'builder_tester', | 387 'bot_type': 'builder_tester', |
| 402 'testing': {'platform': 'linux'}, | 388 'testing': {'platform': 'linux'}, |
| 403 }, | 389 }, |
| 404 'Android32 Builder': { | 390 'Android32 Builder': { |
| 405 'recipe_config': 'webrtc_android_linux', | 391 'recipe_config': 'webrtc_android', |
| 406 'chromium_config_kwargs': { | 392 'chromium_config_kwargs': { |
| 407 'BUILD_CONFIG': 'Release', | 393 'BUILD_CONFIG': 'Release', |
| 408 'TARGET_PLATFORM': 'android', | 394 'TARGET_PLATFORM': 'android', |
| 409 'TARGET_ARCH': 'arm', | 395 'TARGET_ARCH': 'arm', |
| 410 'TARGET_BITS': 32, | 396 'TARGET_BITS': 32, |
| 411 }, | 397 }, |
| 412 'bot_type': 'builder_tester', | 398 'bot_type': 'builder', |
| 413 'testing': {'platform': 'linux'}, | 399 'testing': {'platform': 'linux'}, |
| 414 'triggers': [ | 400 'triggers': [ |
| 415 'Android32 Tests (L Nexus5)', | 401 'Android32 Tests (L Nexus5)', |
| 416 'Android32 Tests (L Nexus7.2)', | 402 'Android32 Tests (L Nexus7.2)', |
| 417 ], | 403 ], |
| 418 'archive_apprtc': True, | 404 'archive_apprtc': True, |
| 419 }, | 405 }, |
| 420 'Android32 Builder (dbg)': { | 406 'Android32 Builder (dbg)': { |
| 421 'recipe_config': 'webrtc_android_linux', | 407 'recipe_config': 'webrtc_android', |
| 422 'chromium_config_kwargs': { | 408 'chromium_config_kwargs': { |
| 423 'BUILD_CONFIG': 'Debug', | 409 'BUILD_CONFIG': 'Debug', |
| 424 'TARGET_PLATFORM': 'android', | 410 'TARGET_PLATFORM': 'android', |
| 425 'TARGET_ARCH': 'arm', | 411 'TARGET_ARCH': 'arm', |
| 426 'TARGET_BITS': 32, | 412 'TARGET_BITS': 32, |
| 427 }, | 413 }, |
| 428 'bot_type': 'builder_tester', | 414 'bot_type': 'builder', |
| 429 'testing': {'platform': 'linux'}, | 415 'testing': {'platform': 'linux'}, |
| 430 'triggers': [ | 416 'triggers': [ |
| 431 'Android32 Tests (L Nexus5)(dbg)', | 417 'Android32 Tests (L Nexus5)(dbg)', |
| 432 'Android32 Tests (L Nexus7.2)(dbg)', | 418 'Android32 Tests (L Nexus7.2)(dbg)', |
| 433 ], | 419 ], |
| 434 'archive_apprtc': True, | 420 'archive_apprtc': True, |
| 435 }, | 421 }, |
| 436 'Android32 Builder x86': { | 422 'Android32 Builder x86': { |
| 437 'recipe_config': 'webrtc_android', | 423 'recipe_config': 'webrtc_android', |
| 438 'chromium_config_kwargs': { | 424 'chromium_config_kwargs': { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 460 'chromium_config_kwargs': { | 446 'chromium_config_kwargs': { |
| 461 'BUILD_CONFIG': 'Debug', | 447 'BUILD_CONFIG': 'Debug', |
| 462 'TARGET_PLATFORM': 'android', | 448 'TARGET_PLATFORM': 'android', |
| 463 'TARGET_ARCH': 'mipsel', | 449 'TARGET_ARCH': 'mipsel', |
| 464 'TARGET_BITS': 32, | 450 'TARGET_BITS': 32, |
| 465 }, | 451 }, |
| 466 'bot_type': 'builder', | 452 'bot_type': 'builder', |
| 467 'testing': {'platform': 'linux'}, | 453 'testing': {'platform': 'linux'}, |
| 468 }, | 454 }, |
| 469 'Android64 Builder': { | 455 'Android64 Builder': { |
| 470 'recipe_config': 'webrtc_android_linux', | 456 'recipe_config': 'webrtc_android', |
| 471 'chromium_config_kwargs': { | 457 'chromium_config_kwargs': { |
| 472 'BUILD_CONFIG': 'Release', | 458 'BUILD_CONFIG': 'Release', |
| 473 'TARGET_PLATFORM': 'android', | 459 'TARGET_PLATFORM': 'android', |
| 474 'TARGET_ARCH': 'arm', | 460 'TARGET_ARCH': 'arm', |
| 475 'TARGET_BITS': 64, | 461 'TARGET_BITS': 64, |
| 476 }, | 462 }, |
| 477 'bot_type': 'builder_tester', | 463 'bot_type': 'builder', |
| 478 'testing': {'platform': 'linux'}, | 464 'testing': {'platform': 'linux'}, |
| 479 'triggers': [ | 465 'triggers': [ |
| 480 'Android64 Tests (L Nexus9)', | 466 'Android64 Tests (L Nexus9)', |
| 481 ], | 467 ], |
| 482 'archive_apprtc': True, | 468 'archive_apprtc': True, |
| 483 }, | 469 }, |
| 484 'Android64 Builder (dbg)': { | 470 'Android64 Builder (dbg)': { |
| 485 'recipe_config': 'webrtc_android_linux', | 471 'recipe_config': 'webrtc_android', |
| 486 'chromium_config_kwargs': { | 472 'chromium_config_kwargs': { |
| 487 'BUILD_CONFIG': 'Debug', | 473 'BUILD_CONFIG': 'Debug', |
| 488 'TARGET_PLATFORM': 'android', | 474 'TARGET_PLATFORM': 'android', |
| 489 'TARGET_ARCH': 'arm', | 475 'TARGET_ARCH': 'arm', |
| 490 'TARGET_BITS': 64, | 476 'TARGET_BITS': 64, |
| 491 }, | 477 }, |
| 492 'bot_type': 'builder_tester', | 478 'bot_type': 'builder', |
| 493 'testing': {'platform': 'linux'}, | 479 'testing': {'platform': 'linux'}, |
| 494 'archive_apprtc': True, | 480 'archive_apprtc': True, |
| 495 }, | 481 }, |
| 496 'Android64 Builder x64 (dbg)': { | 482 'Android64 Builder x64 (dbg)': { |
| 497 'recipe_config': 'webrtc_android', | 483 'recipe_config': 'webrtc_android', |
| 498 'chromium_config_kwargs': { | 484 'chromium_config_kwargs': { |
| 499 'BUILD_CONFIG': 'Debug', | 485 'BUILD_CONFIG': 'Debug', |
| 500 'TARGET_PLATFORM': 'android', | 486 'TARGET_PLATFORM': 'android', |
| 501 'TARGET_ARCH': 'intel', | 487 'TARGET_ARCH': 'intel', |
| 502 'TARGET_BITS': 64, | 488 'TARGET_BITS': 64, |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 'Linux64 GCC': { | 635 'Linux64 GCC': { |
| 650 'recipe_config': 'webrtc_gcc', | 636 'recipe_config': 'webrtc_gcc', |
| 651 'chromium_config_kwargs': { | 637 'chromium_config_kwargs': { |
| 652 'BUILD_CONFIG': 'Release', | 638 'BUILD_CONFIG': 'Release', |
| 653 'TARGET_BITS': 64, | 639 'TARGET_BITS': 64, |
| 654 }, | 640 }, |
| 655 'bot_type': 'builder', | 641 'bot_type': 'builder', |
| 656 'testing': {'platform': 'linux'}, | 642 'testing': {'platform': 'linux'}, |
| 657 }, | 643 }, |
| 658 'Android32 Release (swarming)': { | 644 'Android32 Release (swarming)': { |
| 659 'recipe_config': 'webrtc_android_swarming', | 645 'recipe_config': 'webrtc_android', |
| 660 'chromium_config_kwargs': { | 646 'chromium_config_kwargs': { |
| 661 'BUILD_CONFIG': 'Release', | 647 'BUILD_CONFIG': 'Release', |
| 662 'TARGET_PLATFORM': 'android', | 648 'TARGET_PLATFORM': 'android', |
| 663 'TARGET_ARCH': 'arm', | 649 'TARGET_ARCH': 'arm', |
| 664 'TARGET_BITS': 32, | 650 'TARGET_BITS': 32, |
| 665 }, | 651 }, |
| 666 'bot_type': 'builder_tester', | 652 'bot_type': 'builder_tester', |
| 667 'testing': {'platform': 'linux'}, | 653 'testing': {'platform': 'linux'}, |
| 668 'use_isolate': True, | 654 'use_isolate': True, |
| 669 'enable_swarming': True, | 655 'enable_swarming': True, |
| (...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1334 'chromium_config_kwargs': { | 1320 'chromium_config_kwargs': { |
| 1335 'BUILD_CONFIG': 'Release', | 1321 'BUILD_CONFIG': 'Release', |
| 1336 'TARGET_PLATFORM': 'android', | 1322 'TARGET_PLATFORM': 'android', |
| 1337 'TARGET_ARCH': 'arm', | 1323 'TARGET_ARCH': 'arm', |
| 1338 'TARGET_BITS': 32, | 1324 'TARGET_BITS': 32, |
| 1339 }, | 1325 }, |
| 1340 'bot_type': 'builder', | 1326 'bot_type': 'builder', |
| 1341 'testing': {'platform': 'linux'}, | 1327 'testing': {'platform': 'linux'}, |
| 1342 }, | 1328 }, |
| 1343 'android_swarming': { | 1329 'android_swarming': { |
| 1344 'recipe_config': 'webrtc_android_swarming', | 1330 'recipe_config': 'webrtc_android', |
| 1345 'chromium_config_kwargs': { | 1331 'chromium_config_kwargs': { |
| 1346 'BUILD_CONFIG': 'Release', | 1332 'BUILD_CONFIG': 'Release', |
| 1347 'TARGET_PLATFORM': 'android', | 1333 'TARGET_PLATFORM': 'android', |
| 1348 'TARGET_ARCH': 'arm', | 1334 'TARGET_ARCH': 'arm', |
| 1349 'TARGET_BITS': 32, | 1335 'TARGET_BITS': 32, |
| 1350 }, | 1336 }, |
| 1351 'bot_type': 'builder_tester', | 1337 'bot_type': 'builder_tester', |
| 1352 'testing': {'platform': 'linux'}, | 1338 'testing': {'platform': 'linux'}, |
| 1353 'use_isolate': True, | 1339 'use_isolate': True, |
| 1354 'enable_swarming': True, | 1340 'enable_swarming': True, |
| 1355 'swarming_dimensions': { | 1341 'swarming_dimensions': { |
| 1356 'os': 'Android', | 1342 'os': 'Android', |
| 1357 'device_type': 'bullhead', # Nexus 5X | 1343 'device_type': 'bullhead', # Nexus 5X |
| 1358 } | 1344 } |
| 1359 } | 1345 } |
| 1360 }, | 1346 }, |
| 1361 }, | 1347 }, |
| 1362 }) | 1348 }) |
| 1363 | 1349 |
| OLD | NEW |