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

Issue 11366068: Take screenshots using /system/bin/screencap instead of monkeyrunner. (Closed)

Created:
8 years, 1 month ago by frankf
Modified:
8 years, 1 month ago
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Add TakeScreenshot command to android_commands. Also, take screenshots using /system/bin/screencap instead of monkeyrunner. BUG=158851 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166273

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed bulach's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -12 lines) Patch
M build/android/pylib/android_commands.py View 1 1 chunk +14 lines, -0 lines 0 comments Download
M build/android/pylib/constants.py View 1 chunk +3 lines, -0 lines 0 comments Download
M build/android/pylib/run_java_tests.py View 1 1 chunk +2 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
frankf
8 years, 1 month ago (2012-11-02 21:49:26 UTC) #1
klundberg
lgtm
8 years, 1 month ago (2012-11-02 21:51:32 UTC) #2
Isaac (away)
Can you provide more context here? What advantages does this have over monkeyrunner? Will it ...
8 years, 1 month ago (2012-11-05 00:42:22 UTC) #3
frankf
Using monkeyrunner just for screenshots is an overkill and an extra host-side dep. I've checked ...
8 years, 1 month ago (2012-11-05 18:30:59 UTC) #4
frankf
Marcus, can you take a look please?
8 years, 1 month ago (2012-11-05 23:21:21 UTC) #5
bulach
lgtm, I agree if it works everywhere, having less dependencies is better. one suggestion below: ...
8 years, 1 month ago (2012-11-06 11:06:48 UTC) #6
frankf
http://codereview.chromium.org/11366068/diff/1/build/android/pylib/run_java_tests.py File build/android/pylib/run_java_tests.py (right): http://codereview.chromium.org/11366068/diff/1/build/android/pylib/run_java_tests.py#newcode245 build/android/pylib/run_java_tests.py:245: os.mkdir(constants.SCREENSHOTS_DIR) Hmm. I think it's more flexible for the ...
8 years, 1 month ago (2012-11-06 19:04:40 UTC) #7
bulach
http://codereview.chromium.org/11366068/diff/1/build/android/pylib/run_java_tests.py File build/android/pylib/run_java_tests.py (right): http://codereview.chromium.org/11366068/diff/1/build/android/pylib/run_java_tests.py#newcode245 build/android/pylib/run_java_tests.py:245: os.mkdir(constants.SCREENSHOTS_DIR) On 2012/11/06 19:04:40, frankf wrote: > Hmm. I ...
8 years, 1 month ago (2012-11-06 19:06:06 UTC) #8
frankf
https://codereview.chromium.org/11366068/diff/1/build/android/pylib/run_java_tests.py File build/android/pylib/run_java_tests.py (right): https://codereview.chromium.org/11366068/diff/1/build/android/pylib/run_java_tests.py#newcode245 build/android/pylib/run_java_tests.py:245: os.mkdir(constants.SCREENSHOTS_DIR) Ah. Done. On 2012/11/06 19:06:06, bulach wrote: > ...
8 years, 1 month ago (2012-11-06 19:44:03 UTC) #9
bulach
8 years, 1 month ago (2012-11-07 10:10:34 UTC) #10
lgtm, thanks!

Powered by Google App Engine
This is Rietveld 408576698