Extend the update.py script to determine usage.

After you run a build that uses the full (or any) vendor
snapshot, you can use ninja to determine which files in
the vendor snapshot contribute to a given goal, which is
generally a subset of the content of a full vendor
snapshot. This information can be fed back to the
snapshot generation process to tailor the snapshot
generation towards its expected usage.

Bug: 157967325
Test: manual test
Change-Id: I0c886d130633e2ba84e9d89ae60c1faaaf9be1c4
(cherry picked from commit 8070a1ad1e3b08de9af379a736e1d67be43719dc)
1 file changed