OLD | NEW |
1 ### Updating APKs in this folder (for new milestones, builders, or APKs) | 1 ### Updating APKs in this folder (for new milestones, builders, or APKs) |
2 | 2 |
3 1. Find the commit as close as possible to the current branch point (i.e. if the | 3 1. Find the commit as close as possible to the current branch point (i.e. if the |
4 latest builds are m59, we want to compare to the commit before the m58 branch | 4 latest builds are m59, we want to compare to the commit before the m58 branch |
5 point). | 5 point). |
6 | 6 |
7 2. Download and unzip build artifacts from the relevant perf builder. You can | 7 2. Download and unzip build artifacts from the relevant perf builder. |
8 use this link: | |
9 [https<nolink>://storage.cloud.google.com/chrome-perf/**Android%20Builder**/full
-build-linux_**3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a**.zip](https://storage.c
loud.google.com/chrome-perf/Android%20Builder/full-build-linux_3a87aecc31cd1ffe7
51dd72c04e5a96a1fc8108a.zip) | |
10 , replacing the bolded parts with your info OR from the | |
11 "gsutil upload_build_product" step on the bot page (both are Googlers only). | |
12 | 8 |
13 3. Upload the apk: _upload_to_google_storage.py --bucket | 9 gsutil.py cp 'gs://chrome-perf/Android Builder/full-build-linux_COMMITHASH.z
ip' /dest/dir |
14 'chromium-android-tools/apks/**Android_Builder**/**58**' | |
15 **path/to/ApkTarget.apk**_ replacing the bolded parts again. | |
16 * Note that we use **Android_Builder** instead of **Android Builder** (replace | |
17 spaces with underscores) | |
18 | 10 |
19 4. Move the generated .sha1 file to the corresponding place in | 11 3. Unzip. Steps 4, 5, and 6 must be done for MonochromePublic.apk for |
20 //build/android/binary_size/apks/. In this case, the path would be | 12 `gs://chrome-perf/Android Builder` and ChromeModernPublic.apk for |
21 //build/android/binary_size/apks/Android_Builder/58 | 13 `gs://chrome-perf/Android arm64 Builder` (and can be done for additional APKS, |
| 14 but these are the ones used by `build/android/resource_sizes.py`) |
22 | 15 |
23 5. Commit the added .sha1 files and (optionally) update the `CURRENT_MILESTONE` | 16 4. Upload the apk (replacing the bolded parts again - note that we use |
| 17 **Android_Builder** instead of **Android Builder** (replace spaces with |
| 18 underscores): |
| 19 |
| 20 upload_to_google_storage.py --bucket 'chromium-android-tools/apks/Android_Bu
ilder/58' dest/dir/MonochromePublic.apk |
| 21 |
| 22 5. Move the generated .sha1 file to the corresponding place in |
| 23 `//build/android/binary_size/apks/`. In this case, the path would be |
| 24 `//build/android/binary_size/apks/Android_Builder/58` |
| 25 |
| 26 6. Commit the added .sha1 files and (optionally) update the `CURRENT_MILESTONE` |
24 in apk_downloader.py | 27 in apk_downloader.py |
OLD | NEW |