Size of binaries

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.

Size of binaries

Postby whitewind » Tue May 30, 2017 3:55 am

Can I reduce the size of libraries?
Full size of CEF is now 120Mb, non-optional files are 78Mb.
Are there some compile-time options to disable some components?

FAQ link http://neugierig.org/software/chromium/bloat/ is really outdated/
whitewind
Newbie
 
Posts: 1
Joined: Tue May 30, 2017 3:31 am

Re: Size of binaries

Postby Czarek » Tue May 30, 2017 12:52 pm

Nothing like that officially supported. On Windows you can use UPX, on Linux the strip command. You can create an online installer that downloads files during installation.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: Size of binaries

Postby HarmlessDave » Tue May 30, 2017 12:57 pm

I wonder how useful it would be to maintain a set of switches / flags for building without features for CEF3 + Chromium? My guess is it's not worth the extra maintenance and testing headaches for the low use it would get.

The only feature of Chromium that we'd definitely disable when building from source is the F12 support. If there was a list of 20 features then there might be a few more, but I have no idea what they'd be.
HarmlessDave
Expert
 
Posts: 370
Joined: Fri Jul 11, 2014 2:02 pm

Re: Size of binaries

Postby magreenblatt » Tue May 30, 2017 2:15 pm

CEF and Chromium generally do not support alternate build configurations that are not tested as part of the normal development process.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 97 guests