Skip to content

Commit 9e1d4f6

Browse files
toniheimarcbaechinger
authored andcommitted
Update CMake version for AV1 extension
The specified CMake version doesn't work with the latest Android Studio releases. Updating to a more recent version fixes the problem. Issue: google/ExoPlayer#9933 PiperOrigin-RevId: 467634063
1 parent 43ede97 commit 9e1d4f6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

RELEASENOTES.md

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
* FFmpeg extension:
6060
* Add newly required flags to link FFmpeg libraries with NDK 23.1.7779620
6161
and above ([#9933](https://github.com/google/ExoPlayer/issues/9933)).
62+
* AV1 extension:
63+
* Update CMake version to avoid incompatibilities with the latest Android
64+
Studio releases
65+
([#9933](https://github.com/google/ExoPlayer/issues/9933)).
6266

6367
### 1.0.0-beta02 (2022-07-21)
6468

libraries/decoder_av1/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ android {
3232
if (project.file('src/main/jni/libgav1').exists()) {
3333
android.externalNativeBuild.cmake {
3434
path = 'src/main/jni/CMakeLists.txt'
35-
version = '3.7.1+'
35+
version = '3.21.0+'
3636
if (project.hasProperty('externalNativeBuildDir')) {
3737
if (!new File(externalNativeBuildDir).isAbsolute()) {
3838
ext.externalNativeBuildDir =

libraries/decoder_av1/src/main/jni/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
# limitations under the License.
1515
#
1616

17-
cmake_minimum_required(VERSION 3.7.1 FATAL_ERROR)
17+
cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR)
18+
1819
set(CMAKE_CXX_STANDARD 11)
1920

2021
project(libgav1JNI C CXX)

0 commit comments

Comments
 (0)