diff --git a/shell/platform/android/test/README.md b/shell/platform/android/test/README.md index 081be70d4a863..ac6edc64299d6 100644 --- a/shell/platform/android/test/README.md +++ b/shell/platform/android/test/README.md @@ -55,11 +55,14 @@ runtime, but not compile time. If so you'll just need to update See the Chromium instructions on ["Updating a CIPD dependency"](https://chromium.googlesource.com/chromium/src/+/master/docs/cipd.md#Updating-a-CIPD-dependency) -for how to upload a package update to CIPD. - -Once you've done that, also make sure to tag the new package version with the -updated timestamp and robolectric version (most likely still 3.8, unless you've -migrated all the packges to 4+). +for how to upload a package update to CIPD. Download and extract the latest +package from CIPD and then copy +[shell/platform/android/test/cipd.yaml](cipd.yaml) into the extracted directory +to use as the base for the pre-existing package. Add new dependencies to `lib/`. + +Once you've uploaded the new version, also make sure to tag it with the updated +timestamp and robolectric version (most likely still 3.8, unless you've migrated +all the packges to 4+). $ cipd set-tag --version= -tag "last_updated:" $ cipd set-tag --version= -tag "robolectric_version:" diff --git a/shell/platform/android/test/cipd.yaml b/shell/platform/android/test/cipd.yaml new file mode 100644 index 0000000000000..ebb96128625ad --- /dev/null +++ b/shell/platform/android/test/cipd.yaml @@ -0,0 +1,4 @@ +package: flutter/android/robolectric_bundle +description: Robolectric 3.8 and associated runtime dependencies. +data: + - dir: lib