Fix warning about missing shared library symbols in android_gdbserver
Grab related shared libraryies. Remove libcorkscrew.so due libcorkscrew is removed from AOSP. BUG=skia: R=djsollen@google.com Author: qiankun.miao@intel.com Review URL: https://codereview.chromium.org/399843002
This commit is contained in:
parent
929f29a5c1
commit
ac298384b3
@ -34,17 +34,28 @@ for library_file in \
|
|||||||
liblog.so \
|
liblog.so \
|
||||||
libz.so \
|
libz.so \
|
||||||
libgccdemangle.so \
|
libgccdemangle.so \
|
||||||
libcorkscrew.so \
|
libsigchain.so \
|
||||||
|
libcutils.so \
|
||||||
|
libunwind.so \
|
||||||
|
libunwind-ptrace.so \
|
||||||
|
libbacktrace.so \
|
||||||
libutils.so \
|
libutils.so \
|
||||||
libstlport.so \
|
libstlport.so \
|
||||||
libGLES_trace.so \
|
libGLES_trace.so \
|
||||||
libEGL.so \
|
libEGL.so \
|
||||||
libGLESv2.so \
|
libGLESv2.so \
|
||||||
; do
|
; do
|
||||||
adb_pull_if_needed "${SYSTEM_LIBRARY_PATH}/${library_file}" $GDB_TMP_DIR
|
ANDROID_LS=`$ADB $DEVICE_SERIAL shell ls -ld ${SYSTEM_LIBRARY_PATH}/${library_file}`
|
||||||
|
if [ "${ANDROID_LS:0:1}" == "-" ]; then
|
||||||
|
adb_pull_if_needed "${SYSTEM_LIBRARY_PATH}/${library_file}" $GDB_TMP_DIR
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
adb_pull_if_needed /system/bin/linker $GDB_TMP_DIR
|
if [[ $ANDROID_ARCH == *64* ]]; then
|
||||||
|
adb_pull_if_needed /system/bin/linker64 $GDB_TMP_DIR
|
||||||
|
else
|
||||||
|
adb_pull_if_needed /system/bin/linker $GDB_TMP_DIR
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Pushing app..."
|
echo "Pushing app..."
|
||||||
for file in \
|
for file in \
|
||||||
|
Loading…
Reference in New Issue
Block a user