and update.bat
- Code: Select all
set GIT_SSL_NO_VERIFY=true
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GN_DEFINES=use_jumbo_build=true
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
python ..\automate\automate-git.py --download-dir=C:\code\chromium_git --depot-tools-dir=c:\depot_tools --no-distrib --no-build --branch=3440 --no-depot-tools-update
then,create.bat
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=use_jumbo_build=true
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
call cef_create_projects.bat
but I'm eventually running into the following errors::
- Code: Select all
Generating CEF project files...
________ running 'gn gen out\Debug_GN_x86 --ide=vs2017 --sln=cef --filters=//cef
/*' in 'C:\code\chromium_git\chromium\src'
ERROR Unresolved dependencies.
//content/renderer:renderer(//build/toolchain/win:win_clang_x86)
needs //third_party/webrtc/api:optional(//build/toolchain/win:win_clang_x86)
//third_party/blink/public:blink_headers(//build/toolchain/win:win_clang_x86)
needs //third_party/webrtc/api:optional(//build/toolchain/win:win_clang_x86)
Traceback (most recent call last):
File "tools\gclient_hook.py", line 133, in <module>
RunAction(src_dir, cmd)
File "C:\code\chromium_git\chromium\src\cef\tools\gclient_util.py", line 39, i
n RunAction
gclient_utils.CheckCallAndFilterAndHeader(command, cwd=dir, always=True)
File "C:\depot_tools\gclient_utils.py", line 314, in CheckCallAndFilterAndHead
er
return CheckCallAndFilter(args, **kwargs)
File "C:\depot_tools\gclient_utils.py", line 578, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command 'gn gen out\\Debug_GN_x86 --ide=vs2017 -
-sln=cef --filters=//cef/*' returned non-zero exit status 1 in C:\code\chromium_
git\chromium\src
C:\code\chromium_git\chromium\src\cef>
I check the python file,and discover the error is c:\depot_tools\gclient_utils.py, funtion CheckCallAndFilter, line 557
- Code: Select all
kid = subprocess2.Popen(
args, bufsize=0, stdout=subprocess2.PIPE, stderr=subprocess2.STDOUT,
**kwargs)
rv = kid.wait()
rv=1 means "Abnormal exit of child process"
Any thoughts about why it might be wrong?
Thanks