diff --git a/generators/build.gradle.kts b/generators/build.gradle.kts index 26f2bb8b4b3..2f87e8dcf13 100644 --- a/generators/build.gradle.kts +++ b/generators/build.gradle.kts @@ -31,6 +31,7 @@ val (interpreterSourceSet, interpreterApi) = extraSourceSet("interpreter") val (protobufSourceSet, protobufApi) = extraSourceSet("protobuf") val (protobufCompareSourceSet, protobufCompareApi) = extraSourceSet("protobufCompare", jpsKind = SourceSet.TEST_SOURCE_SET_NAME) val (wasmSourceSet, wasmApi) = extraSourceSet("wasm") +val (nativeInteropRuntimeSourceSet, nativeInteropRuntimeApi) = extraSourceSet("nativeInteropRuntime") dependencies { api(kotlinStdlib("jdk8")) @@ -47,6 +48,7 @@ dependencies { interpreterApi(project(":compiler:ir.psi2ir")) protobufApi(kotlinStdlib()) protobufCompareApi(projectTests(":kotlin-build-common")) + nativeInteropRuntimeApi(kotlinStdlib()) testApi(builtinsSourceSet.output) testApi(evaluateSourceSet.output) @@ -104,4 +106,9 @@ val generateOperationsMap by generator("org.jetbrains.kotlin.generators.evaluate val generateInterpreterMap by generator("org.jetbrains.kotlin.generators.interpreter.GenerateInterpreterMapKt", interpreterSourceSet) val generateWasmIntrinsics by generator("org.jetbrains.kotlin.generators.wasm.WasmIntrinsicGeneratorKt", wasmSourceSet) +val generateNativeInteropRuntime by generator( + "org.jetbrains.kotlin.generators.native.interopRuntime.NativeInteropRuntimeGeneratorKt", + nativeInteropRuntimeSourceSet +) + testsJar() diff --git a/generators/nativeInteropRuntime/NativeInteropRuntimeGenerator.kt b/generators/nativeInteropRuntime/NativeInteropRuntimeGenerator.kt new file mode 100644 index 00000000000..0664652778f --- /dev/null +++ b/generators/nativeInteropRuntime/NativeInteropRuntimeGenerator.kt @@ -0,0 +1,9 @@ +/* + * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.generators.native.interopRuntime + +fun main() { +}