CEF 3945 build errors, troubles with perfetto?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Fri Jul 24, 2020 1:14 pm

Czarek wrote:Try a new clean build from a new cmd window and use only commands from the wiki: https://bitbucket.org/chromiumembedded/ ... figuration


I did everything in accordance with the wiki

Code: Select all
set GN_DEFINES=is_official_build=true
set GYP_MSVS_VERSION=2019
set CEF_ARCHIVE_FORMAT=tar.bz2
python ..\automate\automate-git.py --download-dir=%CHR_GIT_PATH% --depot-tools-dir=%DEPOT_PATH% --no-distrib --no-build  --branch=4147 --force-clean --x64-build
cd chromium\src\cef
call cef_create_projects.bat
ninja -C out\Release_GN_x64_sandbox cef_sandbox


And got the same result when building the sandbox version:

Code: Select all
ninja: Entering directory `out\Release_GN_x64_sandbox'
[507/507] LIB obj/cef/cef_sandbox.lib


Only the file cef_sandbox.lib is created. The version without sandbox builds without problems.
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Fri Jul 24, 2020 1:17 pm

ally wrote:Only the file cef_sandbox.lib is created.

Yes, that is the point of the sandbox build. See https://bitbucket.org/chromiumembedded/ ... ndowsmacos
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: CEF 3945 build errors, troubles with perfetto?

Postby ndesktop » Mon Jul 27, 2020 1:09 am

Code: Select all
ninja -C out\Release_GN_x64_sandbox cef_sandbox
will build you only the sandbox.
Try
Code: Select all
ninja -C out\Release_GN_x64_sandbox cefclient
for a CEF build.
ndesktop
Master
 
Posts: 754
Joined: Thu Dec 03, 2015 10:10 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Mon Jul 27, 2020 9:23 am

ndesktop wrote:
Code: Select all
ninja -C out\Release_GN_x64_sandbox cef_sandbox
will build you only the sandbox.
Try
Code: Select all
ninja -C out\Release_GN_x64_sandbox cefclient
for a CEF build.

No, cef/cefclient cannot be built in the Release_GN_x64_sandbox directory. Use Release_GN_x64 instead.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Re: CEF 3945 build errors, troubles with perfetto?

Postby ndesktop » Mon Jul 27, 2020 9:28 am

Uh, I did not notice Release_GN_x64_sandbox. Are such combinations $(Configuration)_GN_$(Platform)_$(feature) supported?
ndesktop
Master
 
Posts: 754
Joined: Thu Dec 03, 2015 10:10 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Mon Jul 27, 2020 10:04 am

Building cef_sandbox is a special case. See the above wiki link.
magreenblatt
Site Admin
 
Posts: 12402
Joined: Fri May 29, 2009 6:57 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 38 guests