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

Issue 18354005: Add --serial-id option to host_forwarder. (Closed)

Created:
7 years, 5 months ago by Philippe
Modified:
7 years, 5 months ago
Reviewers:
bulach, digit1
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, tonyg
Visibility:
Public.

Description

Add --serial-id option to host_forwarder. This moves the forwarder's control channel set up logic (which can be considered as an internal implementation detail) from the Python script to the host_forwarder binary. This also changes the command line interface for the host_forwarder and device_forwarder binaries. BUG=242846 R=bulach@chromium.org, digit@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209945

Patch Set 1 : #

Patch Set 2 : Rebase on issue 18522003 #

Total comments: 12

Patch Set 3 : Address Marcus and Digit's comments #

Total comments: 2

Patch Set 4 : Address Marcus' comment #

Patch Set 5 : Rebase on master (issue 18522003 not needed anymore) #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -166 lines) Patch
M build/android/pylib/forwarder.py View 1 2 3 4 5 8 chunks +12 lines, -34 lines 0 comments Download
M tools/android/forwarder2/device_forwarder_main.cc View 1 2 6 chunks +20 lines, -48 lines 0 comments Download
M tools/android/forwarder2/host_forwarder_main.cc View 1 2 3 11 chunks +107 lines, -84 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Philippe
7 years, 5 months ago (2013-07-02 12:22:44 UTC) #1
bulach
(tonyg@ fyi) lgtm, cool, thanks!! I hope this will help the perf bots reliability! one ...
7 years, 5 months ago (2013-07-02 12:42:49 UTC) #2
Philippe
thanks Marcus! https://chromiumcodereview.appspot.com/18354005/diff/10001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc (right): https://chromiumcodereview.appspot.com/18354005/diff/10001/tools/android/forwarder2/host_forwarder_main.cc#newcode270 tools/android/forwarder2/host_forwarder_main.cc:270: for (int i = 1; i < ...
7 years, 5 months ago (2013-07-02 12:51:22 UTC) #3
bulach
still lgtm, but perhaps if we also change the python side, the interface between that ...
7 years, 5 months ago (2013-07-02 13:13:06 UTC) #4
digit1
lgtm https://chromiumcodereview.appspot.com/18354005/diff/10001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc (right): https://chromiumcodereview.appspot.com/18354005/diff/10001/tools/android/forwarder2/host_forwarder_main.cc#newcode194 tools/android/forwarder2/host_forwarder_main.cc:194: device_serial.empty() ? I assume you wanted to use ...
7 years, 5 months ago (2013-07-02 15:32:17 UTC) #5
Philippe
Thanks guys! https://chromiumcodereview.appspot.com/18354005/diff/10001/build/android/pylib/forwarder.py File build/android/pylib/forwarder.py (right): https://chromiumcodereview.appspot.com/18354005/diff/10001/build/android/pylib/forwarder.py#newcode122 build/android/pylib/forwarder.py:122: # Please note the minus sign below. ...
7 years, 5 months ago (2013-07-02 15:58:25 UTC) #6
bulach
lgtm, tiny nit: https://chromiumcodereview.appspot.com/18354005/diff/19001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc (right): https://chromiumcodereview.appspot.com/18354005/diff/19001/tools/android/forwarder2/host_forwarder_main.cc#newcode118 tools/android/forwarder2/host_forwarder_main.cc:118: } nit: 113-118 could be moved ...
7 years, 5 months ago (2013-07-02 16:12:37 UTC) #7
Philippe
https://chromiumcodereview.appspot.com/18354005/diff/19001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc (right): https://chromiumcodereview.appspot.com/18354005/diff/19001/tools/android/forwarder2/host_forwarder_main.cc#newcode118 tools/android/forwarder2/host_forwarder_main.cc:118: } On 2013/07/02 16:12:38, bulach wrote: > nit: 113-118 ...
7 years, 5 months ago (2013-07-02 16:24:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/18354005/31001
7 years, 5 months ago (2013-07-02 17:28:53 UTC) #9
commit-bot: I haz the power
Failed to apply patch for build/android/pylib/forwarder.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-02 21:56:47 UTC) #10
Philippe
7 years, 5 months ago (2013-07-03 10:21:31 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r209945 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698