How to have a minimum sized CEF application ?

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.

How to have a minimum sized CEF application ?

Postby Subhash » Wed May 17, 2017 11:25 am

I want to create an application with CEF simple for linux64. I downloaded and built the application but the resulting application size is ~ 500 MB. It's because of the huge size of libcef.so. I just want the feature of loading a local html file with some js files. Is it somehow possible to reduce the size of libcef.so for the described feature ?
Subhash
Newbie
 
Posts: 3
Joined: Wed May 17, 2017 11:13 am

Re: How to have a minimum sized CEF application ?

Postby magreenblatt » Wed May 17, 2017 12:23 pm

Run the command: strip libcef.so
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: How to have a minimum sized CEF application ?

Postby Subhash » Thu May 18, 2017 2:36 am

Sorry! But I didn't understand 'strip libcef.so'. Can you please provide a detailed answer on how to 'strip libcef.so' ?
Subhash
Newbie
 
Posts: 3
Joined: Wed May 17, 2017 11:13 am

Re: How to have a minimum sized CEF application ?

Postby magreenblatt » Thu May 18, 2017 2:46 am

magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: How to have a minimum sized CEF application ?

Postby Subhash » Thu May 18, 2017 2:54 am

Thank you! Now the size of libcef.so is reduced to 120 MB from ~500 MB.
Subhash
Newbie
 
Posts: 3
Joined: Wed May 17, 2017 11:13 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 56 guests