Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7b300ca4
authored
Jul 30, 2020
by
krocard
Committed by
Oliver Woodman
Aug 01, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Build cmake AV1 outside of CITC
PiperOrigin-RevId: 323988640
parent
12bd36d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
extensions/av1/build.gradle
extensions/av1/build.gradle
View file @
7b300ca4
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment