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..79b19a0ca75e71de3991cf2c443e5bc0820333be 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']) |
_RunCommand(cmd) |
# Strip debug symbols to reduce size. |