summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-10-16 20:41:11 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-16 20:41:11 +0000
commit4cff1941f523228c7b7f256be2c4b47cf6abdcfc (patch)
tree8348de34051a2567968dc4423c2440a6a2dafdb8
parentf8733a0af91bcfda11419fd4220ae55269bea1f4 (diff)
parentb126ada5c31331118a98df778839143767db41d1 (diff)
downloadruntime-4cff1941f523228c7b7f256be2c4b47cf6abdcfc.tar.gz
Merge "Extend the docs somewhat to avoid downloading unneeded prebuilts when doing an update." into main am: a27964c3ee am: 0eb1a78645 am: b126ada5c3
Original change: https://android-review.googlesource.com/c/platform/prebuilts/runtime/+/2785966 Change-Id: I2802a3cab6943606a848948add4ceb4bad87ec95 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--mainline/README.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/mainline/README.md b/mainline/README.md
index c7e93a4a..2a12d8d5 100644
--- a/mainline/README.md
+++ b/mainline/README.md
@@ -18,7 +18,10 @@ To update:
In general `mainline_modules_sdks-userdebug` is the slowest build to
complete, so look for that to be on the safe side.
-3. Run:
+3. Edit the list returned by `install_entries` in `update.py` in this directory
+ to only cover the updates you need (this change shouldn't be submitted).
+
+4. Run:
```
prebuilts/runtime/mainline/update.py \
@@ -33,13 +36,13 @@ To update:
corresponding CI builds so they may not be complete - see `update.py` for
details.
-4. Try to minimize the updates in the created CLs and ensure they are safe. This
- usually means reverting some prebuilts back to their old contents, and
- reverting specific hunks in the Android.bp files. Also, please improve the
- autogenerated CL descriptions to make them more accurate and describe the
+5. Try to further minimize the updates in the created CLs and ensure they are
+ safe. This usually means reverting some prebuilts back to their old contents,
+ and reverting specific hunks in the `Android.bp` files. Also, please improve
+ the autogenerated CL descriptions to make them more accurate and describe the
reason for the update. Please avoid doing any other changes - in particular
there must be no local change in any prebuilt file (not counting
- Android.bp's). mast@google.com is happy to help with review.
+ `Android.bp`'s). mast@google.com is happy to help with reviews.
Note that the script takes a `--local-dist` argument that you can use to test
with prebuilts from a local build in another tree. However, CLs created that way