[Android] Make VLC-debug.apk debuggable again

Rafaël Carré git at videolan.org
Fri Jun 22 18:13:28 CEST 2012


android | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jun 22 18:12:57 2012 +0200| [e60c8552f09f8f130af74279e16d0f796d01e597] | committer: Rafaël Carré

Make VLC-debug.apk debuggable again

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=e60c8552f09f8f130af74279e16d0f796d01e597
---

 Makefile |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 6221628..0609b7c 100644
--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,11 @@ endif
 ifneq ($(RELEASE),)
 ANT_TARGET = release
 VLC_APK=$(SRC)/bin/VLC-release-unsigned.apk
+NDK_DEBUG=0
 else
 ANT_TARGET = debug
 VLC_APK=$(SRC)/bin/VLC-debug.apk
+NDK_DEBUG=1
 endif
 
 $(VLC_APK): $(LIBVLCJNI) $(JAVA_SOURCES)
@@ -85,7 +87,8 @@ $(LIBVLCJNI): $(JNI_SOURCES) $(LIBVLCJNI_H) $(PRIVATE_LIBS)
 		VLC_SRC_DIR="$$VLC_SRC_DIR" \
 		VLC_CONTRIB="$$VLC_CONTRIB" \
 		VLC_BUILD_DIR="$$VLC_BUILD_DIR" \
-		VLC_MODULES="$$vlc_modules"
+		VLC_MODULES="$$vlc_modules" \
+		NDK_DEBUG=$(NDK_DEBUG)
 
 apkclean:
 	rm -f $(VLC_APK)



More information about the Android mailing list