| 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 from master import master_config | 5 from master import master_config |
| 6 from master.factory import chromium_factory | 6 from master.factory import chromium_factory |
| 7 from master.factory import webrtc_factory | 7 from master.factory import webrtc_factory |
| 8 | 8 |
| 9 defaults = {} | 9 defaults = {} |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 'modules_integrationtests', | 34 'modules_integrationtests', |
| 35 'modules_unittests', | 35 'modules_unittests', |
| 36 'neteq_unittests', | 36 'neteq_unittests', |
| 37 'system_wrappers_unittests', | 37 'system_wrappers_unittests', |
| 38 'test_support_unittests', | 38 'test_support_unittests', |
| 39 'tools_unittests', | 39 'tools_unittests', |
| 40 'video_engine_core_unittests', | 40 'video_engine_core_unittests', |
| 41 'voice_engine_unittests', | 41 'voice_engine_unittests', |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 baremetal_tests = [ |
| 45 'audio_e2e_test', |
| 46 'audioproc_perf', |
| 47 'isac_fixed_perf', |
| 48 'video_capture_integrationtests', |
| 49 'vie_auto_test', |
| 50 'voe_auto_test', |
| 51 ] |
| 52 |
| 44 ninja_options = ['--build-tool=ninja'] | 53 ninja_options = ['--build-tool=ninja'] |
| 45 | 54 |
| 46 defaults['category'] = 'linux' | 55 defaults['category'] = 'linux' |
| 47 | 56 |
| 48 B('Linux32 Debug', 'linux32_debug_factory', scheduler=scheduler) | 57 B('Linux32 Debug', 'linux32_debug_factory', scheduler=scheduler) |
| 49 F('linux32_debug_factory', linux().WebRTCFactory( | 58 F('linux32_debug_factory', linux().WebRTCFactory( |
| 50 target='Debug', | 59 target='Debug', |
| 51 options=ninja_options, | 60 options=ninja_options, |
| 52 tests=tests, | 61 tests=tests, |
| 53 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) | 62 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) |
| 63 |
| 54 B('Linux32 Release', 'linux32_release_factory', scheduler=scheduler) | 64 B('Linux32 Release', 'linux32_release_factory', scheduler=scheduler) |
| 55 F('linux32_release_factory', linux().WebRTCFactory( | 65 F('linux32_release_factory', linux().WebRTCFactory( |
| 56 target='Release', | 66 target='Release', |
| 57 options=ninja_options, | 67 options=ninja_options, |
| 58 tests=tests, | 68 tests=tests, |
| 59 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) | 69 factory_properties={'gclient_env': {'GYP_DEFINES': 'target_arch=ia32'}})) |
| 60 | 70 |
| 61 B('Linux64 Debug', 'linux64_debug_factory', scheduler=scheduler) | 71 B('Linux64 Debug', 'linux64_debug_factory', scheduler=scheduler) |
| 62 F('linux64_debug_factory', linux().WebRTCFactory( | 72 F('linux64_debug_factory', linux().WebRTCFactory( |
| 63 target='Debug', | 73 target='Debug', |
| 64 options=ninja_options, | 74 options=ninja_options, |
| 65 tests=tests)) | 75 tests=tests)) |
| 76 |
| 66 B('Linux64 Release', 'linux64_release_factory', scheduler=scheduler) | 77 B('Linux64 Release', 'linux64_release_factory', scheduler=scheduler) |
| 67 F('linux64_release_factory', linux().WebRTCFactory( | 78 F('linux64_release_factory', linux().WebRTCFactory( |
| 68 target='Release', | 79 target='Release', |
| 69 options=ninja_options, | 80 options=ninja_options, |
| 70 tests=tests)) | 81 tests=tests)) |
| 71 | 82 |
| 72 B('Linux Clang', 'linux_clang_factory', scheduler=scheduler) | 83 B('Linux Clang', 'linux_clang_factory', scheduler=scheduler) |
| 73 F('linux_clang_factory', linux().WebRTCFactory( | 84 F('linux_clang_factory', linux().WebRTCFactory( |
| 74 target='Debug', | 85 target='Debug', |
| 75 options=ninja_options, | 86 options=ninja_options, |
| 76 tests=tests, | 87 tests=tests, |
| 77 factory_properties={'gclient_env': {'GYP_DEFINES': 'clang=1'}})) | 88 factory_properties={'gclient_env': {'GYP_DEFINES': 'clang=1'}})) |
| 78 | 89 |
| 79 B('Linux Memcheck', 'linux_memcheck_factory', scheduler=scheduler) | 90 B('Linux Memcheck', 'linux_memcheck_factory', scheduler=scheduler) |
| 80 F('linux_memcheck_factory', linux().WebRTCFactory( | 91 F('linux_memcheck_factory', linux().WebRTCFactory( |
| 81 target='Release', | 92 target='Release', |
| 82 options=ninja_options, | 93 options=ninja_options, |
| 83 tests=tests, | 94 tests=['memcheck_' + test for test in tests], |
| 84 factory_properties={'needs_valgrind': True, | 95 factory_properties={'needs_valgrind': True, |
| 85 'gclient_env': | 96 'gclient_env': |
| 86 {'GYP_DEFINES': 'build_for_tool=memcheck'}})) | 97 {'GYP_DEFINES': 'build_for_tool=memcheck'}})) |
| 98 |
| 87 B('Linux Tsan', 'linux_tsan_factory', scheduler=scheduler) | 99 B('Linux Tsan', 'linux_tsan_factory', scheduler=scheduler) |
| 88 F('linux_tsan_factory', linux().WebRTCFactory( | 100 F('linux_tsan_factory', linux().WebRTCFactory( |
| 89 target='Release', | 101 target='Release', |
| 90 options=ninja_options, | 102 options=ninja_options, |
| 91 tests=tests, | 103 tests=['tsan_' + test for test in tests], |
| 92 factory_properties={'needs_valgrind': True, | 104 factory_properties={'needs_valgrind': True, |
| 93 'gclient_env': | 105 'gclient_env': |
| 94 {'GYP_DEFINES': 'build_for_tool=tsan'}})) | 106 {'GYP_DEFINES': 'build_for_tool=tsan'}})) |
| 107 |
| 95 B('Linux Asan', 'linux_asan_factory', scheduler=scheduler) | 108 B('Linux Asan', 'linux_asan_factory', scheduler=scheduler) |
| 96 F('linux_asan_factory', linux().WebRTCFactory( | 109 F('linux_asan_factory', linux().WebRTCFactory( |
| 97 target='Release', | 110 target='Release', |
| 98 options=ninja_options, | 111 options=ninja_options, |
| 99 tests=tests, | 112 tests=tests, |
| 100 factory_properties={'asan': True, | 113 factory_properties={'asan': True, |
| 101 'gclient_env': | 114 'gclient_env': |
| 102 {'GYP_DEFINES': ('asan=1 release_extra_cflags=-g ' | 115 {'GYP_DEFINES': ('asan=1 release_extra_cflags=-g ' |
| 103 ' linux_use_tcmalloc=0 ')}})) | 116 ' linux_use_tcmalloc=0 ')}})) |
| 104 | 117 |
| 118 B('Linux64 Release [large tests]', 'linux_largetests_factory', |
| 119 scheduler=scheduler) |
| 120 F('linux_largetests_factory', linux().WebRTCFactory( |
| 121 target='Release', |
| 122 options=ninja_options, |
| 123 tests=baremetal_tests, |
| 124 factory_properties={ |
| 125 'show_perf_results': True, |
| 126 'expectations': True, |
| 127 'perf_id': 'webrtc-linux-large-tests', |
| 128 'perf_measuring_tests': ['audio_e2e_test', |
| 129 'audioproc_perf', |
| 130 'isac_fixed_perf', |
| 131 'vie_auto_test'], |
| 132 'custom_cmd_line_tests': ['audio_e2e_test', |
| 133 'audioproc_perf', |
| 134 'isac_fixed_perf', |
| 135 'vie_auto_test', |
| 136 'voe_auto_test'], |
| 137 })) |
| 138 |
| 105 # Android. | 139 # Android. |
| 106 B('Android NDK', 'android_ndk_factory', scheduler=scheduler) | 140 B('Android NDK', 'android_ndk_factory', scheduler=scheduler) |
| 107 F('android_ndk_factory', android().ChromiumAnnotationFactory( | 141 F('android_ndk_factory', android().ChromiumAnnotationFactory( |
| 108 target='Debug', | 142 target='Debug', |
| 109 slave_type='AnnotatedBuilderTester', | 143 slave_type='AnnotatedBuilderTester', |
| 110 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 144 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 111 factory_properties={ | 145 factory_properties={ |
| 112 'android_bot_id': 'webrtc-builder-dbg', | 146 'android_bot_id': 'webrtc-builder-dbg', |
| 113 })) | 147 })) |
| 114 | 148 |
| 115 # ChromeOS. | 149 # ChromeOS. |
| 116 B('Chrome OS', 'chromeos_factory', scheduler=scheduler) | 150 B('Chrome OS', 'chromeos_factory', scheduler=scheduler) |
| 117 F('chromeos_factory', linux().WebRTCFactory( | 151 F('chromeos_factory', linux().WebRTCFactory( |
| 118 target='Debug', | 152 target='Debug', |
| 119 options=ninja_options, | 153 options=ninja_options, |
| 120 tests=tests, | 154 tests=tests, |
| 121 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}})) | 155 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}})) |
| 122 | 156 |
| 123 helper.Update(c) | 157 helper.Update(c) |
| OLD | NEW |