TypeError: __init__() got an unexpected keyword argument 'always_show_header'
I am following wiki https://bitbucket.org/chromiumembedded/ ... dows-setup for my setup
1. I downloaded from https://storage.googleapis.com/chrome-i ... _tools.zip and ran "update_depot_tools.bat"
2. I downloaded from https://bitbucket.org/chromiumembedded/ ... ate-git.py, created "update.bat" with config below and ran.
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome enable_widevine=true
set GN_ARGUMENTS=--ide=vs2017 --sln=cef
python ..\automate\automate-git.py --download-dir=C:\code\chromium_git --depot-tools-dir=C:\code\depot_tools --no-distrib --no-build --force-clean --branch=4389 --x64-build
3. I created "create.bat" with following config and ran
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome enable_widevine=true
set GYP_DEFINES=buildtype=Official
set GYP_MSVS_VERSION=2017
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
call cef_create_projects.bat
and then I ran into the error
Generating CEF version header file...
Traceback (most recent call last):
File "tools\gclient_hook.py", line 33, in <module>
RunAction(cef_dir, cmd)
File "c:\code\chromium_git\chromium\src\cef\tools\gclient_util.py", line 36, in RunAction
command, cwd=dir, always_show_header=True, print_stdout=True)
File "C:\src\depot_tools\gclient_utils.py", line 565, in CheckCallAndFilter
**kwargs)
File "C:\src\depot_tools\subprocess2.py", line 216, in __init__
super(Popen, self).__init__(args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'always_show_header'
I makes me feel there is some version mismatches, but I tried 4389, 4324 and 4280, all failed with same reason.
Could it be my depot tools too new for the 4389?
If so, how can I grab the correct version for build?
Thanks for any input