-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ABI Validation] Correctly handle compilations without sources
* Correctly handle targets with a main compilation resulting in no compiled artifacts * Postpone source directories check by wrapping it into a provider Fixes Kotlin/binary-compatibility-validator#199 Pull request Kotlin/binary-compatibility-validator#200
- Loading branch information
Showing
5 changed files
with
116 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...n/src/functionalTest/resources/examples/classes/AnotherBuildConfig.klib.linuxX64Only.dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Klib ABI Dump | ||
// Targets: [linuxX64] | ||
// Rendering settings: | ||
// - Signature version: 2 | ||
// - Show manifest properties: true | ||
// - Show declarations: true | ||
|
||
// Library unique name: <testproject> | ||
final class org.different.pack/BuildConfig { // org.different.pack/BuildConfig|null[0] | ||
constructor <init>() // org.different.pack/BuildConfig.<init>|<init>(){}[0] | ||
final fun f1(): kotlin/Int // org.different.pack/BuildConfig.f1|f1(){}[0] | ||
final val p1 // org.different.pack/BuildConfig.p1|{}p1[0] | ||
final fun <get-p1>(): kotlin/Int // org.different.pack/BuildConfig.p1.<get-p1>|<get-p1>(){}[0] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters