We have a very messy and fragile process of figuring out what to archive from our builds, involving a bunch of pieces like the FILES.cfg files in chromium/src and the archive_*.py tools in build/scripts/slave (and the related official_*.py scripts in build_internal/scripts/slave-internal). Would it be possible to replace all that with GN build targets to define/generate the archives, and basic recipes steps to handle the uploads?
This would make bot handling simpler and more robust, since the existing scripts aren't really well-integrated with recipes and thus not covered by the test infrastructure, and it would also add functionality, like allowing devs to generate and test archive files locally, which is currently difficult to do outside of the bot environment.
I haven't dealt much with these tools in a while, so it's possible I'm forgetting some compelling reason for their existence, but are there any? Are they just a legacy of a time before we had a capable enough build system?
Comment 1 by dpranke@chromium.org
, Apr 2 2017