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

Side by Side Diff: platform_tools/android/bin/android_gdb_native

Issue 1900773002: Update android toolchain variable to point to root dir and not the bin (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # android_gdb_native: Pushes gdbserver, connects to specified Skia app, 3 # android_gdb_native: Pushes gdbserver, connects to specified Skia app,
4 # and enters command line debugging environment. 4 # and enters command line debugging environment.
5 5
6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 6 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7 source $SCRIPT_DIR/android_setup.sh 7 source $SCRIPT_DIR/android_setup.sh
8 8
9 # setup the gdbserver 9 # setup the gdbserver
10 export BUILDTYPE # from android_setup.sh 10 export BUILDTYPE # from android_setup.sh
(...skipping 27 matching lines...) Expand all
38 echo "continue" 38 echo "continue"
39 echo "sharedLibrary ${APP_NAME}" 39 echo "sharedLibrary ${APP_NAME}"
40 40
41 # Load libskia_android.so here. 41 # Load libskia_android.so here.
42 echo "sharedLibrary skia_android" 42 echo "sharedLibrary skia_android"
43 } > $GDBSETUP 43 } > $GDBSETUP
44 44
45 45
46 # Launch gdb client 46 # Launch gdb client
47 echo "Entering gdb client shell" 47 echo "Entering gdb client shell"
48 $ANDROID_TOOLCHAIN/../host_prebuilt/bin/gdb -x $GDBSETUP 48 $ANDROID_TOOLCHAIN/host_prebuilt/bin/gdb -x $GDBSETUP
49 49
50 # Clean up: 50 # Clean up:
51 # We could 'rm -rf $GDB_TMP_DIR', but doing so would cause subsequent debugging 51 # We could 'rm -rf $GDB_TMP_DIR', but doing so would cause subsequent debugging
52 # sessions to take longer than necessary. The tradeoff is to now force the user 52 # sessions to take longer than necessary. The tradeoff is to now force the user
53 # to remove the directory when they are done debugging. 53 # to remove the directory when they are done debugging.
54 rm $GDBSETUP 54 rm $GDBSETUP
OLDNEW
« no previous file with comments | « platform_tools/android/bin/android_gdb_app ('k') | platform_tools/android/bin/android_gdbserver » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698