[Android] compile: remove useless strip

Thomas Guillem git at videolan.org
Mon Oct 2 11:56:37 CEST 2017


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Oct  2 11:54:43 2017 +0200| [49c967d6c4eacaf4e247b456da3c6b8159be0bc9] | committer: Thomas Guillem

compile: remove useless strip

ndk-build is already stripping libs

> https://code.videolan.org/videolan/vlc-android/commit/49c967d6c4eacaf4e247b456da3c6b8159be0bc9
---

 compile-libvlc.sh | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index f3df1b35b..c0c56bcec 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -901,22 +901,11 @@ $ANDROID_NDK/ndk-build -C medialibrary \
 
 checkfail "ndk-build failed"
 
-cd ${SRC_DIR}
-
-if [ ! -d $OUT_LIB_DIR ]; then
-    mkdir -p $OUT_LIB_DIR
-fi
-
-if [ "$RELEASE" = 1 ]; then
-    echo -e "\e[1m\e[32mStripping\e[0m"
-    ${CROSS_TOOLS}strip ${OUT_LIB_DIR}/*.so
-    checkfail "stripping"
-fi
+echo "Dumping dbg symbols info ${OUT_DBG_DIR}"
 
+cd ${SRC_DIR}
 OUT_DBG_DIR=.dbg/${ANDROID_ABI}
 
-echo "Dumping dbg symbols info ${OUT_DBG_DIR}"
-
 mkdir -p $OUT_DBG_DIR
 cp -a libvlc/jni/obj/local/${ANDROID_ABI}/*.so ${OUT_DBG_DIR}
 cp -a libvlc/private_libs/obj/local/${ANDROID_ABI}/*.so ${OUT_DBG_DIR}



More information about the Android mailing list