Problem building 4951 branch in Windows 10

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: Problem building 4951 branch in Windows 10

Postby rjxray » Tue May 03, 2022 4:19 am

I tried setting GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome is_component_build=true
But got assert(!is_component_build)

So instead tried setting GN_DEFINES=is_component_build=true proprietary_codecs=true ffmpeg_branding=Chrome
and am building with that

Is there anywhere I can find a list of the possible GN_DEFINES and their usages?
What GN_DEFINES are used for the official builds? I guess is_official_build=true but are there any others?
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Problem building 4951 branch in Windows 10

Postby amaitland » Tue May 03, 2022 4:25 am

Component builds are only for local debugging.

Official build args are listed at https://bitbucket.org/chromiumembedded/ ... figuration
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: Problem building 4951 branch in Windows 10

Postby rjxray » Tue May 03, 2022 4:58 am

I've just realized the previous build failed because of LLVM ERROR: IO failure on output stream: no space on device.
I'll make some space and retry that
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Problem building 4951 branch in Windows 10

Postby rjxray » Tue May 03, 2022 12:04 pm

A build with GN_DEFINES set to is_official_build=true use_thin_lto=false proprietary_codecs=true ffmpeg_branding=Chrome works OK

So it seems use_thin_lto=false is now required
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Problem building 4951 branch in Windows 10

Postby rjxray » Thu Aug 11, 2022 2:06 am

I am now building 5060 branch and have hit the same issue with apache
Code: Select all
Running hooks:  29% (39/131) apache_win32
________ running 'python3 src/third_party/depot_tools/download_from_google_storage.py --no_resume --directory --recursive --no_auth --num_threads=16 --bucket chromium-apache-win32 src/third_party/apache-win32' in 'D:\CefBuild5060\chromium'
Access is denied.

Failed to fetch file gs://chromium-apache-win32/50699041060d14576ed7bacbd44be9af80eb902a for src/third_party/apache-win32\bin\api-ms-win-core-processthreads-l1-1-0.dll. [Err: Access is denied.

It appears this issue was transient previously and retrying the build might fix it.
However rerunning automate git does not retry this download.
Is there any way to force that without starting again from scratch?
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Re: Problem building 4951 branch in Windows 10

Postby magreenblatt » Thu Aug 11, 2022 8:42 am

You can run "gclient runhooks" manually. If it otherwise succeeds you won't need the apache files for a CEF build. See also https://bitbucket.org/chromiumembedded/ ... e-failures
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Problem building 4951 branch in Windows 10

Postby rjxray » Sat Aug 13, 2022 3:18 am

I had already tried "gclient runhooks" which didn't appear to do anything.
So I tried "gclient sync --with_branch_heads" and then I could continue and build normally
Thanks for the help
rjxray
Expert
 
Posts: 115
Joined: Wed Jun 07, 2017 4:31 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 28 guests