[Android] compile: add NDK_DEBUG

Thomas Guillem git at videolan.org
Thu Feb 12 13:56:44 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Feb 12 13:56:33 2015 +0100| [2ada2c837b81832d9b5e94fff59c7ed90ce33bc1] | committer: Thomas Guillem

compile: add NDK_DEBUG

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2ada2c837b81832d9b5e94fff59c7ed90ce33bc1
---

 compile-libvlc.sh |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 5306af9..85407a1 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -380,8 +380,10 @@ LDFLAGS="$LDFLAGS -L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/${GCCVER}/libs/
 if [ "$RELEASE" = 1 ]; then
     OPTS=""
     EXTRA_CFLAGS="${EXTRA_CFLAGS} -DNDEBUG "
+    NDK_DEBUG=0
 else
     OPTS="--enable-debug"
+    NDK_DEBUG=1
 fi
 
 
@@ -597,4 +599,5 @@ $ANDROID_NDK/ndk-build -C libvlc \
     SYSROOT=${SYSROOT} \
     TARGET_TUPLE=$TARGET_TUPLE \
     HAVE_64=${HAVE_64} \
-    NDK_PROJECT_PATH=jni
+    NDK_PROJECT_PATH=jni \
+    NDK_DEBUG=${NDK_DEBUG}



More information about the Android mailing list