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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user