Commit 7b300ca4 by krocard Committed by Oliver Woodman

Build cmake AV1 outside of CITC

PiperOrigin-RevId: 323988640
parent 12bd36d4
Showing with 11 additions and 2 deletions
...@@ -29,8 +29,17 @@ android { ...@@ -29,8 +29,17 @@ android {
// Configure the native build only if libgav1 is present to avoid gradle sync // Configure the native build only if libgav1 is present to avoid gradle sync
// failures if libgav1 hasn't been built according to the README instructions. // failures if libgav1 hasn't been built according to the README instructions.
if (project.file('src/main/jni/libgav1').exists()) { if (project.file('src/main/jni/libgav1').exists()) {
android.externalNativeBuild.cmake.path = 'src/main/jni/CMakeLists.txt' android.externalNativeBuild.cmake {
android.externalNativeBuild.cmake.version = '3.7.1+' path = 'src/main/jni/CMakeLists.txt'
version = '3.7.1+'
if (project.hasProperty('externalNativeBuildDir')) {
if (!new File(externalNativeBuildDir).isAbsolute()) {
ext.externalNativeBuildDir =
new File(rootDir, it.externalNativeBuildDir)
}
buildStagingDirectory = "${externalNativeBuildDir}/${project.name}"
}
}
} }
dependencies { dependencies {
......
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 sign in to comment