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

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

Issue 11896066: Add Android NDK build for WebRTC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Added try builder Created 7 years, 10 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, category, custom_deps_list=None): 11 def ConfigureBuilders(c, svn_url, branch, category, custom_deps_list=None):
12 def linux(): 12 def linux():
13 return webrtc_factory.WebRTCFactory('src/build', 'linux2', svn_url, 13 return webrtc_factory.WebRTCFactory('src/build', 'linux2', svn_url,
14 branch, custom_deps_list) 14 branch, custom_deps_list)
15 def android():
16 return webrtc_factory.WebRTCFactory('src/build', 'linux2', svn_url,
17 branch, nohooks_on_update=True,
18 target_os='android')
19
15 helper = master_config.Helper(defaults) 20 helper = master_config.Helper(defaults)
16 B = helper.Builder 21 B = helper.Builder
17 F = helper.Factory 22 F = helper.Factory
18 S = helper.Scheduler 23 S = helper.Scheduler
19 24
20 scheduler = 'webrtc_%s_linux_scheduler' % category 25 scheduler = 'webrtc_%s_linux_scheduler' % category
21 S(scheduler, branch=branch, treeStableTimer=0) 26 S(scheduler, branch=branch, treeStableTimer=0)
22 27
23 normal_tests = ['audio_coding_module_test', 28 normal_tests = ['audio_coding_module_test',
24 'audio_coding_unittests', 29 'audio_coding_unittests',
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 {'GYP_DEFINES': 'build_for_tool=tsan'}})) 108 {'GYP_DEFINES': 'build_for_tool=tsan'}}))
104 B('LinuxAsan', 'linux_asan_factory', scheduler=scheduler) 109 B('LinuxAsan', 'linux_asan_factory', scheduler=scheduler)
105 F('linux_asan_factory', linux().WebRTCFactory( 110 F('linux_asan_factory', linux().WebRTCFactory(
106 target='Release', 111 target='Release',
107 tests=normal_tests, 112 tests=normal_tests,
108 factory_properties={'asan': True, 113 factory_properties={'asan': True,
109 'gclient_env': 114 'gclient_env':
110 {'GYP_DEFINES': ('asan=1 release_extra_cflags=-g ' 115 {'GYP_DEFINES': ('asan=1 release_extra_cflags=-g '
111 ' linux_use_tcmalloc=0 ')}})) 116 ' linux_use_tcmalloc=0 ')}}))
112 117
118 # Android.
119 B('Android NDK', 'android_ndk_factory', scheduler=scheduler)
120 F('android_ndk_factory', android().WebRTCAndroidNDKFactory(
121 target='Debug',
122 slave_type='AnnotatedBuilderTester',
123 annotation_script='src/build/android/buildbot/bb_run_bot.py',
124 factory_properties={
125 # This ID is not in bb_run_bot.py yet so it will use the generic
126 # builder config for now.
127 'android_bot_id': 'webrtc-builder',
kjellander_chromium 2013/03/21 15:46:17 It's not clear to me how I'm going to use the andr
128 'buildtool': 'ninja',
129 'ndk_apps' : ['src/webrtc/video_engine/test/android/build_demo.py']
130 }))
131
113 # ChromeOS. 132 # ChromeOS.
114 B('CrOS', 'chromeos_factory', scheduler=scheduler) 133 B('CrOS', 'chromeos_factory', scheduler=scheduler)
115 F('chromeos_factory', linux().WebRTCFactory( 134 F('chromeos_factory', linux().WebRTCFactory(
116 target='Debug', 135 target='Debug',
117 tests=normal_tests, 136 tests=normal_tests,
118 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}})) 137 factory_properties={'gclient_env': {'GYP_DEFINES': 'chromeos=1'}}))
119 138
120 helper.Update(c) 139 helper.Update(c)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698