Bruce Dawson
unread,Feb 28, 2022, 10:16:11 PM2/28/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev, dud...@gmail.com, sven...@chromium.org, Chromium-dev
Once you are stripping the binary you don't need to set the symbol_level settings to zero, because that just reduces the amount of debug information and stripping should remove that. If you leave the symbol_level settings alone (or set symbol_level=2) then you will have a binary that you can debug, which is valuable.
What binary are you seeing is 83 MB on Linux? The chrome binary on my Linux machine is 189 MB, and there are many other files needed to run Chrome so the total is probably close to 260 MB. Also, binary or metric MB? I'm using metric MB. Either way, if you're seeing an 83 MB Chrome binary on Linux it is probably an installer package or something like that and hence compressed, because the main Chrome binary is much larger than that.
The only other settings I see for our official Linux builds are dcheck_always_on = false and is_chrome_branded = true. I'm not sure what the default is for dcheck_always_on in official builds, so try setting that. You can't set is_chrome_branded unless you work at Google, and that wouldn't cause huge size differences anyway.
Let us know what instructions you were using and maybe we can improve them - it sounds like mentioning "strip", and possibly "dcheck_always_on = false" might be a good idea.