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

Issue 1088793002: [Android] Remove android_commands uses from build/android/. (Closed)

Created:
5 years, 8 months ago by jbudorick
Modified:
5 years, 8 months ago
Reviewers:
klundberg, perezju
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Remove android_commands uses from build/android/. This also adds filtering to AdbWrapper.GetDevices(). BUG=267773 Committed: https://crrev.com/55d1762e76ebe2494c882594c620993419d97b98 Cr-Commit-Position: refs/heads/master@{#325254}

Patch Set 1 #

Total comments: 8

Patch Set 2 : perezju comments #

Total comments: 2

Patch Set 3 : #

Total comments: 1

Patch Set 4 : docstrings for device_filter.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -59 lines) Patch
M build/android/adb_install_apk.py View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M build/android/adb_reverse_forwarder.py View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M build/android/enable_asserts.py View 1 1 chunk +23 lines, -19 lines 0 comments Download
M build/android/host_heartbeat.py View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M build/android/provision_devices.py View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M build/android/pylib/device/adb_wrapper.py View 1 2 3 chunks +26 lines, -5 lines 0 comments Download
M build/android/pylib/device/adb_wrapper_test.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
A build/android/pylib/device/device_filter.py View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
M build/android/pylib/device/device_utils.py View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M build/android/pylib/device/device_utils_test.py View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M build/android/pylib/local/device/local_device_environment.py View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M build/android/screenshot.py View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M build/android/tombstones.py View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M build/android/update_verification.py View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
jbudorick
5 years, 8 months ago (2015-04-14 02:30:24 UTC) #2
jbudorick
On 2015/04/14 02:30:24, jbudorick wrote: Obviously, this does not remove android_commands uses from subdirectories of ...
5 years, 8 months ago (2015-04-14 02:31:22 UTC) #3
perezju
just a few comments https://codereview.chromium.org/1088793002/diff/1/build/android/enable_asserts.py File build/android/enable_asserts.py (right): https://codereview.chromium.org/1088793002/diff/1/build/android/enable_asserts.py#newcode29 build/android/enable_asserts.py:29: if options.set_asserts == None: maybe ...
5 years, 8 months ago (2015-04-14 12:39:11 UTC) #4
jbudorick
https://codereview.chromium.org/1088793002/diff/1/build/android/enable_asserts.py File build/android/enable_asserts.py (right): https://codereview.chromium.org/1088793002/diff/1/build/android/enable_asserts.py#newcode29 build/android/enable_asserts.py:29: if options.set_asserts == None: On 2015/04/14 12:39:10, perezju wrote: ...
5 years, 8 months ago (2015-04-14 15:29:58 UTC) #5
perezju
https://codereview.chromium.org/1088793002/diff/1/build/android/pylib/device/adb_wrapper.py File build/android/pylib/device/adb_wrapper.py (right): https://codereview.chromium.org/1088793002/diff/1/build/android/pylib/device/adb_wrapper.py#newcode171 build/android/pylib/device/adb_wrapper.py:171: returned list. On 2015/04/14 15:29:58, jbudorick wrote: > On ...
5 years, 8 months ago (2015-04-15 09:25:45 UTC) #6
jbudorick
https://codereview.chromium.org/1088793002/diff/1/build/android/pylib/device/adb_wrapper.py File build/android/pylib/device/adb_wrapper.py (right): https://codereview.chromium.org/1088793002/diff/1/build/android/pylib/device/adb_wrapper.py#newcode171 build/android/pylib/device/adb_wrapper.py:171: returned list. On 2015/04/15 09:25:44, perezju wrote: > On ...
5 years, 8 months ago (2015-04-15 13:06:59 UTC) #7
perezju
On 2015/04/15 13:06:59, jbudorick wrote: > On 2015/04/15 09:25:44, perezju wrote: > > testing things ...
5 years, 8 months ago (2015-04-15 13:25:40 UTC) #8
jbudorick
GetDevices() -> Devices() (since it's adb devices, not adb get-devices) and default filters removed. wdyt?
5 years, 8 months ago (2015-04-15 14:36:57 UTC) #9
perezju
lgtm w/nit https://codereview.chromium.org/1088793002/diff/40001/build/android/pylib/device/device_filter.py File build/android/pylib/device/device_filter.py (right): https://codereview.chromium.org/1088793002/diff/40001/build/android/pylib/device/device_filter.py#newcode9 build/android/pylib/device/device_filter.py:9: def DefaultFilters(): nit: missing docstrings
5 years, 8 months ago (2015-04-15 14:52:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088793002/60001
5 years, 8 months ago (2015-04-15 15:15:06 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-15 16:11:57 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/55d1762e76ebe2494c882594c620993419d97b98 Cr-Commit-Position: refs/heads/master@{#325254}
5 years, 8 months ago (2015-04-15 16:12:57 UTC) #15
jbudorick
5 years, 8 months ago (2015-04-15 18:22:29 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1089273002/ by jbudorick@chromium.org.

The reason for reverting is: Broken for AdbWrapper.Devices(filters=None).

Powered by Google App Engine
This is Rietveld 408576698