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

Issue 1414633004: Use file to pass arguments to the shell. (Closed)

Created:
5 years, 1 month ago by qsr
Modified:
5 years, 1 month ago
Reviewers:
ppi
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+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

Use file to pass arguments to the shell. Passing parameters directly through the intent have the following issues: - It limits the size of the parameters to 1024 bytes. - It is regularly broken by new versions of adb. R=ppi@chromium.org BUG=Fixes https://github.com/domokit/mojo/issues/488 Committed: https://chromium.googlesource.com/external/mojo/+/69df74a38358c7c3611babeeaa5b8258dce05619

Patch Set 1 #

Total comments: 12

Patch Set 2 : Follow review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -38 lines) Patch
M mojo/devtools/common/devtoolslib/android_shell.py View 1 2 chunks +15 lines, -2 lines 0 comments Download
M shell/android/apk/AndroidManifest.xml.jinja2 View 1 1 chunk +4 lines, -3 lines 0 comments Download
M shell/android/apk/src/org/chromium/mojo/shell/ShellService.java View 1 7 chunks +35 lines, -33 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
qsr
5 years, 1 month ago (2015-10-29 15:36:59 UTC) #1
ppi
https://codereview.chromium.org/1414633004/diff/1/mojo/devtools/common/devtoolslib/android_shell.py File mojo/devtools/common/devtoolslib/android_shell.py (right): https://codereview.chromium.org/1414633004/diff/1/mojo/devtools/common/devtoolslib/android_shell.py#newcode354 mojo/devtools/common/devtoolslib/android_shell.py:354: '/sdcard/%s/%s' % (_MOJO_SHELL_PACKAGE_NAME, str(uuid.uuid4()))) can you append or prepend ...
5 years, 1 month ago (2015-10-29 16:27:40 UTC) #2
qsr
https://codereview.chromium.org/1414633004/diff/1/mojo/devtools/common/devtoolslib/android_shell.py File mojo/devtools/common/devtoolslib/android_shell.py (right): https://codereview.chromium.org/1414633004/diff/1/mojo/devtools/common/devtoolslib/android_shell.py#newcode354 mojo/devtools/common/devtoolslib/android_shell.py:354: '/sdcard/%s/%s' % (_MOJO_SHELL_PACKAGE_NAME, str(uuid.uuid4()))) On 2015/10/29 16:27:40, ppi wrote: ...
5 years, 1 month ago (2015-10-29 16:57:02 UTC) #3
ppi
lgtm
5 years, 1 month ago (2015-10-29 17:07:02 UTC) #4
qsr
5 years, 1 month ago (2015-10-29 17:07:25 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
69df74a38358c7c3611babeeaa5b8258dce05619 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698