- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome enable_precompiled_headers=false 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:\code\depot_tools --branch=3239 --no-distrib --no-build
Then I changed build.gn, added a line:
- Code: Select all
"//media:media_features"
Then:
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=use_jumbo_build=true is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome enable_precompiled_headers=false
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
call cef_create_projects.bat
And
- Code: Select all
ninja -C out\Debug_GN_x86 cef
cefclient was built but it doesn't show anything and has errors in the log:
- Code: Select all
[0111/045347.213:FATAL:CSSPropertyAPI.h(77)] Check failed: false.
[0111/045347.822:INFO:CONSOLE(0)] "Uncaught (in promise) SyntaxError: Could not resolve '400 10pt Roboto' as a font.", source: https://www.google.com/ (0)
[0111/045455.871:ERROR:process_win.cc(139)] Unable to terminate process: Access is denied. (0x5)
On previous iteration I've build a release in same way, and the page was displayed very ugly, and there was a same message "Could not resolve '400 10pt Roboto' as a font."
How to fix?