Commit d8679c0
[roll] Roll fuchsia [assembly] Product configs key packages by their name
The product configs now use BTreeMap<String, ProductPackageDetails>
instead of Vec<ProductPackageDetails>, so that the package name is
available to various tools.
Build systems don't generally know the package names, therefore they
cannot construct this map. Build systems can emit a Vec, and
the deserialization will convert that to a map with the names equating
to the index in the vector.
assembly_generate_config will convert those indexes to proper package
names. Any product config that is generated by assembly_generate_config
will then have the proper package names.
For now, we will continue supporting product configs with the old
format.
Original-Bug: 391673787
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1193117
Original-Revision: 829b93719daf85ec8f844a8a4e7e2c53d1a7ffb1
GitOrigin-RevId: a33ffd9adea047d9ada841b293f43313d76bf694
Change-Id: Idad36c478a08a28e2f568e72bca3788ce1f0a4381 parent 9ca7553 commit d8679c0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments