Index: tools-webrtc/ios/build_ios_libs.py |
diff --git a/tools-webrtc/ios/build_ios_libs.py b/tools-webrtc/ios/build_ios_libs.py |
index a4ace45b7e795e6b92eab1d53af112d7da977a56..84b07faeb94701f06abd16fdd1731a59c4796ab0 100755 |
--- a/tools-webrtc/ios/build_ios_libs.py |
+++ b/tools-webrtc/ios/build_ios_libs.py |
@@ -116,11 +116,15 @@ def BuildWebRTC(output_dir, target_arch, flavor, build_type, |
raise ValueError('Build type "%s" is not supported.' % build_type) |
logging.info('Building WebRTC with args: %s', ' '.join(gn_args)) |
+ |
cmd = ['gn', 'gen', output_dir, |
'--args=' + ' '.join(gn_args + extra_gn_args)] |
_RunCommand(cmd) |
logging.info('Building target: %s', gn_target_name) |
+ |
cmd = ['ninja', '-C', output_dir, gn_target_name] |
+ if use_goma: |
+ cmd.extend(['j', '200']) |
kjellander_webrtc
2017/02/15 14:40:59
Should be -j
|
_RunCommand(cmd) |
# Strip debug symbols to reduce size. |