Commit d1e8c8a3 authored by Roger Tawa's avatar Roger Tawa Committed by Commit Bot

Remove noise from gcp_installer build step.

Bug: 896530
Change-Id: Ifb2c9fae46e8a8c0c02d23fd5a3f36cd1a183cff
Reviewed-on: https://chromium-review.googlesource.com/c/1294392
Commit-Queue: Roger Tawa <rogerta@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602075}
parent 54a67140
...@@ -107,15 +107,20 @@ def main(): ...@@ -107,15 +107,20 @@ def main():
# Add the credential provider dll and setup programs to the archive. # Add the credential provider dll and setup programs to the archive.
# If the files added to the archive are changed, make sure to update the # If the files added to the archive are changed, make sure to update the
# kFilenames array in setup_lib.cc. # kFilenames array in setup_lib.cc.
os.chdir(args.root_build_path)
subprocess.call(cmd + ['gaia1_0.dll']) # 7zip and copy commands don't have a "silent" mode, so redirecting stdout
subprocess.call(cmd + ['gcp_setup.exe']) # and stderr to nul.
subprocess.call(cmd + ['gcp_eventlog_provider.dll']) with open('nul') as nul_file:
os.chdir(args.root_build_path)
subprocess.check_call(cmd + ['gaia1_0.dll'], stdout=nul_file)
subprocess.check_call(cmd + ['gcp_setup.exe'], stdout=nul_file)
subprocess.check_call(cmd + ['gcp_eventlog_provider.dll'], stdout=nul_file)
# Combine the SFX module with the archive to make a self extracting # Combine the SFX module with the archive to make a self extracting
# executable. # executable.
command = 'copy /b %s + %s %s' % (sfx_fn, gcp_7z_fn, gcp_installer_fn) command = 'copy /b %s + %s %s > nul' % (sfx_fn, gcp_7z_fn, gcp_installer_fn)
subprocess.call(command, shell=True) subprocess.check_call(command, shell=True)
return 0 return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment