blob: fa8b1625164e49b698e2db39a66c952ff5a8ae8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
apply from: "../commonHeader.gradle"
buildscript { apply from: "../commonBuildScript.gradle" }
apply plugin: 'com.android.application'
android {
namespace "com.example.hellojni.app"
// Set to a version that does not support 64-bits (b.android.com/237833)
compileSdkVersion 19
buildToolsVersion = libs.versions.buildToolsVersion.get()
defaultConfig {
minSdkVersion libs.versions.supportLibMinSdk.get()
}
flavorDimensions 'abi'
productFlavors {
x86 {
ndk {
abiFilter "x86"
}
}
arm {
ndk {
abiFilters "armeabi-v7a", "armeabi"
}
}
mips {
ndk {
abiFilter "mips"
}
}
// Make a 64-bits flavor anyway even if the compileSdkVersion does not support it
x86_64 {
ndk {
abiFilter "x86_64"
}
}
}
}
|