Skip to content
Snippets Groups Projects
Commit 49daec56 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

build: add libcompat.7.so only for armv7

parent 8c831088
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ android {
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets', 'libcompat/libs/armeabi']
assets.srcDirs = ['assets' ]
}
}
......
......@@ -5,3 +5,4 @@ obj/
.settings
assets/lua/
assets/*.so
......@@ -23,6 +23,18 @@ android {
exclude '**/*.txt'
}
task libcompatCopy(type: Copy) {
from '../libvlc/libcompat/libs/armeabi'
into 'assets'
include '**/*.so'
}
task libcompatDelete(type: Delete) {
delete fileTree('assets') {
include '**/*.so'
}
}
dataBinding {
enabled = true
}
......@@ -39,6 +51,14 @@ android {
if (task.name.startsWith('merge')) {
task.dependsOn luaPlaylistCopy
task.dependsOn luaMetaCopy
if (task.name.contains('ARMv7') || task.name.contains('ARMv6')
|| task.name.contains('ARMv5')) {
task.dependsOn libcompatCopy
}
else {
task.dependsOn libcompatDelete
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment