Hello, @amaitland Yes, I already see it.
Now I try to build with the next update.bat file (step 6, from here
https://bitbucket.org/chromiumembedded/ ... ckStart.md)
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
C:\Users\nikin\AppData\Local\Programs\Python\Python39\python.exe ..\automate\automate-git.py --download-dir=c:\CEF\chromium_git --branch=4577 --minimal-distrib --client-distrib --x64-build --depot-tools-dir=c:\CEF\depot_tools
But I ran into the following problem
- Code: Select all
Apply browser_security_policy_1081397.patch in c:\CEF\chromium_git\chromium\src
10 0 content/browser/child_process_security_policy_impl.cc
15 0 content/browser/renderer_host/navigation_request.cc
... successfully applied.
Apply linux_chrome_page_info_1099927.patch in c:\CEF\chromium_git\chromium\src
4 0 chrome/browser/ui/page_info/chrome_page_info_client.cc
... successfully applied.
Apply chrome_browser_background_mode_1100085.patch in c:\CEF\chromium_git\chromium\src
7 0 chrome/browser/app_controller_mac.mm
1 1 chrome/browser/browser_process.h
1 5 chrome/browser/browser_process_impl.cc
1 1 chrome/browser/browser_process_impl.h
2 0 chrome/browser/lifetime/browser_close_manager.cc
... successfully applied.
Apply base_string_piece_1049498.patch in c:\CEF\chromium_git\chromium\src
1 0 base/strings/string_piece.h
... successfully applied.
Apply linux_atk_1123214.patch in c:\CEF\chromium_git\chromium\src
1 1 build/config/linux/atk/BUILD.gn
1 1 build/config/linux/atspi2/BUILD.gn
... successfully applied.
Apply chrome_browser_privacy_1119417.patch in c:\CEF\chromium_git\chromium\src
4 0 chrome/browser/privacy/BUILD.gn
13 3 third_party/protobuf/proto_library.gni
... successfully applied.
73 patches total (72 applied, 1 skipped, 0 failed)
Generating CEF project files...
Creating c:\CEF\chromium_git\chromium\src\out\Debug_GN_x64 directory.
Traceback (most recent call last):
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 584, in <module>
sys.exit(main())
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 580, in main
return commands[sys.argv[1]](*sys.argv[2:])
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 411, in CopyDlls
_CopyDebugger(target_dir, target_cpu)
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 444, in _CopyDebugger
raise Exception('%s not found in "%s"\r\nYou must install'
Exception: dbghelp.dll not found in "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll"
You must installWindows 10 SDK version 10.0.19041.0 including the "Debugging Tools for Windows" feature.
ERROR at //build/toolchain/win/BUILD.gn:54:3: Script returned non-zero exit code.
exec_script("../../vs_toolchain.py",
^----------
Current dir: c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64/
Command: c:/CEF/depot_tools/bootstrap-2@3_8_10_chromium_20_bin/python3/bin/python3.exe c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py copy_dlls c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64 Release x64
Returned 1 and printed out:
Copying C:\Windows\System32\msvcp140.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\msvcp140.dll...
Copying C:\Windows\System32\vccorlib140.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\vccorlib140.dll...
Copying C:\Windows\System32\vcruntime140.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\vcruntime140.dll...
Copying C:\Windows\System32\vcruntime140_1.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\vcruntime140_1.dll...
Copying C:\Windows\System32\ucrtbase.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\ucrtbase.dll...
See //BUILD.gn:73:1: which caused the file to be included.
group("gn_all") {
^----------------
Traceback (most recent call last):
File "c:\CEF\chromium_git\chromium\src\cef\tools\gclient_hook.py", line 146, in <module>
RunAction(src_dir, cmd)
File "c:\CEF\chromium_git\chromium\src\cef\tools\gclient_util.py", line 35, in RunAction
gclient_utils.CheckCallAndFilter(
File "c:\CEF\depot_tools\gclient_utils.py", line 672, in CheckCallAndFilter
raise subprocess2.CalledProcessError(
subprocess2.CalledProcessError: Command 'gn gen out\\Debug_GN_x64 --ide=vs2019 --sln=cef --filters=//cef/*' returned non-zero exit status 1 in c:\CEF\chromium_git\chromium\src
Traceback (most recent call last):
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 584, in <module>
sys.exit(main())
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 580, in main
return commands[sys.argv[1]](*sys.argv[2:])
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 411, in CopyDlls
_CopyDebugger(target_dir, target_cpu)
File "c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py", line 444, in _CopyDebugger
raise Exception('%s not found in "%s"\r\nYou must install'
Exception: dbghelp.dll not found in "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\dbghelp.dll"
You must installWindows 10 SDK version 10.0.19041.0 including the "Debugging Tools for Windows" feature.
ERROR at //build/toolchain/win/BUILD.gn:54:3: Script returned non-zero exit code.
exec_script("../../vs_toolchain.py",
^----------
Current dir: c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64/
Command: c:/CEF/depot_tools/bootstrap-2@3_8_10_chromium_20_bin/python3/bin/python3.exe c:/CEF/chromium_git/chromium/src/build/vs_toolchain.py copy_dlls c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64 Release x64
Returned 1 and printed out:
Copying C:\Windows\System32\msvcp140.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\msvcp140.dll...
Copying C:\Windows\System32\vccorlib140.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\vccorlib140.dll...
Copying C:\Windows\System32\vcruntime140.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\vcruntime140.dll...
Copying C:\Windows\System32\vcruntime140_1.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\vcruntime140_1.dll...
Copying C:\Windows\System32\ucrtbase.dll to c:/CEF/chromium_git/chromium/src/out/Debug_GN_x64\ucrtbase.dll...
See //BUILD.gn:73:1: which caused the file to be included.
group("gn_all") {
^----------------
Traceback (most recent call last):
File "C:\CEF\automate\automate-git.py", line 1462, in <module>
run('%s %s' % (python_exe, tool), cef_src_dir, depot_tools_dir)
File "C:\CEF\automate\automate-git.py", line 69, in run
return subprocess.check_call(
File "C:\Users\nikin\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\\CEF\\depot_tools\\python3.bat', 'c:\\CEF\\chromium_git\\chromium\\src\\cef\\tools\\gclient_hook.py']' returned non-zero exit status 1.
My PC configuration just in case
Windows 10 Home,
AMD Ryzen 7 3700X 8-Core
32 GB RAM
Nvidia Geforce GT1030
Samsung SSD 970 EVO (500GB)
Visual Studio 2019 Community 16.10.4