diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-12-10 22:43:27 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-12-10 22:43:27 +0000 |
commit | 7611a95d0a02ae40b0875e96cdae96f1f33feea4 (patch) | |
tree | 1bf81519a6a5d4ea4c5344c5f7365773183e0461 | |
parent | c41885141376b152e83fb6cc706b6ecf6c4bba80 (diff) | |
parent | e8ee14c240a8e73ea0f49be6f19642b9abaee526 (diff) | |
download | guava-7611a95d0a02ae40b0875e96cdae96f1f33feea4.tar.gz |
Merge "Add instructions for updating external/guava" am: a04a846786 am: ba149bac75 am: b02d824e72 am: e8ee14c240
Original change: https://android-review.googlesource.com/c/platform/external/guava/+/1916937
Change-Id: I2223e13ea95e7f98b99f06f1b7227abe0352e9ed
-rw-r--r-- | Android.bp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 2fdd93ca6..376abe982 100644 --- a/Android.bp +++ b/Android.bp @@ -49,6 +49,24 @@ license { ], } +// Instructions for updating the guava version +// +// Guava updates must be merged to AOSP first. Make sure you are not using a +// shallow copy of the Android tree to run the following instructions: +// +// 1. File a bug to generate a branch with the version you want to update to. +// You can use b/209469232 as starting point. This step will generate an +// upstream branch. +// 2. Create your work branch using `repo start <your_branch_name>`. +// 3. Fetch the upstream branch using `git fetch aosp <upstream_branch_name>`. +// 4. Run the merge using `git merge FETCH_HEAD`. +// 5. Update the METADATA file in this directory to reflect your changes. +// +// Note: When running `repo upload` to generate the CL, repo will produce a +// warning about the number of commits you are trying to upload. This is +// expected, and you can accept safely (a single gerrit "merge commit" change +// will be created). + java_library { name: "guava", host_supported: true, |