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

Issue 865943007: Cleanup the android scripts. (Closed)

Created:
5 years, 10 months ago by djsollen
Modified:
5 years, 1 month ago
Reviewers:
Tom Hudson, scroggo, borenet
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Cleanup the android scripts. Rename a few files to make their function clearer. Update other files to remove dead code or improve function. Committed: https://skia.googlesource.com/skia/+/6429fd1e41129fb960d1ff341a1befe8ac932600

Patch Set 1 #

Total comments: 5

Patch Set 2 : cleanup #

Patch Set 3 : actually saving the file #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -202 lines) Patch
D platform_tools/android/bin/android_gdb_apk View 1 chunk +0 lines, -60 lines 0 comments Download
A + platform_tools/android/bin/android_gdb_app View 1 2 4 chunks +23 lines, -10 lines 0 comments Download
D platform_tools/android/bin/android_gdb_exe View 1 chunk +0 lines, -51 lines 0 comments Download
A + platform_tools/android/bin/android_gdb_native View 1 2 chunks +7 lines, -3 lines 2 comments Download
D platform_tools/android/bin/android_install_apk View 1 chunk +0 lines, -49 lines 0 comments Download
A + platform_tools/android/bin/android_install_app View 1 chunk +2 lines, -2 lines 0 comments Download
D platform_tools/android/bin/android_install_skia View 1 chunk +0 lines, -6 lines 0 comments Download
M platform_tools/android/bin/android_kill_skia View 1 chunk +2 lines, -19 lines 0 comments Download
M site/user/quick/android.md View 2 chunks +2 lines, -2 lines 2 comments Download

Messages

Total messages: 16 (4 generated)
djsollen
5 years, 10 months ago (2015-02-03 16:01:43 UTC) #2
borenet
https://codereview.chromium.org/865943007/diff/1/platform_tools/android/bin/android_gdb_app File platform_tools/android/bin/android_gdb_app (right): https://codereview.chromium.org/865943007/diff/1/platform_tools/android/bin/android_gdb_app#newcode34 platform_tools/android/bin/android_gdb_app:34: #adb_pull_if_needed /data/data/com.skia/lib/libskia_android.so $GDB_TMP_DIR Intentional? https://codereview.chromium.org/865943007/diff/1/platform_tools/android/bin/android_gdb_app#newcode69 platform_tools/android/bin/android_gdb_app:69: #rm -rf $GDB_TMP_DIR ...
5 years, 10 months ago (2015-02-03 16:04:57 UTC) #3
djsollen
https://codereview.chromium.org/865943007/diff/1/platform_tools/android/bin/android_gdb_app File platform_tools/android/bin/android_gdb_app (right): https://codereview.chromium.org/865943007/diff/1/platform_tools/android/bin/android_gdb_app#newcode34 platform_tools/android/bin/android_gdb_app:34: #adb_pull_if_needed /data/data/com.skia/lib/libskia_android.so $GDB_TMP_DIR On 2015/02/03 16:04:57, borenet wrote: > ...
5 years, 10 months ago (2015-02-03 16:07:15 UTC) #4
borenet
https://codereview.chromium.org/865943007/diff/1/platform_tools/android/bin/android_gdb_app File platform_tools/android/bin/android_gdb_app (right): https://codereview.chromium.org/865943007/diff/1/platform_tools/android/bin/android_gdb_app#newcode69 platform_tools/android/bin/android_gdb_app:69: #rm -rf $GDB_TMP_DIR On 2015/02/03 16:07:15, djsollen wrote: > ...
5 years, 10 months ago (2015-02-03 16:19:04 UTC) #5
djsollen
Done. I just forgot to hit save the first time
5 years, 10 months ago (2015-02-03 16:24:09 UTC) #6
borenet
LGTM
5 years, 10 months ago (2015-02-03 16:34:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865943007/40001
5 years, 10 months ago (2015-02-03 19:36:50 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on client.skia.compile (None) Build-Ubuntu13.10-Clang-x86_64-Debug-Trybot on client.skia.compile (None) Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot ...
5 years, 10 months ago (2015-02-03 21:37:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/865943007/40001
5 years, 10 months ago (2015-02-03 22:21:09 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/6429fd1e41129fb960d1ff341a1befe8ac932600
5 years, 10 months ago (2015-02-03 23:07:34 UTC) #14
scroggo
LGTM Thanks for the clearer names! https://codereview.chromium.org/865943007/diff/40001/platform_tools/android/bin/android_gdb_native File platform_tools/android/bin/android_gdb_native (right): https://codereview.chromium.org/865943007/diff/40001/platform_tools/android/bin/android_gdb_native#newcode54 platform_tools/android/bin/android_gdb_native:54: # to remove ...
5 years, 10 months ago (2015-02-09 14:03:33 UTC) #15
djsollen
5 years, 10 months ago (2015-02-10 13:47:20 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/865943007/diff/40001/platform_tools/android/b...
File platform_tools/android/bin/android_gdb_native (right):

https://codereview.chromium.org/865943007/diff/40001/platform_tools/android/b...
platform_tools/android/bin/android_gdb_native:54: # to remove the directory when
they are done debugging.
On 2015/02/09 14:03:32, scroggo wrote:
> Any way for the user to know this? If it ever matters, should we add a
> convenient way to do this?

I think it is more convenient to just rm -rf the directory than adding an option
to the debugging script to do it for them.

https://codereview.chromium.org/865943007/diff/40001/site/user/quick/android.md
File site/user/quick/android.md (left):

https://codereview.chromium.org/865943007/diff/40001/site/user/quick/android....
site/user/quick/android.md:153: Debugging on Android
On 2015/02/09 14:03:32, scroggo wrote:
> Should this also mention android_gdb_app?

CL is on the way.

Powered by Google App Engine
This is Rietveld 408576698