mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-11 20:01:35 +00:00
playback/player/android: Update build.gradle
Merge the following fixes from gst-docs https://bugzilla.gnome.org/show_bug.cgi?id=797070 https://bugzilla.gnome.org/show_bug.cgi?id=797093 https://bugzilla.gnome.org/show_bug.cgi?id=797107
This commit is contained in:
parent
0e53ae084b
commit
ddb40e9e39
1 changed files with 8 additions and 6 deletions
|
@ -29,7 +29,7 @@ android {
|
||||||
targets "gstplayer"
|
targets "gstplayer"
|
||||||
|
|
||||||
// All archs except MIPS and MIPS64 are supported
|
// All archs except MIPS and MIPS64 are supported
|
||||||
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86'
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
|
||||||
// x86_64 abis disabled because of https://bugzilla.gnome.org/show_bug.cgi?id=795454
|
// x86_64 abis disabled because of https://bugzilla.gnome.org/show_bug.cgi?id=795454
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -50,12 +50,14 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
compileDebugJavaWithJavac.dependsOn 'externalNativeBuildDebug'
|
if (project.hasProperty('compileDebugJavaWithJavac'))
|
||||||
compileReleaseJavaWithJavac.dependsOn 'externalNativeBuildRelease'
|
project.compileDebugJavaWithJavac.dependsOn 'externalNativeBuildDebug'
|
||||||
|
if (project.hasProperty('compileReleaseJavaWithJavac'))
|
||||||
|
project.compileReleaseJavaWithJavac.dependsOn 'externalNativeBuildRelease'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
testCompile 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
compile 'com.android.support:appcompat-v7:23.1.1'
|
implementation 'com.android.support:appcompat-v7:23.1.1'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue