[Android] [PATCH] pre-build only for release builds

Geoffrey Métais geoffrey.metais at gmail.com
Tue Feb 10 11:12:43 CET 2015


Gradle handles compile-libvlc.sh for Debug builds
---
 compile.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/compile.sh b/compile.sh
index 619c59d..a1d4c09 100755
--- a/compile.sh
+++ b/compile.sh
@@ -148,14 +148,13 @@ fi
 # Make VLC #
 ############
 
-echo "Configuring"
-OPTS="-a ${ANDROID_ABI}"
 if [ "$RELEASE" = 1 ]; then
+    echo "Configuring"
+    OPTS="-a ${ANDROID_ABI}"
     OPTS+=" release"
+    ./compile-libvlc.sh $OPTS
 fi
 
-./compile-libvlc.sh $OPTS
-
 ##################
 # Compile the UI #
 ##################
-- 
2.1.0



More information about the Android mailing list