summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-10-16 21:17:30 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-16 21:17:30 +0000
commit1b0f705951ff46e02d6638e1faa5dd944cc81bd9 (patch)
tree8348de34051a2567968dc4423c2440a6a2dafdb8
parent9c7d97938107b6844b1e2f268af39f2f840c1d5a (diff)
parent4cff1941f523228c7b7f256be2c4b47cf6abdcfc (diff)
downloadruntime-1b0f705951ff46e02d6638e1faa5dd944cc81bd9.tar.gz
Merge "Extend the docs somewhat to avoid downloading unneeded prebuilts when doing an update." into main am: a27964c3ee am: 0eb1a78645 am: b126ada5c3 am: 4cff1941f5
Original change: https://android-review.googlesource.com/c/platform/prebuilts/runtime/+/2785966 Change-Id: I4213d29fbde8ba099599f3a8610b1a0164e1e5c5 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