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

Issue 11470004: [Android] Add screenshot command line tool. (Closed)

Created:
8 years ago by newt (away)
Modified:
8 years ago
Reviewers:
nyquist, Jay Civelli, frankf
CC:
chromium-reviews, ilevy+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, peter+watch_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

[Android] Add screenshot command line tool. This modifies the no longer used monkeyrunner_screenshot.py into a simple screenshot tool. BUG=164644

Patch Set 1 #

Total comments: 3

Patch Set 2 : fixed format nits #

Patch Set 3 : show helpful error message on multiple device failure #

Total comments: 2

Patch Set 4 : better error checking #

Total comments: 2

Patch Set 5 : use parser.error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -41 lines) Patch
D build/android/monkeyrunner_screenshot.py View 1 chunk +0 lines, -41 lines 0 comments Download
A build/android/screenshot.py View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
newt (away)
PTAL
8 years ago (2012-12-06 20:54:21 UTC) #1
nyquist
lgtm
8 years ago (2012-12-06 21:19:22 UTC) #2
newt (away)
+jcivelli for full committer magic stamp
8 years ago (2012-12-06 21:27:27 UTC) #3
frankf
nits. https://codereview.chromium.org/11470004/diff/1/build/android/screenshot.py File build/android/screenshot.py (right): https://codereview.chromium.org/11470004/diff/1/build/android/screenshot.py#newcode20 build/android/screenshot.py:20: from pylib import android_commands Two blank lines here. ...
8 years ago (2012-12-06 21:44:42 UTC) #4
newt (away)
comments addressed
8 years ago (2012-12-06 21:49:25 UTC) #5
frankf
LGTM with a question. https://codereview.chromium.org/11470004/diff/1/build/android/screenshot.py File build/android/screenshot.py (right): https://codereview.chromium.org/11470004/diff/1/build/android/screenshot.py#newcode25 build/android/screenshot.py:25: parser.add_option("-s", "--serial", dest="serial", Also, how ...
8 years ago (2012-12-06 21:50:14 UTC) #6
Jay Civelli
lgtm
8 years ago (2012-12-06 22:10:41 UTC) #7
newt (away)
On 2012/12/06 21:50:14, frankf wrote: > LGTM with a question. > > https://codereview.chromium.org/11470004/diff/1/build/android/screenshot.py > File ...
8 years ago (2012-12-06 22:16:59 UTC) #8
frankf
https://codereview.chromium.org/11470004/diff/1004/build/android/screenshot.py File build/android/screenshot.py (right): https://codereview.chromium.org/11470004/diff/1004/build/android/screenshot.py#newcode40 build/android/screenshot.py:40: print ('Screenshot failed. If multiple devices are attached, be ...
8 years ago (2012-12-06 22:27:09 UTC) #9
newt (away)
https://codereview.chromium.org/11470004/diff/1004/build/android/screenshot.py File build/android/screenshot.py (right): https://codereview.chromium.org/11470004/diff/1004/build/android/screenshot.py#newcode40 build/android/screenshot.py:40: print ('Screenshot failed. If multiple devices are attached, be ...
8 years ago (2012-12-06 22:32:29 UTC) #10
frankf
https://codereview.chromium.org/11470004/diff/11001/build/android/screenshot.py File build/android/screenshot.py (right): https://codereview.chromium.org/11470004/diff/11001/build/android/screenshot.py#newcode34 build/android/screenshot.py:34: if options.serial is None and len(android_commands.GetAttachedDevices()) > 1: if ...
8 years ago (2012-12-06 22:37:47 UTC) #11
newt (away)
https://codereview.chromium.org/11470004/diff/11001/build/android/screenshot.py File build/android/screenshot.py (right): https://codereview.chromium.org/11470004/diff/11001/build/android/screenshot.py#newcode34 build/android/screenshot.py:34: if options.serial is None and len(android_commands.GetAttachedDevices()) > 1: On ...
8 years ago (2012-12-06 22:41:21 UTC) #12
newt (away)
8 years ago (2012-12-06 23:21:07 UTC) #13
Message was sent while issue was closed.
committed via git cl dcommit as r171615

Powered by Google App Engine
This is Rietveld 408576698