Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Issue 874243002: Support uploading Mojo Shell on Android. (Closed)

Created:
5 years, 11 months ago by blundell
Modified:
5 years, 10 months ago
Reviewers:
jamesr, qsr
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Support uploading Mojo Shell on Android. This change augments upload_shell_binary.py to allow uploading the shell on Android as well as on Linux. Future work will make a similar change to download_shell_binary.py. R=qsr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/6cf1799caed2b018e545eef1bf499ef5b01ec731

Patch Set 1 #

Total comments: 8

Patch Set 2 : Response to qsr's review #

Total comments: 2

Patch Set 3 : Response to qsr's review #

Total comments: 4

Patch Set 4 : Use ZIP_STORED on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -14 lines) Patch
M mojo/tools/mopy/paths.py View 1 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/tools/upload_shell_binary.py View 1 2 3 2 chunks +29 lines, -14 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
blundell
5 years, 11 months ago (2015-01-26 15:48:14 UTC) #2
qsr
https://codereview.chromium.org/874243002/diff/1/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/1/mojo/tools/upload_shell_binary.py#newcode18 mojo/tools/upload_shell_binary.py:18: def upload(dry_run, verbose, android): Should you take a config ...
5 years, 11 months ago (2015-01-26 15:57:47 UTC) #3
blundell
https://codereview.chromium.org/874243002/diff/1/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/1/mojo/tools/upload_shell_binary.py#newcode18 mojo/tools/upload_shell_binary.py:18: def upload(dry_run, verbose, android): On 2015/01/26 15:57:47, qsr wrote: ...
5 years, 11 months ago (2015-01-26 16:22:43 UTC) #4
qsr
https://codereview.chromium.org/874243002/diff/20001/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/20001/mojo/tools/upload_shell_binary.py#newcode32 mojo/tools/upload_shell_binary.py:32: zipfile_name = "arm" what about using config.target_os and config.target_arch ...
5 years, 11 months ago (2015-01-26 16:25:43 UTC) #5
blundell
good suggestion, thanks https://codereview.chromium.org/874243002/diff/20001/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/20001/mojo/tools/upload_shell_binary.py#newcode32 mojo/tools/upload_shell_binary.py:32: zipfile_name = "arm" On 2015/01/26 16:25:43, ...
5 years, 11 months ago (2015-01-26 16:31:34 UTC) #6
qsr
lgtm https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py#newcode37 mojo/tools/upload_shell_binary.py:37: zipinfo = zipfile.ZipInfo(shell_filename) Zipping the apk is not ...
5 years, 11 months ago (2015-01-26 16:41:43 UTC) #7
blundell
https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py#newcode37 mojo/tools/upload_shell_binary.py:37: zipinfo = zipfile.ZipInfo(shell_filename) On 2015/01/26 16:41:43, qsr wrote: > ...
5 years, 11 months ago (2015-01-27 09:20:50 UTC) #8
blundell
jamesr: any comments here?
5 years, 10 months ago (2015-01-27 20:26:09 UTC) #9
jamesr
Seems fine https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py#newcode39 mojo/tools/upload_shell_binary.py:39: zipinfo.compress_type = zipfile.ZIP_DEFLATED if you're worried about ...
5 years, 10 months ago (2015-01-27 20:29:31 UTC) #10
blundell
Thanks! https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py File mojo/tools/upload_shell_binary.py (right): https://codereview.chromium.org/874243002/diff/40001/mojo/tools/upload_shell_binary.py#newcode39 mojo/tools/upload_shell_binary.py:39: zipinfo.compress_type = zipfile.ZIP_DEFLATED On 2015/01/27 20:29:31, jamesr wrote: ...
5 years, 10 months ago (2015-01-28 14:57:08 UTC) #11
blundell
5 years, 10 months ago (2015-01-28 14:57:40 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
6cf1799caed2b018e545eef1bf499ef5b01ec731 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698