[Android] ChromeOS: Don't run something for ARMv7, but just for x86

Jean-Baptiste Kempf git at videolan.org
Tue Nov 24 16:18:12 CET 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov 24 16:13:24 2015 +0100| [0d46b2f000642775b5745eada28803e298fad89e] | committer: Jean-Baptiste Kempf

ChromeOS: Don't run something for ARMv7, but just for x86

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

 compile.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index 0c02e42..65b1f80 100755
--- a/compile.sh
+++ b/compile.sh
@@ -222,7 +222,7 @@ fi
 # Chrome OS repackaging #
 #########################
 # You need to run the armv7 version first, then relaunch this script for x86
-if [ "$CHROME_OS" = 1 ]; then
+if [ "$CHROME_OS" = 1 -a "$ANDROID_ABI" = "x86" ]; then
     unzip -o vlc-android/build/outputs/apk/VLC-Android-CHROME-*-ARMv7.apk lib/armeabi-v7a/libvlcjni.so
     zip -rv vlc-android/build/outputs/apk/VLC-Android-CHROME-*-x86.apk lib/armeabi-v7a/libvlcjni.so
     rm -rf lib/



More information about the Android mailing list