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

Issue 1509853006: Fix 'debugging on Android' android_gdb_app script. (Closed)

Created:
5 years ago by aam
Modified:
5 years ago
Reviewers:
scroggo, djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix 'debugging on Android' android_gdb_app script. 1) com.skia -> com.skia.sample_app 2) pass arguments to android_gdb_app to android_setup.sh so you can build gdbserver binaries for your actual device(rather than default arm64). This allows you to run it like this for example: ./platform_tools/android/bin/android_gdb_app -d nexus_6 BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1509853006 Committed: https://skia.googlesource.com/skia/+/419c37269f7d0786e9058c93003061ed8037a402

Patch Set 1 #

Patch Set 2 : Update doc with optional parameters information. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M platform_tools/android/bin/android_gdb_app View 2 chunks +5 lines, -5 lines 2 comments Download
M site/user/quick/android.md View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (6 generated)
aam
5 years ago (2015-12-09 22:51:43 UTC) #3
scroggo
Adding Derek. Should probably update documentation as well (in the site/ directory).
5 years ago (2015-12-09 22:54:13 UTC) #5
aam
On 2015/12/09 22:54:13, scroggo wrote: > Adding Derek. Should probably update documentation as well (in ...
5 years ago (2015-12-09 22:59:44 UTC) #7
djsollen
lgtm https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app File platform_tools/android/bin/android_gdb_app (right): https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app#newcode7 platform_tools/android/bin/android_gdb_app:7: source $SCRIPT_DIR/android_setup.sh "$@" I don't think this line ...
5 years ago (2015-12-10 21:01:37 UTC) #8
aam
https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app File platform_tools/android/bin/android_gdb_app (right): https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app#newcode7 platform_tools/android/bin/android_gdb_app:7: source $SCRIPT_DIR/android_setup.sh "$@" > I don't think this line ...
5 years ago (2015-12-10 21:16:53 UTC) #9
djsollen
On 2015/12/10 21:16:53, aam2 wrote: > https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app > File platform_tools/android/bin/android_gdb_app (right): > > https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app#newcode7 > ...
5 years ago (2015-12-10 21:31:16 UTC) #10
djsollen
On 2015/12/10 21:16:53, aam2 wrote: > https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app > File platform_tools/android/bin/android_gdb_app (right): > > https://codereview.chromium.org/1509853006/diff/20001/platform_tools/android/bin/android_gdb_app#newcode7 > ...
5 years ago (2015-12-10 21:31:16 UTC) #11
aam
Awesome. I can't land this myself, feel free to land it!
5 years ago (2015-12-10 21:48:33 UTC) #12
scroggo
On 2015/12/10 21:48:33, aam2 wrote: > Awesome. > I can't land this myself, feel free ...
5 years ago (2015-12-10 22:00:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1509853006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1509853006/20001
5 years ago (2015-12-10 22:01:06 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/419c37269f7d0786e9058c93003061ed8037a402
5 years ago (2015-12-10 22:14:59 UTC) #17
aam
5 years ago (2015-12-10 22:18:55 UTC) #18
Message was sent while issue was closed.
On 2015/12/10 22:00:50, scroggo wrote:
> On 2015/12/10 21:48:33, aam2 wrote:
> > Awesome.
> > I can't land this myself, feel free to land it!
> 
> You just need to check the checkbox labelled "Commit". I'll take care of it
> though :)

Ah, interesting! I read "Non-Skia-committers" section in
https://skia.org/dev/contrib/submit, and deduced that I won't be able commit:
===
If you don’t have committer rights in https://skia.googlesource.com/skia.git …
first of all, thanks for submitting your patch! We really appreciate these
submissions. Unfortunately, we don’t yet have a way for Skia committers to mark
a patch as “approved” and thus allow non-committers to commit them. So instead,
please ask a Skia committer to land your patch for you or land using the commit
queue.
===

Thanks for landing it.

Powered by Google App Engine
This is Rietveld 408576698