summaryrefslogtreecommitdiff
path: root/render-test/android
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-20 18:45:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-21 15:31:59 +0200
commitd6eeea1909b7ddc7fa7d1880257a2deca86a1562 (patch)
tree3675fd2bdbd067f348ca678ac6899e4c2278bef3 /render-test/android
parenta1243ac1eab6d46510063a853da77552529319c3 (diff)
downloadqtlocation-mapboxgl-d6eeea1909b7ddc7fa7d1880257a2deca86a1562.tar.gz
[build] Build Android release when running render tests
Diffstat (limited to 'render-test/android')
-rw-r--r--render-test/android/app/build.gradle15
1 files changed, 12 insertions, 3 deletions
diff --git a/render-test/android/app/build.gradle b/render-test/android/app/build.gradle
index cb864128a2..b4d230381e 100644
--- a/render-test/android/app/build.gradle
+++ b/render-test/android/app/build.gradle
@@ -9,13 +9,13 @@ android {
targetSdkVersion 28
def abi = 'all'
if (project.hasProperty('mapbox.abis')) {
- abi = project.getProperty("mapbox.abis")
+ abi = project.getProperty('mapbox.abis')
}
ndk {
if (abi != 'all') {
abiFilters abi.split(' ')
} else {
- abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
+ abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a', 'x86_64'
}
}
externalNativeBuild {
@@ -25,7 +25,11 @@ android {
targets 'mbgl-render-test-runner'
}
}
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ android {
+ testBuildType 'release'
+ }
+
+ testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
externalNativeBuild {
cmake {
@@ -33,6 +37,11 @@ android {
path '../../../next/CMakeLists.txt'
}
}
+ buildTypes {
+ release {
+ signingConfig signingConfigs.debug
+ }
+ }
}
dependencies {