[Android] Add option to only build native libs

Geoffrey Métais git at videolan.org
Fri Nov 14 14:30:17 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Nov 13 12:06:58 2014 +0100| [3de648f661093612225520232e72cc86b747aa4f] | committer: Geoffrey Métais

Add option to only build native libs

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

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

diff --git a/compile.sh b/compile.sh
index ce71597..ab5527b 100755
--- a/compile.sh
+++ b/compile.sh
@@ -70,7 +70,9 @@ if [ `set -- ${ANDROID_ABI}; echo $#` -gt 1 ]; then
         cp -r obj/$i vlc-android/libs/
         rm -rf obj/$i
     done
-    make -b -j1 RELEASE=$RELEASE apk || exit 1
+    if [ "$JNI" = 0 ];then
+      make -b -j1 RELEASE=$RELEASE apk || exit 1
+    fi
     exit 0
 fi
 



More information about the Android mailing list