Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: scripts/slave/recipe_modules/webrtc/builders.py

Issue 2354363006: WebRTC: Add android_junit_tests. (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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', 35 'test_suite': 'android_device',
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', 48 'test_suite': 'android_device',
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',
49 }, 63 },
50 }) 64 })
51 65
52 WEBRTC_REVISION_PERF_CONFIG = '{\'a_default_rev\': \'r_webrtc_rev\'}' 66 WEBRTC_REVISION_PERF_CONFIG = '{\'a_default_rev\': \'r_webrtc_rev\'}'
53 67
54 BUILDERS = freeze({ 68 BUILDERS = freeze({
55 'client.webrtc': { 69 'client.webrtc': {
56 'settings': { 70 'settings': {
57 'build_gs_bucket': 'chromium-webrtc', 71 'build_gs_bucket': 'chromium-webrtc',
58 'PERF_CONFIG': WEBRTC_REVISION_PERF_CONFIG, 72 'PERF_CONFIG': WEBRTC_REVISION_PERF_CONFIG,
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 'BUILD_CONFIG': 'Release', 395 'BUILD_CONFIG': 'Release',
382 'TARGET_BITS': 64, 396 'TARGET_BITS': 64,
383 }, 397 },
384 'webrtc_config_kwargs': { 398 'webrtc_config_kwargs': {
385 'PERF_ID': 'webrtc-linux-large-tests', 399 'PERF_ID': 'webrtc-linux-large-tests',
386 }, 400 },
387 'bot_type': 'builder_tester', 401 'bot_type': 'builder_tester',
388 'testing': {'platform': 'linux'}, 402 'testing': {'platform': 'linux'},
389 }, 403 },
390 'Android32 Builder': { 404 'Android32 Builder': {
391 'recipe_config': 'webrtc_android', 405 'recipe_config': 'webrtc_android_linux',
392 'chromium_config_kwargs': { 406 'chromium_config_kwargs': {
393 'BUILD_CONFIG': 'Release', 407 'BUILD_CONFIG': 'Release',
394 'TARGET_PLATFORM': 'android', 408 'TARGET_PLATFORM': 'android',
395 'TARGET_ARCH': 'arm', 409 'TARGET_ARCH': 'arm',
396 'TARGET_BITS': 32, 410 'TARGET_BITS': 32,
397 }, 411 },
398 'bot_type': 'builder', 412 'bot_type': 'builder_tester',
399 'testing': {'platform': 'linux'}, 413 'testing': {'platform': 'linux'},
400 'triggers': [ 414 'triggers': [
401 'Android32 Tests (L Nexus5)', 415 'Android32 Tests (L Nexus5)',
402 'Android32 Tests (L Nexus7.2)', 416 'Android32 Tests (L Nexus7.2)',
403 ], 417 ],
404 'archive_apprtc': True, 418 'archive_apprtc': True,
405 }, 419 },
406 'Android32 Builder (dbg)': { 420 'Android32 Builder (dbg)': {
407 'recipe_config': 'webrtc_android', 421 'recipe_config': 'webrtc_android_linux',
408 'chromium_config_kwargs': { 422 'chromium_config_kwargs': {
409 'BUILD_CONFIG': 'Debug', 423 'BUILD_CONFIG': 'Debug',
410 'TARGET_PLATFORM': 'android', 424 'TARGET_PLATFORM': 'android',
411 'TARGET_ARCH': 'arm', 425 'TARGET_ARCH': 'arm',
412 'TARGET_BITS': 32, 426 'TARGET_BITS': 32,
413 }, 427 },
414 'bot_type': 'builder', 428 'bot_type': 'builder_tester',
415 'testing': {'platform': 'linux'}, 429 'testing': {'platform': 'linux'},
416 'triggers': [ 430 'triggers': [
417 'Android32 Tests (L Nexus5)(dbg)', 431 'Android32 Tests (L Nexus5)(dbg)',
418 'Android32 Tests (L Nexus7.2)(dbg)', 432 'Android32 Tests (L Nexus7.2)(dbg)',
419 ], 433 ],
420 'archive_apprtc': True, 434 'archive_apprtc': True,
421 }, 435 },
422 'Android32 Builder x86': { 436 'Android32 Builder x86': {
423 'recipe_config': 'webrtc_android', 437 'recipe_config': 'webrtc_android',
424 'chromium_config_kwargs': { 438 'chromium_config_kwargs': {
(...skipping 21 matching lines...) Expand all
446 'chromium_config_kwargs': { 460 'chromium_config_kwargs': {
447 'BUILD_CONFIG': 'Debug', 461 'BUILD_CONFIG': 'Debug',
448 'TARGET_PLATFORM': 'android', 462 'TARGET_PLATFORM': 'android',
449 'TARGET_ARCH': 'mipsel', 463 'TARGET_ARCH': 'mipsel',
450 'TARGET_BITS': 32, 464 'TARGET_BITS': 32,
451 }, 465 },
452 'bot_type': 'builder', 466 'bot_type': 'builder',
453 'testing': {'platform': 'linux'}, 467 'testing': {'platform': 'linux'},
454 }, 468 },
455 'Android64 Builder': { 469 'Android64 Builder': {
456 'recipe_config': 'webrtc_android', 470 'recipe_config': 'webrtc_android_linux',
457 'chromium_config_kwargs': { 471 'chromium_config_kwargs': {
458 'BUILD_CONFIG': 'Release', 472 'BUILD_CONFIG': 'Release',
459 'TARGET_PLATFORM': 'android', 473 'TARGET_PLATFORM': 'android',
460 'TARGET_ARCH': 'arm', 474 'TARGET_ARCH': 'arm',
461 'TARGET_BITS': 64, 475 'TARGET_BITS': 64,
462 }, 476 },
463 'bot_type': 'builder', 477 'bot_type': 'builder_tester',
464 'testing': {'platform': 'linux'}, 478 'testing': {'platform': 'linux'},
465 'triggers': [ 479 'triggers': [
466 'Android64 Tests (L Nexus9)', 480 'Android64 Tests (L Nexus9)',
467 ], 481 ],
468 'archive_apprtc': True, 482 'archive_apprtc': True,
469 }, 483 },
470 'Android64 Builder (dbg)': { 484 'Android64 Builder (dbg)': {
471 'recipe_config': 'webrtc_android', 485 'recipe_config': 'webrtc_android_linux',
472 'chromium_config_kwargs': { 486 'chromium_config_kwargs': {
473 'BUILD_CONFIG': 'Debug', 487 'BUILD_CONFIG': 'Debug',
474 'TARGET_PLATFORM': 'android', 488 'TARGET_PLATFORM': 'android',
475 'TARGET_ARCH': 'arm', 489 'TARGET_ARCH': 'arm',
476 'TARGET_BITS': 64, 490 'TARGET_BITS': 64,
477 }, 491 },
478 'bot_type': 'builder', 492 'bot_type': 'builder_tester',
479 'testing': {'platform': 'linux'}, 493 'testing': {'platform': 'linux'},
480 'archive_apprtc': True, 494 'archive_apprtc': True,
481 }, 495 },
482 'Android64 Builder x64 (dbg)': { 496 'Android64 Builder x64 (dbg)': {
483 'recipe_config': 'webrtc_android', 497 'recipe_config': 'webrtc_android',
484 'chromium_config_kwargs': { 498 'chromium_config_kwargs': {
485 'BUILD_CONFIG': 'Debug', 499 'BUILD_CONFIG': 'Debug',
486 'TARGET_PLATFORM': 'android', 500 'TARGET_PLATFORM': 'android',
487 'TARGET_ARCH': 'intel', 501 'TARGET_ARCH': 'intel',
488 'TARGET_BITS': 64, 502 'TARGET_BITS': 64,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 'Linux64 GCC': { 649 'Linux64 GCC': {
636 'recipe_config': 'webrtc_gcc', 650 'recipe_config': 'webrtc_gcc',
637 'chromium_config_kwargs': { 651 'chromium_config_kwargs': {
638 'BUILD_CONFIG': 'Release', 652 'BUILD_CONFIG': 'Release',
639 'TARGET_BITS': 64, 653 'TARGET_BITS': 64,
640 }, 654 },
641 'bot_type': 'builder', 655 'bot_type': 'builder',
642 'testing': {'platform': 'linux'}, 656 'testing': {'platform': 'linux'},
643 }, 657 },
644 'Android32 Release (swarming)': { 658 'Android32 Release (swarming)': {
645 'recipe_config': 'webrtc_android', 659 'recipe_config': 'webrtc_android_swarming',
646 'chromium_config_kwargs': { 660 'chromium_config_kwargs': {
647 'BUILD_CONFIG': 'Release', 661 'BUILD_CONFIG': 'Release',
648 'TARGET_PLATFORM': 'android', 662 'TARGET_PLATFORM': 'android',
649 'TARGET_ARCH': 'arm', 663 'TARGET_ARCH': 'arm',
650 'TARGET_BITS': 32, 664 'TARGET_BITS': 32,
651 }, 665 },
652 'bot_type': 'builder_tester', 666 'bot_type': 'builder_tester',
653 'testing': {'platform': 'linux'}, 667 'testing': {'platform': 'linux'},
654 'use_isolate': True, 668 'use_isolate': True,
655 'enable_swarming': True, 669 'enable_swarming': True,
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 'chromium_config_kwargs': { 1334 'chromium_config_kwargs': {
1321 'BUILD_CONFIG': 'Release', 1335 'BUILD_CONFIG': 'Release',
1322 'TARGET_PLATFORM': 'android', 1336 'TARGET_PLATFORM': 'android',
1323 'TARGET_ARCH': 'arm', 1337 'TARGET_ARCH': 'arm',
1324 'TARGET_BITS': 32, 1338 'TARGET_BITS': 32,
1325 }, 1339 },
1326 'bot_type': 'builder', 1340 'bot_type': 'builder',
1327 'testing': {'platform': 'linux'}, 1341 'testing': {'platform': 'linux'},
1328 }, 1342 },
1329 'android_swarming': { 1343 'android_swarming': {
1330 'recipe_config': 'webrtc_android', 1344 'recipe_config': 'webrtc_android_swarming',
1331 'chromium_config_kwargs': { 1345 'chromium_config_kwargs': {
1332 'BUILD_CONFIG': 'Release', 1346 'BUILD_CONFIG': 'Release',
1333 'TARGET_PLATFORM': 'android', 1347 'TARGET_PLATFORM': 'android',
1334 'TARGET_ARCH': 'arm', 1348 'TARGET_ARCH': 'arm',
1335 'TARGET_BITS': 32, 1349 'TARGET_BITS': 32,
1336 }, 1350 },
1337 'bot_type': 'builder_tester', 1351 'bot_type': 'builder_tester',
1338 'testing': {'platform': 'linux'}, 1352 'testing': {'platform': 'linux'},
1339 'use_isolate': True, 1353 'use_isolate': True,
1340 'enable_swarming': True, 1354 'enable_swarming': True,
1341 'swarming_dimensions': { 1355 'swarming_dimensions': {
1342 'os': 'Android', 1356 'os': 'Android',
1343 'device_type': 'bullhead', # Nexus 5X 1357 'device_type': 'bullhead', # Nexus 5X
1344 } 1358 }
1345 } 1359 }
1346 }, 1360 },
1347 }, 1361 },
1348 }) 1362 })
1349 1363
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/webrtc/api.py ('k') | scripts/slave/recipe_modules/webrtc/steps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698