From ae9f3d66c26ea9c7fd889a80f6564ccfecc62e53 Mon Sep 17 00:00:00 2001 From: Sebastian Sellmair Date: Wed, 29 Nov 2023 11:27:55 +0100 Subject: [PATCH] [K/N] Modularise :kotlin-native:native.backend to extract objc header generation (1/2) ^KT-63905 --- .../main/kotlin}/org/jetbrains/kotlin/backend/konan/BinaryType.kt | 0 .../kotlin}/org/jetbrains/kotlin/backend/konan/InlineClasses.kt | 0 .../kotlin}/org/jetbrains/kotlin/backend/konan/InteropUtils.kt | 0 .../kotlin}/org/jetbrains/kotlin/backend/konan/KonanFqNames.kt | 0 .../konan/ObjCExportSuspendFunctionLaunchThreadRestriction.kt | 0 .../kotlin/backend/konan/UnitSuspendFunctionObjCExport.kt | 0 .../kotlin/backend/konan/descriptors/LegacyDescriptorUtils.kt | 0 .../jetbrains/kotlin/backend/konan/objcexport/CustomTypeMapper.kt | 0 .../kotlin/backend/konan/objcexport/MainPackageGuesser.kt | 0 .../org/jetbrains/kotlin/backend/konan/objcexport/MethodBridge.kt | 0 .../jetbrains/kotlin/backend/konan/objcexport/ModuleMapBuilder.kt | 0 .../kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt | 0 .../backend/konan/objcexport/ObjCExportHeaderGeneratorImpl.kt | 0 .../jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazy.kt | 0 .../kotlin/backend/konan/objcexport/ObjCExportLazyUtils.kt | 0 .../jetbrains/kotlin/backend/konan/objcexport/ObjCExportMapper.kt | 0 .../jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt | 0 .../jetbrains/kotlin/backend/konan/objcexport/ObjCExportScope.kt | 0 .../kotlin/backend/konan/objcexport/ObjCExportTranslatorMobile.kt | 0 .../kotlin/backend/konan/objcexport/ObjCExportedStubs.kt | 0 .../jetbrains/kotlin/backend/konan/objcexport/ObjCHeaderWriter.kt | 0 .../backend/konan/objcexport/ObjcExportHeaderGeneratorMobile.kt | 0 .../org/jetbrains/kotlin/backend/konan/objcexport/StubBuilder.kt | 0 .../org/jetbrains/kotlin/backend/konan/objcexport/StubRenderer.kt | 0 .../org/jetbrains/kotlin/backend/konan/objcexport/objcTypes.kt | 0 .../org/jetbrains/kotlin/backend/konan/objcexport/stubs.kt | 0 .../konan/testUtils/AbstractObjCExportHeaderGeneratorTest.kt | 0 .../backend/konan/testUtils/Fe10ObjCExportHeaderGenerator.kt | 0 .../org/jetbrains/kotlin/backend/konan/testUtils/Fe10Utils.kt | 0 .../kotlin/backend/konan/testUtils/InlineSourceTestEnvironment.kt | 0 .../jetbrains/kotlin/backend/konan/testUtils/ObjCExportUtils.kt | 0 .../org/jetbrains/kotlin/backend/konan/testUtils/konanHome.kt | 0 .../org/jetbrains/kotlin/backend/konan/testUtils/testDataDir.kt | 0 .../backend/konan/tests/Fe10ObjCExportHeaderGeneratorTest.kt | 0 .../jetbrains/kotlin/backend/konan/tests/ObjCExportMapperTest.kt | 0 .../jetbrains/kotlin/backend/konan/tests/ObjCExportNamerTest.kt | 0 .../classImplementingInterface/!classImplementingInterface.h | 0 .../test}/testData/objcexport/classImplementingInterface/Foo.kt | 0 .../!classWithHidesFromObjCAnnotation.h | 0 .../testData/objcexport/classWithHidesFromObjCAnnotation/Foo.kt | 0 .../src/test}/testData/objcexport/classWithKDoc/!classWithKDoc.h | 0 .../src/test}/testData/objcexport/classWithKDoc/Foo.kt | 0 .../classWithObjCNameAnnotation/!classWithObjCNameAnnotation.h | 0 .../test}/testData/objcexport/classWithObjCNameAnnotation/Foo.kt | 0 .../objcexport/functionWithErrorType/!functionWithErrorType.h | 0 .../src/test}/testData/objcexport/functionWithErrorType/Foo.kt | 0 .../!functionWithObjCNameAnnotation.h | 0 .../testData/objcexport/functionWithObjCNameAnnotation/Foo.kt | 0 .../functionWithThrowsAnnotation/!functionWithThrowsAnnotation.h | 0 .../test}/testData/objcexport/functionWithThrowsAnnotation/Foo.kt | 0 .../!interfaceImplementingInterface.h | 0 .../testData/objcexport/interfaceImplementingInterface/Foo.kt | 0 .../!sameClassNameInDifferentPackage.h | 0 .../testData/objcexport/sameClassNameInDifferentPackage/a/Foo.kt | 0 .../testData/objcexport/sameClassNameInDifferentPackage/b/Foo.kt | 0 .../samePropertyAndFunctionName/!samePropertyAndFunctionName.h | 0 .../test}/testData/objcexport/samePropertyAndFunctionName/Foo.kt | 0 .../src/test}/testData/objcexport/simpleClass/!simpleClass.h | 0 .../src/test}/testData/objcexport/simpleClass/Foo.kt | 0 .../test}/testData/objcexport/simpleEnumClass/!simpleEnumClass.h | 0 .../src/test}/testData/objcexport/simpleEnumClass/Foo.kt | 0 .../test}/testData/objcexport/simpleInterface/!simpleInterface.h | 0 .../src/test}/testData/objcexport/simpleInterface/Foo.kt | 0 .../src/test}/testData/objcexport/simpleObject/!simpleObject.h | 0 .../src/test}/testData/objcexport/simpleObject/Foo.kt | 0 .../testData/objcexport/topLevelFunction/!topLevelFunction.h | 0 .../src/test}/testData/objcexport/topLevelFunction/Foo.kt | 0 .../testData/objcexport/topLevelProperty/!topLevelProperty.h | 0 .../src/test}/testData/objcexport/topLevelProperty/Foo.kt | 0 69 files changed, 0 insertions(+), 0 deletions(-) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/base/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/BinaryType.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/base/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/InlineClasses.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/base/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/InteropUtils.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/base/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/KonanFqNames.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/base/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/ObjCExportSuspendFunctionLaunchThreadRestriction.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/base/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/UnitSuspendFunctionObjCExport.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/base/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/descriptors/LegacyDescriptorUtils.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/CustomTypeMapper.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/MainPackageGuesser.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/MethodBridge.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ModuleMapBuilder.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGeneratorImpl.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazy.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazyUtils.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportMapper.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportScope.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportTranslatorMobile.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportedStubs.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjCHeaderWriter.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/ObjcExportHeaderGeneratorMobile.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/StubBuilder.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/StubRenderer.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/objcTypes.kt (100%) rename {kotlin-native/backend.native/compiler/ir/backend.native/src => native/objcexport-header-generator/src/main/kotlin}/org/jetbrains/kotlin/backend/konan/objcexport/stubs.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/testUtils/AbstractObjCExportHeaderGeneratorTest.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/testUtils/Fe10ObjCExportHeaderGenerator.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/testUtils/Fe10Utils.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/testUtils/InlineSourceTestEnvironment.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/testUtils/ObjCExportUtils.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/testUtils/konanHome.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/testUtils/testDataDir.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/tests/Fe10ObjCExportHeaderGeneratorTest.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/tests/ObjCExportMapperTest.kt (100%) rename {kotlin-native/backend.native/functionalTest/src => native/objcexport-header-generator/src/test/kotlin}/org/jetbrains/kotlin/backend/konan/tests/ObjCExportNamerTest.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classImplementingInterface/!classImplementingInterface.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classImplementingInterface/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classWithHidesFromObjCAnnotation/!classWithHidesFromObjCAnnotation.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classWithHidesFromObjCAnnotation/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classWithKDoc/!classWithKDoc.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classWithKDoc/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classWithObjCNameAnnotation/!classWithObjCNameAnnotation.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/classWithObjCNameAnnotation/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/functionWithErrorType/!functionWithErrorType.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/functionWithErrorType/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/functionWithObjCNameAnnotation/!functionWithObjCNameAnnotation.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/functionWithObjCNameAnnotation/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/functionWithThrowsAnnotation/!functionWithThrowsAnnotation.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/functionWithThrowsAnnotation/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/interfaceImplementingInterface/!interfaceImplementingInterface.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/interfaceImplementingInterface/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/sameClassNameInDifferentPackage/!sameClassNameInDifferentPackage.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/sameClassNameInDifferentPackage/a/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/sameClassNameInDifferentPackage/b/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/samePropertyAndFunctionName/!samePropertyAndFunctionName.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/samePropertyAndFunctionName/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleClass/!simpleClass.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleClass/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleEnumClass/!simpleEnumClass.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleEnumClass/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleInterface/!simpleInterface.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleInterface/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleObject/!simpleObject.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/simpleObject/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/topLevelFunction/!topLevelFunction.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/topLevelFunction/Foo.kt (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/topLevelProperty/!topLevelProperty.h (100%) rename {kotlin-native/backend.native/functionalTest => native/objcexport-header-generator/src/test}/testData/objcexport/topLevelProperty/Foo.kt (100%) diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/BinaryType.kt b/native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/BinaryType.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/BinaryType.kt rename to native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/BinaryType.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/InlineClasses.kt b/native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/InlineClasses.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/InlineClasses.kt rename to native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/InlineClasses.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/InteropUtils.kt b/native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/InteropUtils.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/InteropUtils.kt rename to native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/InteropUtils.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanFqNames.kt b/native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/KonanFqNames.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/KonanFqNames.kt rename to native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/KonanFqNames.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ObjCExportSuspendFunctionLaunchThreadRestriction.kt b/native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/ObjCExportSuspendFunctionLaunchThreadRestriction.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ObjCExportSuspendFunctionLaunchThreadRestriction.kt rename to native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/ObjCExportSuspendFunctionLaunchThreadRestriction.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/UnitSuspendFunctionObjCExport.kt b/native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/UnitSuspendFunctionObjCExport.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/UnitSuspendFunctionObjCExport.kt rename to native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/UnitSuspendFunctionObjCExport.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/descriptors/LegacyDescriptorUtils.kt b/native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/descriptors/LegacyDescriptorUtils.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/descriptors/LegacyDescriptorUtils.kt rename to native/base/src/main/kotlin/org/jetbrains/kotlin/backend/konan/descriptors/LegacyDescriptorUtils.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/CustomTypeMapper.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/CustomTypeMapper.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/CustomTypeMapper.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/CustomTypeMapper.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/MainPackageGuesser.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/MainPackageGuesser.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/MainPackageGuesser.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/MainPackageGuesser.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/MethodBridge.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/MethodBridge.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/MethodBridge.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/MethodBridge.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ModuleMapBuilder.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ModuleMapBuilder.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ModuleMapBuilder.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ModuleMapBuilder.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGenerator.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGeneratorImpl.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGeneratorImpl.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGeneratorImpl.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportHeaderGeneratorImpl.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazy.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazy.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazy.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazy.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazyUtils.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazyUtils.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazyUtils.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportLazyUtils.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportMapper.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportMapper.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportMapper.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportMapper.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportNamer.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportScope.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportScope.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportScope.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportScope.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportTranslatorMobile.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportTranslatorMobile.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportTranslatorMobile.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportTranslatorMobile.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportedStubs.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportedStubs.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportedStubs.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCExportedStubs.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCHeaderWriter.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCHeaderWriter.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjCHeaderWriter.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjCHeaderWriter.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjcExportHeaderGeneratorMobile.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjcExportHeaderGeneratorMobile.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/ObjcExportHeaderGeneratorMobile.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/ObjcExportHeaderGeneratorMobile.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/StubBuilder.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/StubBuilder.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/StubBuilder.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/StubBuilder.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/StubRenderer.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/StubRenderer.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/StubRenderer.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/StubRenderer.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/objcTypes.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/objcTypes.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/objcTypes.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/objcTypes.kt diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/stubs.kt b/native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/stubs.kt similarity index 100% rename from kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/stubs.kt rename to native/objcexport-header-generator/src/main/kotlin/org/jetbrains/kotlin/backend/konan/objcexport/stubs.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/AbstractObjCExportHeaderGeneratorTest.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/AbstractObjCExportHeaderGeneratorTest.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/AbstractObjCExportHeaderGeneratorTest.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/AbstractObjCExportHeaderGeneratorTest.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/Fe10ObjCExportHeaderGenerator.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/Fe10ObjCExportHeaderGenerator.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/Fe10ObjCExportHeaderGenerator.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/Fe10ObjCExportHeaderGenerator.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/Fe10Utils.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/Fe10Utils.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/Fe10Utils.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/Fe10Utils.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/InlineSourceTestEnvironment.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/InlineSourceTestEnvironment.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/InlineSourceTestEnvironment.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/InlineSourceTestEnvironment.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/ObjCExportUtils.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/ObjCExportUtils.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/ObjCExportUtils.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/ObjCExportUtils.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/konanHome.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/konanHome.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/konanHome.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/konanHome.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/testDataDir.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/testDataDir.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/testUtils/testDataDir.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/testUtils/testDataDir.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/tests/Fe10ObjCExportHeaderGeneratorTest.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/tests/Fe10ObjCExportHeaderGeneratorTest.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/tests/Fe10ObjCExportHeaderGeneratorTest.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/tests/Fe10ObjCExportHeaderGeneratorTest.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/tests/ObjCExportMapperTest.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/tests/ObjCExportMapperTest.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/tests/ObjCExportMapperTest.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/tests/ObjCExportMapperTest.kt diff --git a/kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/tests/ObjCExportNamerTest.kt b/native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/tests/ObjCExportNamerTest.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/src/org/jetbrains/kotlin/backend/konan/tests/ObjCExportNamerTest.kt rename to native/objcexport-header-generator/src/test/kotlin/org/jetbrains/kotlin/backend/konan/tests/ObjCExportNamerTest.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classImplementingInterface/!classImplementingInterface.h b/native/objcexport-header-generator/src/test/testData/objcexport/classImplementingInterface/!classImplementingInterface.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classImplementingInterface/!classImplementingInterface.h rename to native/objcexport-header-generator/src/test/testData/objcexport/classImplementingInterface/!classImplementingInterface.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classImplementingInterface/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/classImplementingInterface/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classImplementingInterface/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/classImplementingInterface/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classWithHidesFromObjCAnnotation/!classWithHidesFromObjCAnnotation.h b/native/objcexport-header-generator/src/test/testData/objcexport/classWithHidesFromObjCAnnotation/!classWithHidesFromObjCAnnotation.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classWithHidesFromObjCAnnotation/!classWithHidesFromObjCAnnotation.h rename to native/objcexport-header-generator/src/test/testData/objcexport/classWithHidesFromObjCAnnotation/!classWithHidesFromObjCAnnotation.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classWithHidesFromObjCAnnotation/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/classWithHidesFromObjCAnnotation/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classWithHidesFromObjCAnnotation/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/classWithHidesFromObjCAnnotation/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classWithKDoc/!classWithKDoc.h b/native/objcexport-header-generator/src/test/testData/objcexport/classWithKDoc/!classWithKDoc.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classWithKDoc/!classWithKDoc.h rename to native/objcexport-header-generator/src/test/testData/objcexport/classWithKDoc/!classWithKDoc.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classWithKDoc/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/classWithKDoc/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classWithKDoc/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/classWithKDoc/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classWithObjCNameAnnotation/!classWithObjCNameAnnotation.h b/native/objcexport-header-generator/src/test/testData/objcexport/classWithObjCNameAnnotation/!classWithObjCNameAnnotation.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classWithObjCNameAnnotation/!classWithObjCNameAnnotation.h rename to native/objcexport-header-generator/src/test/testData/objcexport/classWithObjCNameAnnotation/!classWithObjCNameAnnotation.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/classWithObjCNameAnnotation/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/classWithObjCNameAnnotation/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/classWithObjCNameAnnotation/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/classWithObjCNameAnnotation/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithErrorType/!functionWithErrorType.h b/native/objcexport-header-generator/src/test/testData/objcexport/functionWithErrorType/!functionWithErrorType.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithErrorType/!functionWithErrorType.h rename to native/objcexport-header-generator/src/test/testData/objcexport/functionWithErrorType/!functionWithErrorType.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithErrorType/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/functionWithErrorType/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithErrorType/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/functionWithErrorType/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithObjCNameAnnotation/!functionWithObjCNameAnnotation.h b/native/objcexport-header-generator/src/test/testData/objcexport/functionWithObjCNameAnnotation/!functionWithObjCNameAnnotation.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithObjCNameAnnotation/!functionWithObjCNameAnnotation.h rename to native/objcexport-header-generator/src/test/testData/objcexport/functionWithObjCNameAnnotation/!functionWithObjCNameAnnotation.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithObjCNameAnnotation/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/functionWithObjCNameAnnotation/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithObjCNameAnnotation/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/functionWithObjCNameAnnotation/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithThrowsAnnotation/!functionWithThrowsAnnotation.h b/native/objcexport-header-generator/src/test/testData/objcexport/functionWithThrowsAnnotation/!functionWithThrowsAnnotation.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithThrowsAnnotation/!functionWithThrowsAnnotation.h rename to native/objcexport-header-generator/src/test/testData/objcexport/functionWithThrowsAnnotation/!functionWithThrowsAnnotation.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithThrowsAnnotation/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/functionWithThrowsAnnotation/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/functionWithThrowsAnnotation/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/functionWithThrowsAnnotation/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/interfaceImplementingInterface/!interfaceImplementingInterface.h b/native/objcexport-header-generator/src/test/testData/objcexport/interfaceImplementingInterface/!interfaceImplementingInterface.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/interfaceImplementingInterface/!interfaceImplementingInterface.h rename to native/objcexport-header-generator/src/test/testData/objcexport/interfaceImplementingInterface/!interfaceImplementingInterface.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/interfaceImplementingInterface/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/interfaceImplementingInterface/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/interfaceImplementingInterface/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/interfaceImplementingInterface/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/sameClassNameInDifferentPackage/!sameClassNameInDifferentPackage.h b/native/objcexport-header-generator/src/test/testData/objcexport/sameClassNameInDifferentPackage/!sameClassNameInDifferentPackage.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/sameClassNameInDifferentPackage/!sameClassNameInDifferentPackage.h rename to native/objcexport-header-generator/src/test/testData/objcexport/sameClassNameInDifferentPackage/!sameClassNameInDifferentPackage.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/sameClassNameInDifferentPackage/a/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/sameClassNameInDifferentPackage/a/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/sameClassNameInDifferentPackage/a/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/sameClassNameInDifferentPackage/a/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/sameClassNameInDifferentPackage/b/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/sameClassNameInDifferentPackage/b/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/sameClassNameInDifferentPackage/b/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/sameClassNameInDifferentPackage/b/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/samePropertyAndFunctionName/!samePropertyAndFunctionName.h b/native/objcexport-header-generator/src/test/testData/objcexport/samePropertyAndFunctionName/!samePropertyAndFunctionName.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/samePropertyAndFunctionName/!samePropertyAndFunctionName.h rename to native/objcexport-header-generator/src/test/testData/objcexport/samePropertyAndFunctionName/!samePropertyAndFunctionName.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/samePropertyAndFunctionName/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/samePropertyAndFunctionName/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/samePropertyAndFunctionName/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/samePropertyAndFunctionName/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleClass/!simpleClass.h b/native/objcexport-header-generator/src/test/testData/objcexport/simpleClass/!simpleClass.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleClass/!simpleClass.h rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleClass/!simpleClass.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleClass/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/simpleClass/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleClass/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleClass/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleEnumClass/!simpleEnumClass.h b/native/objcexport-header-generator/src/test/testData/objcexport/simpleEnumClass/!simpleEnumClass.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleEnumClass/!simpleEnumClass.h rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleEnumClass/!simpleEnumClass.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleEnumClass/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/simpleEnumClass/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleEnumClass/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleEnumClass/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleInterface/!simpleInterface.h b/native/objcexport-header-generator/src/test/testData/objcexport/simpleInterface/!simpleInterface.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleInterface/!simpleInterface.h rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleInterface/!simpleInterface.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleInterface/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/simpleInterface/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleInterface/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleInterface/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleObject/!simpleObject.h b/native/objcexport-header-generator/src/test/testData/objcexport/simpleObject/!simpleObject.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleObject/!simpleObject.h rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleObject/!simpleObject.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/simpleObject/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/simpleObject/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/simpleObject/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/simpleObject/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelFunction/!topLevelFunction.h b/native/objcexport-header-generator/src/test/testData/objcexport/topLevelFunction/!topLevelFunction.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelFunction/!topLevelFunction.h rename to native/objcexport-header-generator/src/test/testData/objcexport/topLevelFunction/!topLevelFunction.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelFunction/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/topLevelFunction/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelFunction/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/topLevelFunction/Foo.kt diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelProperty/!topLevelProperty.h b/native/objcexport-header-generator/src/test/testData/objcexport/topLevelProperty/!topLevelProperty.h similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelProperty/!topLevelProperty.h rename to native/objcexport-header-generator/src/test/testData/objcexport/topLevelProperty/!topLevelProperty.h diff --git a/kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelProperty/Foo.kt b/native/objcexport-header-generator/src/test/testData/objcexport/topLevelProperty/Foo.kt similarity index 100% rename from kotlin-native/backend.native/functionalTest/testData/objcexport/topLevelProperty/Foo.kt rename to native/objcexport-header-generator/src/test/testData/objcexport/topLevelProperty/Foo.kt