Disable google tests on cross compilers (#1738)

Removes checks for onlyathena and onlyraspbian, and just disables gtest for cross compilers.
This commit is contained in:
Thad House
2019-06-29 09:27:11 -07:00
committed by Peter Johnson
parent d9cb57a429
commit 2dc94e6052
4 changed files with 25 additions and 21 deletions

View File

@@ -103,11 +103,7 @@ model {
}
binaries {
withType(GoogleTestTestSuiteBinarySpec) {
if (!project.hasProperty('onlylinuxathena') && !project.hasProperty('onlylinuxraspbian')) {
lib library: nativeName, linkage: 'shared'
} else {
it.buildable = false
}
lib library: nativeName, linkage: 'shared'
}
}
tasks {