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}
This commit is contained in:
mbonadei
2017-02-16 01:40:59 -08:00
committed by Commit bot
parent 7cebe78332
commit 7b2797e7c7

View File

@ -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)