commit | 70913563eebe4468825fd3b19ad327d528e5d955 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Tue Nov 15 21:49:28 2022 -0800 |
committer | Patrick Rohr <prohr@google.com> | Tue Nov 15 21:49:28 2022 -0800 |
tree | a276fd098caf0385eda3f6b0a844351a75357354 | |
parent | 81a4ac30dbbcd88790b664a641a28d2dee031ac7 [diff] |
gn2bp: add code that collects common sources Once sources will be added to a Target.Arch, common sources need to be collected from the arch-dependent object. This is done via finalize() method, which is called once on every Target. Finalize collects the intersection of all sources and subtracts it from the arch dependent sources. Test: //components/cronet/android:cronet Change-Id: If2d0d04ff6c8df0efb541a322bcf2febcf79bb55