[building for yacto linux] size of content_shell is huge

45 views
Skip to first unread message

Rahul Patel

unread,
Jun 9, 2021, 2:30:43 PM6/9/21
to Chromium-dev
Hi Team,
   I have been playing with content_shell to learn and understand the chromium in details, i had started with v83, but had some issues so started settings up the v90 and i am able to build it finally.

I have a device which has only 2gb of RAM but size of the v90 content_shell is 800MB+ , which is blocking me to run the content_Shell binary on device. i am doing for linux 
  1. Is there a way to reduce the size of content_shell for testing ?
  2. what is the good starting point to investigate it ?


Thanks,
 Rahul

Christian Biesinger

unread,
Jun 9, 2021, 3:11:24 PM6/9/21
to patelrah...@gmail.com, Chromium-dev
I haven't gone through that full file but make sure you set these flags:
is_official_build=true
is_debug=false
is_component_build=false

800 MB sounds too big for content shell...

Christian
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/9c5ca9f5-3f0e-4eac-ab64-1ef17c08fe5dn%40chromium.org.

Rahul Patel

unread,
Jun 10, 2021, 9:41:18 AM6/10/21
to Christian Biesinger, Chromium-dev
Hi Christian,
  Thanks for sharing these flags, I am already using these flags, but I did the double check but found no reduction. 

i am building for yocto so not sure if args.gn should be different ?
Reply all
Reply to author
Forward
0 new messages