Chromium Code Reviews

Unified 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.
Jump to:
View side-by-side diff with in-line comments
Index: masters/master.client.webrtc/master_linux_cfg.py
diff --git a/masters/master.client.webrtc/master_linux_cfg.py b/masters/master.client.webrtc/master_linux_cfg.py
index 5b02310a21dbb21ed33ad5d9be2bf8cebe17a7d4..661f3a3db38d225e34a24f7251a2e12e2b3a07d1 100644
--- a/masters/master.client.webrtc/master_linux_cfg.py
+++ b/masters/master.client.webrtc/master_linux_cfg.py
@@ -12,6 +12,11 @@ def ConfigureBuilders(c, svn_url, branch, category, custom_deps_list=None):
def linux():
return webrtc_factory.WebRTCFactory('src/build', 'linux2', svn_url,
branch, custom_deps_list)
+ def android():
+ return webrtc_factory.WebRTCFactory('src/build', 'linux2', svn_url,
+ branch, nohooks_on_update=True,
+ target_os='android')
+
helper = master_config.Helper(defaults)
B = helper.Builder
F = helper.Factory
@@ -110,6 +115,20 @@ def ConfigureBuilders(c, svn_url, branch, category, custom_deps_list=None):
{'GYP_DEFINES': ('asan=1 release_extra_cflags=-g '
' linux_use_tcmalloc=0 ')}}))
+ # Android.
+ B('Android NDK', 'android_ndk_factory', scheduler=scheduler)
+ F('android_ndk_factory', android().WebRTCAndroidNDKFactory(
+ target='Debug',
+ slave_type='AnnotatedBuilderTester',
+ annotation_script='src/build/android/buildbot/bb_run_bot.py',
+ factory_properties={
+ # This ID is not in bb_run_bot.py yet so it will use the generic
+ # builder config for now.
+ '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
+ 'buildtool': 'ninja',
+ 'ndk_apps' : ['src/webrtc/video_engine/test/android/build_demo.py']
+ }))
+
# ChromeOS.
B('CrOS', 'chromeos_factory', scheduler=scheduler)
F('chromeos_factory', linux().WebRTCFactory(

Powered by Google App Engine