Duplication in Component Builds

206 views
Skip to first unread message

Andrew Grieve

unread,
Mar 14, 2025, 9:53:37 AMMar 14
to build
I was looking at why android component builds are so big, and I think the main reason is that we're not very good about defining GN component() targets.

I've captured findings here: https://crbug.com/403382663
  • is_component_build=true: 1.2gb
  • is_component_build=false: 749M
I created this spreadsheet to show which object files are being duplicated.

Seems likely there are quick wins in there, but also likely that it's a lot of work to get it into a good state.

Anyone want to chip in? Maybe we can create a bit of a rotation to try and create one new component per day?
Reply all
Reply to author
Forward
0 new messages