Libraries generated on build is not the same as cef redist.

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.

Libraries generated on build is not the same as cef redist.

Postby Dhvaj17 » Wed Mar 03, 2021 3:03 am

Hi,
I have build CEF branch 4240 successfully. But the libraries generated are not in exact same size as that compared to the libraries provided in nuget package from cef redist x64 nuget package.
Below are the differences in libraries for X64 build.

Libraries -- SizeFromBuild(MinimalDistribution/Release) -- SizeinCefRedist

libcef.dll -- 135448 Kb -- 133881 kb
libegl.dll -- 383 kb -- 388 Kb
libGLESv2.dll -- 6185 kb -- 6190 kb
chrome_elf -- 983 Kb -- 987 Kb

Below is the command i have used to download and build the source code.

set GN_DEFINES=is_component_build=false is_official_build=true proprietary_codecs=true ffmpeg_branding="Chrome"
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
python D:\code\automate\automate-git.py --download-dir=D:\code\chromium_git --depot-tools-dir=D:\code\depot_tools --branch=4240 --minimal-distrib --client-distrib --x64-build --no-debug-build

Any reason for this difference?

Any help will be appreciated.
Dhvaj17
Techie
 
Posts: 36
Joined: Fri Oct 16, 2020 4:51 am

Re: Libraries generated on build is not the same as cef redi

Postby ndesktop » Wed Mar 03, 2021 3:57 am

proprietary_codecs=true is surely *not* used building the redist.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 47 guests