Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
534
Issue boards
Milestones
Wiki
Code
Merge requests
11
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
d3d9ebe7
Commit
d3d9ebe7
authored
9 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Import lua scripts into assets folder
parent
663a02d1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vlc-android/.gitignore
+2
-0
2 additions, 0 deletions
vlc-android/.gitignore
vlc-android/build.gradle
+19
-0
19 additions, 0 deletions
vlc-android/build.gradle
with
21 additions
and
0 deletions
vlc-android/.gitignore
+
2
−
0
View file @
d3d9ebe7
...
...
@@ -3,3 +3,5 @@ gen/
libs/
obj/
.settings
assets/lua/
This diff is collapsed.
Click to expand it.
vlc-android/build.gradle
+
19
−
0
View file @
d3d9ebe7
...
...
@@ -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
->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment