Android: update patch size reference APKs for m59.
Also change the CURRENT_MILESTONE to 59 and make the docs a little easier to follow. BUG= TBR=agrieve@chromium.org Review-Url: https://codereview.chromium.org/2820163003 Cr-Original-Commit-Position: refs/heads/master@{#465039} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: fb11d048bac3ddc72bb78399e5b7e8057fd050c7
This commit is contained in:
Родитель
0cca6c6674
Коммит
15013685bd
|
@ -15,7 +15,7 @@ sys.path.append(os.path.join(host_paths.DIR_SOURCE_ROOT, 'build'))
|
||||||
import find_depot_tools # pylint: disable=import-error,unused-import
|
import find_depot_tools # pylint: disable=import-error,unused-import
|
||||||
import download_from_google_storage
|
import download_from_google_storage
|
||||||
|
|
||||||
CURRENT_MILESTONE = '58'
|
CURRENT_MILESTONE = '59'
|
||||||
DEFAULT_BUCKET = 'gs://chromium-android-tools/apks'
|
DEFAULT_BUCKET = 'gs://chromium-android-tools/apks'
|
||||||
DEFAULT_DOWNLOAD_PATH = os.path.join(os.path.dirname(__file__), 'apks')
|
DEFAULT_DOWNLOAD_PATH = os.path.join(os.path.dirname(__file__), 'apks')
|
||||||
DEFAULT_BUILDER = 'Android_Builder'
|
DEFAULT_BUILDER = 'Android_Builder'
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
286671da954e55a708481042276d209f769d3af8
|
|
@ -0,0 +1 @@
|
||||||
|
b7d2c8299b263d33e76b9d845bfea7631cca1fc2
|
|
@ -0,0 +1 @@
|
||||||
|
e292bd4db30461f755188059a5ca31053b6720b8
|
|
@ -0,0 +1 @@
|
||||||
|
62897dbec4761546b9c94e258c99c51dc816c1a9
|
|
@ -0,0 +1 @@
|
||||||
|
9f2e5aee1ca7d8a88e05587137a0f4859e76296b
|
|
@ -4,21 +4,24 @@
|
||||||
latest builds are m59, we want to compare to the commit before the m58 branch
|
latest builds are m59, we want to compare to the commit before the m58 branch
|
||||||
point).
|
point).
|
||||||
|
|
||||||
2. Download and unzip build artifacts from the relevant perf builder. You can
|
2. Download and unzip build artifacts from the relevant perf builder.
|
||||||
use this link:
|
|
||||||
[https<nolink>://storage.cloud.google.com/chrome-perf/**Android%20Builder**/full-build-linux_**3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a**.zip](https://storage.cloud.google.com/chrome-perf/Android%20Builder/full-build-linux_3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a.zip)
|
|
||||||
, replacing the bolded parts with your info OR from the
|
|
||||||
"gsutil upload_build_product" step on the bot page (both are Googlers only).
|
|
||||||
|
|
||||||
3. Upload the apk: _upload_to_google_storage.py --bucket
|
gsutil.py cp 'gs://chrome-perf/Android Builder/full-build-linux_COMMITHASH.zip' /dest/dir
|
||||||
'chromium-android-tools/apks/**Android_Builder**/**58**'
|
|
||||||
**path/to/ApkTarget.apk**_ replacing the bolded parts again.
|
|
||||||
* Note that we use **Android_Builder** instead of **Android Builder** (replace
|
|
||||||
spaces with underscores)
|
|
||||||
|
|
||||||
4. Move the generated .sha1 file to the corresponding place in
|
3. Unzip. Steps 4, 5, and 6 must be done for MonochromePublic.apk for
|
||||||
//build/android/binary_size/apks/. In this case, the path would be
|
`gs://chrome-perf/Android Builder` and ChromeModernPublic.apk for
|
||||||
//build/android/binary_size/apks/Android_Builder/58
|
`gs://chrome-perf/Android arm64 Builder` (and can be done for additional APKS,
|
||||||
|
but these are the ones used by `build/android/resource_sizes.py`)
|
||||||
|
|
||||||
5. Commit the added .sha1 files and (optionally) update the `CURRENT_MILESTONE`
|
4. Upload the apk (replacing the bolded parts again - note that we use
|
||||||
|
**Android_Builder** instead of **Android Builder** (replace spaces with
|
||||||
|
underscores):
|
||||||
|
|
||||||
|
upload_to_google_storage.py --bucket 'chromium-android-tools/apks/Android_Builder/58' dest/dir/MonochromePublic.apk
|
||||||
|
|
||||||
|
5. Move the generated .sha1 file to the corresponding place in
|
||||||
|
`//build/android/binary_size/apks/`. In this case, the path would be
|
||||||
|
`//build/android/binary_size/apks/Android_Builder/58`
|
||||||
|
|
||||||
|
6. Commit the added .sha1 files and (optionally) update the `CURRENT_MILESTONE`
|
||||||
in apk_downloader.py
|
in apk_downloader.py
|
||||||
|
|
Загрузка…
Ссылка в новой задаче