File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,15 @@ android {
27
27
}
28
28
}
29
29
30
- if (System . getenv(' NDK_ROOT' ) && System . getenv(' NDK_ROOT' ). contains(' r16b' )) {
31
- // Additional ABIs are added to the list when building using NDK r16b only.
30
+ if (System . getenv(' NDK_ROOT' )) {
31
+ if (System . getenv(' NDK_ROOT' ). contains(' r16b' ) || System . getenv(' NDK_ROOT' ). contains(' r11c' )) {
32
+ // Deprecated ABIs are added to the list when building using older NDKs only.
33
+ // Rather than an exhaustive list, we only support r11c and r16b.
32
34
android. defaultConfig. ndk. abiFilters. add(" armeabi" )
33
35
android. defaultConfig. ndk. abiFilters. add(" mips" )
34
36
android. defaultConfig. ndk. abiFilters. add(" mips64" )
37
+ if (System . getenv(' NDK_ROOT' ). contains(' r11c' )) {
38
+ android. defaultConfig. ndk. abiFilters. add(" armeabi-v7a-hard" ) // Removed after r11c.
39
+ }
40
+ }
35
41
}
You can’t perform that action at this time.
0 commit comments