From 7b2797e7c79b04c6ad5ad1e2ba85b4db85f0e79a Mon Sep 17 00:00:00 2001 From: mbonadei Date: Thu, 16 Feb 2017 01:40:59 -0800 Subject: [PATCH] Including extra_gn_args to log line. In a recent commit we added --extra-gn-args flag but we forgot to log the extra_gn_args variable and this can cause useless investigations. BUG=None NOTRY=True Review-Url: https://codereview.webrtc.org/2698613004 Cr-Commit-Position: refs/heads/master@{#16639} --- tools-webrtc/ios/build_ios_libs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools-webrtc/ios/build_ios_libs.py b/tools-webrtc/ios/build_ios_libs.py index 3740483113..25745e0351 100755 --- a/tools-webrtc/ios/build_ios_libs.py +++ b/tools-webrtc/ios/build_ios_libs.py @@ -115,10 +115,10 @@ def BuildWebRTC(output_dir, target_arch, flavor, build_type, else: raise ValueError('Build type "%s" is not supported.' % build_type) - logging.info('Building WebRTC with args: %s', ' '.join(gn_args)) + args_string = ' '.join(gn_args + extra_gn_args) + logging.info('Building WebRTC with args: %s', args_string) - cmd = ['gn', 'gen', output_dir, - '--args=' + ' '.join(gn_args + extra_gn_args)] + cmd = ['gn', 'gen', output_dir, '--args=' + args_string] _RunCommand(cmd) logging.info('Building target: %s', gn_target_name)