File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,13 @@ 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 (android. ndkVersion. startsWith(" 16." ) || android. ndkVersion. startsWith(" 11." )) {
31
+ // Deprecated ABIs are added to the list when building using older NDKs only.
32
+ // Rather than an exhaustive list of older NDK versions, we only support r16b and r11c.
32
33
android. defaultConfig. ndk. abiFilters. add(" armeabi" )
33
34
android. defaultConfig. ndk. abiFilters. add(" mips" )
34
35
android. defaultConfig. ndk. abiFilters. add(" mips64" )
36
+ if (android. ndkVersion. startsWith(" 11." )) {
37
+ android. defaultConfig. ndk. abiFilters. add(" armeaby-v7a-hard" ) // Removed after NDK r11c.
38
+ }
35
39
}
You can’t perform that action at this time.
0 commit comments