Commit d3d9ebe7 authored by Geoffrey Métais's avatar Geoffrey Métais

Import lua scripts into assets folder

parent 663a02d1
......@@ -3,3 +3,5 @@ gen/
libs/
obj/
.settings
assets/lua/
......@@ -12,6 +12,18 @@ android {
disable 'MissingTranslation', 'ExtraTranslation'
}
task luaPlaylistCopy(type: Copy) {
from '../vlc/share/lua/playlist'
into 'assets/lua/playlist'
exclude '**/*.txt'
}
task luaMetaCopy(type: Copy) {
from '../vlc/share/lua/meta'
into 'assets/lua/meta'
exclude '**/*.txt'
}
defaultConfig {
applicationId "org.videolan.vlc"
......@@ -19,6 +31,13 @@ android {
resValue "string", "build_host", hostName()
resValue "string", "build_revision", revision()
tasks.whenTaskAdded { task ->
if (task.name.startsWith('assemble')) {
task.dependsOn luaPlaylistCopy
task.dependsOn luaMetaCopy
}
}
//Set the build ABI according to build types only if not launched from compile.sh
if (System.getenv('PASSWORD_KEYSTORE') == null)
tasks.whenTaskAdded { task ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment