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

Unified Diff: platform_tools/android/bin/android_gdbserver

Issue 255193003: android_gdbserver - fix warning about missing shared library symbols (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/android/bin/android_gdbserver
diff --git a/platform_tools/android/bin/android_gdbserver b/platform_tools/android/bin/android_gdbserver
index 960b02926ecd0645a7a3b6718eae7e19c8091e75..3508c50c9bfdd17a6aafea89b46de117751a4fad 100755
--- a/platform_tools/android/bin/android_gdbserver
+++ b/platform_tools/android/bin/android_gdbserver
@@ -22,7 +22,26 @@ GDB_TMP_DIR=$(pwd)/android_gdb_tmp
mkdir $GDB_TMP_DIR
echo "Copying symbol files"
-adb_pull_if_needed /system/lib/libc.so $GDB_TMP_DIR
+SYSTEM_LIBRARY_PATH=/system/lib
+for library_file in \
+ libc.so \
+ libstdc++.so \
+ libm.so \
+ liblog.so \
+ libz.so \
+ libcutils.so \
+ libgccdemangle.so \
+ libcorkscrew.so \
+ libutils.so \
+ libstlport.so \
+ libGLES_trace.so \
+ libEGL.so \
+ libGLESv2.so \
+ ; do
+ adb_pull_if_needed "${SYSTEM_LIBRARY_PATH}/${library_file}" $GDB_TMP_DIR
+done
+
+adb_pull_if_needed /system/bin/linker $GDB_TMP_DIR
echo "Pushing app..."
for file in \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698