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

Side by Side Diff: masters/master.client.webrtc/master_mac_cfg.py

Issue 16959006: Refactor WebRTC master configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fixed minor errors. Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
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 webrtc_factory 6 from master.factory import webrtc_factory
7 7
8 defaults = {} 8 defaults = {}
9 9
10 10
11 def ConfigureBuilders(c, svn_url, branch, custom_deps_list=None): 11 def mac():
12 def mac(): 12 return webrtc_factory.WebRTCFactory('src/xcodebuild', 'darwin')
13 return webrtc_factory.WebRTCFactory('src/xcodebuild', 'darwin', svn_url, 13 def macIos():
14 branch, custom_deps_list) 14 return webrtc_factory.WebRTCFactory('', 'darwin', nohooks_on_update=True)
15 def macIos():
16 return webrtc_factory.WebRTCFactory('', 'darwin', svn_url, branch,
17 nohooks_on_update=True)
18 15
19 helper = master_config.Helper(defaults) 16 helper = master_config.Helper(defaults)
20 B = helper.Builder 17 B = helper.Builder
21 F = helper.Factory 18 F = helper.Factory
22 S = helper.Scheduler 19 S = helper.Scheduler
23 20
24 scheduler = 'webrtc_mac_scheduler' 21 scheduler = 'webrtc_mac_scheduler'
25 S(scheduler, branch=branch, treeStableTimer=0) 22 S(scheduler, branch='trunk', treeStableTimer=0)
26 23
27 tests = [ 24 tests = [
28 'audio_decoder_unittests', 25 'audio_decoder_unittests',
29 'common_audio_unittests', 26 'common_audio_unittests',
30 'common_video_unittests', 27 'common_video_unittests',
31 'metrics_unittests', 28 'metrics_unittests',
32 'modules_integrationtests', 29 'modules_integrationtests',
33 'modules_unittests', 30 'modules_unittests',
34 'neteq_unittests', 31 'neteq_unittests',
35 'system_wrappers_unittests', 32 'system_wrappers_unittests',
36 'test_support_unittests', 33 'test_support_unittests',
37 'tools_unittests', 34 'tools_unittests',
38 'video_engine_core_unittests', 35 'video_engine_core_unittests',
39 'voice_engine_unittests', 36 'voice_engine_unittests',
40 ] 37 ]
41 38
42 options = ['--', '-project', '../webrtc.xcodeproj'] 39 options = ['--', '-project', '../webrtc.xcodeproj']
43 40
44 defaults['category'] = 'mac' 41 defaults['category'] = 'mac'
45 42
46 B('Mac32 Debug', 'mac_debug_factory', scheduler=scheduler) 43 B('Mac32 Debug', 'mac_debug_factory', scheduler=scheduler)
47 F('mac_debug_factory', mac().WebRTCFactory( 44 F('mac_debug_factory', mac().WebRTCFactory(
48 target='Debug', 45 target='Debug',
49 options=options, 46 options=options,
50 tests=tests)) 47 tests=tests))
51 48
52 B('Mac32 Release', 'mac_release_factory', scheduler=scheduler) 49 B('Mac32 Release', 'mac_release_factory', scheduler=scheduler)
53 F('mac_release_factory', mac().WebRTCFactory( 50 F('mac_release_factory', mac().WebRTCFactory(
54 target='Release', 51 target='Release',
55 options=options, 52 options=options,
56 tests=tests)) 53 tests=tests))
57 54
58 B('Mac64 Debug', 'mac64_debug_factory', scheduler=scheduler) 55 B('Mac64 Debug', 'mac64_debug_factory', scheduler=scheduler)
59 F('mac64_debug_factory', mac().WebRTCFactory( 56 F('mac64_debug_factory', mac().WebRTCFactory(
60 target='Debug', 57 target='Debug',
61 options=options, 58 options=options,
62 tests=tests, 59 tests=tests,
63 factory_properties={ 60 factory_properties={
64 'gclient_env': {'GYP_DEFINES': 'host_arch=x64 target_arch=x64'} 61 'gclient_env': {'GYP_DEFINES': 'host_arch=x64 target_arch=x64'}
65 })) 62 }))
66 63
67 B('Mac64 Release', 'mac64_release_factory', scheduler=scheduler) 64 B('Mac64 Release', 'mac64_release_factory', scheduler=scheduler)
68 F('mac64_release_factory', mac().WebRTCFactory( 65 F('mac64_release_factory', mac().WebRTCFactory(
69 target='Release', 66 target='Release',
70 options=options, 67 options=options,
71 tests=tests, 68 tests=tests,
72 factory_properties={ 69 factory_properties={
73 'gclient_env': {'GYP_DEFINES': 'host_arch=x64 target_arch=x64'} 70 'gclient_env': {'GYP_DEFINES': 'host_arch=x64 target_arch=x64'}
74 })) 71 }))
75 72
76 B('Mac Asan', 'mac_asan_factory', scheduler=scheduler) 73 B('Mac Asan', 'mac_asan_factory', scheduler=scheduler)
77 F('mac_asan_factory', mac().WebRTCFactory( 74 F('mac_asan_factory', mac().WebRTCFactory(
78 target='Release', 75 target='Release',
79 options=options, 76 options=options,
80 tests=tests, 77 tests=tests,
81 factory_properties={'asan': True, 78 factory_properties={'asan': True,
82 'gclient_env': 79 'gclient_env':
83 {'GYP_DEFINES': ('asan=1' 80 {'GYP_DEFINES': ('asan=1'
84 ' release_extra_cflags=-g ' 81 ' release_extra_cflags=-g '
85 ' linux_use_tcmalloc=0 ')}})) 82 ' linux_use_tcmalloc=0 ')}}))
86 83
87 # iOS. 84 # iOS.
88 B('iOS Device', 'ios_release_factory', scheduler=scheduler) 85 B('iOS Device', 'ios_release_factory', scheduler=scheduler)
89 F('ios_release_factory', macIos().ChromiumAnnotationFactory( 86 F('ios_release_factory', macIos().ChromiumAnnotationFactory(
90 target='Release', 87 target='Release',
91 slave_type='AnnotatedBuilderTester', 88 slave_type='AnnotatedBuilderTester',
92 annotation_script='src/webrtc/build/ios-webrtc.sh')) 89 annotation_script='src/webrtc/build/ios-webrtc.sh'))
93 90
91
92 def Update(c):
94 helper.Update(c) 93 helper.Update(c)
OLDNEW
« no previous file with comments | « masters/master.client.webrtc/master_linux_cfg.py ('k') | masters/master.client.webrtc/master_win_cfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698