Precache platform filter change (#53701)

Makes the following changes to the behavior of precache:
- The --all-platforms flags now fetches all artifacts, rather than just
  turning off platform filtering of selected artifacts.
- Explicitly requested artifacts are no longer subject to platform
  filtering. E.g., 'precache --ios' will download iOS artifacts on
  Windows and Linux (but 'precache' without an 'ios' flag will still
  only download iOS artifacts on macOS).
- Desktop platform artifacts now respect the bypassing of platform
  filtering.

Fixes #53272
This commit is contained in:
stuartmorgan
2020-04-01 10:54:59 -07:00
committed by GitHub
parent 67f70b4532
commit 445b5a14f2
5 changed files with 199 additions and 31 deletions

View File

@@ -829,6 +829,9 @@ class FakeCache implements Cache {
@override
bool includeAllPlatforms;
@override
Set<String> platformOverrideArtifacts;
@override
bool useUnsignedMacBinaries;