From Legacy Release Branches (Unsupported)
I download Cef3.4389 and chromium-89.0.4389.114.tar.xz
then combine them as below after unzip
- Code: Select all
--C:\code
|--automate
|--chromium_git
| |--chromium
| |--src
| |--<chromium source code>
| |--cef
| |--<chromium source code>
|--depot_tools
Environment
Windows 10 home edition
DEPOT_TOOLS_WIN_TOOLCHAIN=0
GYP_MSVS_VERSION=2019
GYP_MSVS_OVERRIDE_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
error
- Code: Select all
C:\Users\tipli>cd C:\code\chromium_git\chromium\src\cef
C:\code\chromium_git\chromium\src\cef>create.bat
C:\code\chromium_git\chromium\src\cef>set GN_DEFINES=is_component_build=true
C:\code\chromium_git\chromium\src\cef>set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
C:\code\chromium_git\chromium\src\cef>call cef_create_projects.bat
Generating CEF version header file...
Patching build configuration and source files for CEF...
Apply gritsettings.patch in C:\code\chromium_git\chromium\src
... patch directory is not a repository root.
-------------------------------------------------------------------------------
!!!! ERROR: This patch failed to apply. Your build will not be correct.
-------------------------------------------------------------------------------
Traceback (most recent call last):
File "tools\gclient_hook.py", line 37, 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:\code\depot_tools\gclient_utils.py", line 674, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command 'c:\\code\\depot_tools\\bootstrap-2@3_8_10_chromium_17_bin\\python\\bin\\python.exe tools/patcher.py' returned non-zero exit status 1 in C:\code\chromium_git\chromium\src\cef
my question is, what do I miss? are there any detailed instructions to follow?
thanks