05bbe907d7
This enables the serialization to handle references to libraries that are not part of the serialized libraries. This is a step towards removing the need to call computeCanonicalNames from outside the serialization and to always use library filters for serialization of a subset of the libraries in a component. In response to b/235393918 TEST=existing Change-Id: I48cd8b027795850ac2411a80e4b55efd517bb2cc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/248588 Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>