I had to rebuild cef from scratch, after formatting my pc.
Of course, building CEF from latest master branch (commit #f96cd1d), as instructed in MasterBuildQuickStart - it seems like some files are missing in chromium source (i guess they were removed in recent updates)
Specifically 'chromium_git/chromium/src/build/split_static_library.gni' (there may be more files missing, its the first error i encountered)
I have searched for 'split_static_library.gni' file in latest chromium source and couldnt find it.
Here is the full error information:
- Code: Select all
....
Generating CEF project files...
ERROR at //v8/gni/v8.gni:8:1: Unable to load "C:/code/chromium_git/chromium/src/build/split_static_library.gni".
import("//build/split_static_library.gni")
^----------------------------------------
See //tools/v8_context_snapshot/v8_context_snapshot.gni:12:1: whence it was imported.
import("//v8/gni/v8.gni")
^-----------------------
See //services/BUILD.gn:7:1: whence it was imported.
import("//tools/v8_context_snapshot/v8_context_snapshot.gni")
^-----------------------------------------------------------
See //BUILD.gn:78:5: which caused the file to be included.
"//services:services_unittests",
^------------------------------
Traceback (most recent call last):
File "tools\gclient_hook.py", line 146, in <module>
RunAction(src_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 645, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command 'gn gen out\\Release_GN_x86 --ide=vs2019 --sln=cef --filters=//cef/*' returned non-zero exit status 1 in C:\code\chromium_git\chromium\src
I guess master branch should be modified to support recent chromium changes