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

Issue 816693006: Fix skydb to work for android (Closed)

Created:
5 years, 11 months ago by eseidel
Modified:
5 years, 11 months ago
Reviewers:
abarth-chromium
CC:
esprehn, mojo-reviews_chromium.org, ojan, qsr, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Fix skydb to work for android I changed skydb start to take a build directory and read the configuration out of gn args instead of --release, --debug, etc. This should be more flexable and handle all the crazy asan cases mopy/config.py tries to. Once we merge sky/tools into mojo/tools we should make mopy/config use this method too. This follows similar patterns to what mojo/tools/android_mojo_shell.py does, but doesn't use as much of the (old) android_commands and forwarder logic. We could even remove all of that build/android/pylib code by calling the (new) adb reverse instead of using Forwarder (in a later patch). This still only supports a single skydb running at once, but it should be trivial to move the skydb.pids file into the build directory or to have it support more than one instance. The big question there is what the command-line usage should look like when supporting more than one running instance. See the mojo-dev thread on the subject. R=abarth@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/dd407ce5866da320896eb88595d66791c2bd498c

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -29 lines) Patch
M shell/context.cc View 3 chunks +17 lines, -1 line 1 comment Download
M sky/tools/debugger/prompt/prompt.cc View 1 chunk +1 line, -1 line 1 comment Download
M sky/tools/skydb View 7 chunks +132 lines, -27 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
eseidel
5 years, 11 months ago (2015-01-09 22:55:22 UTC) #1
eseidel
https://codereview.chromium.org/816693006/diff/1/sky/tools/debugger/prompt/prompt.cc File sky/tools/debugger/prompt/prompt.cc (right): https://codereview.chromium.org/816693006/diff/1/sky/tools/debugger/prompt/prompt.cc#newcode159 sky/tools/debugger/prompt/prompt.cc:159: uint32_t command_port_; This was to answer an earlier complaint ...
5 years, 11 months ago (2015-01-09 22:58:50 UTC) #2
abarth-chromium
lgtm https://codereview.chromium.org/816693006/diff/1/shell/context.cc File shell/context.cc (right): https://codereview.chromium.org/816693006/diff/1/shell/context.cc#newcode83 shell/context.cc:83: ReplaceSubstringsAfterOffset(&handlers_spec, 0, "\\,", ","); What about \\, ?
5 years, 11 months ago (2015-01-09 22:59:19 UTC) #3
eseidel
On 2015/01/09 22:59:19, abarth wrote: > lgtm > > https://codereview.chromium.org/816693006/diff/1/shell/context.cc > File shell/context.cc (right): > ...
5 years, 11 months ago (2015-01-09 23:14:05 UTC) #4
abarth-chromium
On 2015/01/09 at 23:14:05, eseidel wrote: > On 2015/01/09 22:59:19, abarth wrote: > > lgtm ...
5 years, 11 months ago (2015-01-10 00:05:16 UTC) #5
eseidel
5 years, 11 months ago (2015-01-12 19:16:24 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
dd407ce5866da320896eb88595d66791c2bd498c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698