[ObjCExport] Support exported library modules

This new module gives the ability to resolve symbols
from provided klib KtLibraryModules withing a Analysis Session.

^KT-65327 Fixed
This commit is contained in:
Sebastian Sellmair
2024-03-01 11:34:56 +01:00
committed by Space Team
parent b5b7e5f262
commit 10cf97f05b
12 changed files with 234 additions and 98 deletions
@@ -69,14 +69,15 @@ class ObjCExportDependenciesHeaderGeneratorTest(
* Requires being able to use AA to iterate over symbols to 'export' the dependency
*/
@Test
@TodoAnalysisApi
fun `test - exportedAndNotExportedDependency`() {
doTest(
dependenciesDir.resolve("exportedAndNotExportedDependency"), configuration = HeaderGenerator.Configuration(
frameworkName = "MyApp",
generateBaseDeclarationStubs = true,
dependencies = listOf(testLibraryAKlibFile, testLibraryBKlibFile),
exportedDependencyModuleNames = setOf("org.jetbrains.kotlin:testLibraryA")
exportedDependencyModuleNames = setOf(
"org.jetbrains.kotlin:testLibraryA", "testLibraryA"
)
)
)
}