Show ABI compatibility tasks even if anotherDistro is not provided.
This commit is contained in:
committed by
Vasily Levchenko
parent
62ca6e44e4
commit
8068dee811
+15
-13
@@ -790,22 +790,24 @@ task compdb(type: Copy) {
|
||||
into "$projectDir"
|
||||
}
|
||||
|
||||
if (project.hasProperty("anotherDistro")) {
|
||||
targetList.each { targetName ->
|
||||
task "${targetName}CheckPlatformAbiCompatibility"(type: CompareDistributionSignatures) {
|
||||
dependsOn "${targetName}PlatformLibs"
|
||||
targetList.each { targetName ->
|
||||
task "${targetName}CheckPlatformAbiCompatibility"(type: CompareDistributionSignatures) {
|
||||
dependsOn "${targetName}PlatformLibs"
|
||||
|
||||
libraries = new CompareDistributionSignatures.Libraries.Platform(targetName)
|
||||
libraries = new CompareDistributionSignatures.Libraries.Platform(targetName)
|
||||
if (project.hasProperty("anotherDistro")) {
|
||||
oldDistribution = project.findProperty("anotherDistro")
|
||||
onMismatchMode = CompareDistributionSignatures.OnMismatchMode.FAIL
|
||||
}
|
||||
}
|
||||
|
||||
task "checkStdlibAbiCompatibility"(type: CompareDistributionSignatures) {
|
||||
dependsOn "distRuntime"
|
||||
|
||||
libraries = CompareDistributionSignatures.Libraries.Standard.INSTANCE
|
||||
oldDistribution = project.findProperty("anotherDistro")
|
||||
onMismatchMode = CompareDistributionSignatures.OnMismatchMode.FAIL
|
||||
}
|
||||
}
|
||||
|
||||
task "checkStdlibAbiCompatibility"(type: CompareDistributionSignatures) {
|
||||
dependsOn "distRuntime"
|
||||
|
||||
libraries = CompareDistributionSignatures.Libraries.Standard.INSTANCE
|
||||
if (project.hasProperty("anotherDistro")) {
|
||||
oldDistribution = project.findProperty("anotherDistro")
|
||||
}
|
||||
onMismatchMode = CompareDistributionSignatures.OnMismatchMode.FAIL
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user