[Android] Copy native libs into libvlc bundle

Geoffrey Métais git at videolan.org
Fri Feb 6 17:14:02 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb  6 17:04:18 2015 +0100| [1c60e2ce3f02ecca54c35e13773b236c11e8f31b] | committer: Geoffrey Métais

Copy native libs into libvlc bundle

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

 libvlc/build.gradle |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libvlc/build.gradle b/libvlc/build.gradle
index b78e634..a9b4936 100644
--- a/libvlc/build.gradle
+++ b/libvlc/build.gradle
@@ -22,7 +22,6 @@ task buildDebugARM(type:Exec) {
     commandLine './compile-libvlc.sh'
     args('-a', "armeabi-v7a")
 }
-
 task buildDebugx86(type:Exec) {
     if (System.getenv('ANDROID_SDK') == null || System.getenv('ANDROID_NDK') == null) {
         Properties properties = new Properties()
@@ -43,7 +42,7 @@ android {
     sourceSets {
     main {
         jni.srcDirs = [] // Prevent gradle from building native code with ndk; we have our own Makefile for it.
-        jniLibs.srcDir 'libs' // Where generated .so files are placed.
+        jniLibs.srcDir 'jni/libs' // Where generated .so files are placed.
         manifest.srcFile 'AndroidManifest.xml'
         java.srcDirs = ['src']
         resources.srcDirs = ['src']



More information about the Android mailing list