[Wasm] Add external file checker to K2

#KT-56849
This commit is contained in:
Svyatoslav Kuzmich
2023-11-22 12:52:11 +01:00
committed by Space Team
parent 7687b86654
commit 6b6353f3b9
11 changed files with 120 additions and 0 deletions
@@ -7,6 +7,7 @@ project.configureJvmToolchain(JdkMajorVersion.JDK_1_8)
dependencies {
api(project(":core:compiler.common"))
implementation(project(":core:compiler.common.web"))
}
sourceSets {
@@ -6,6 +6,8 @@
package org.jetbrains.kotlin.name
import org.jetbrains.kotlin.name.StandardClassIds.BASE_KOTLIN_PACKAGE
import org.jetbrains.kotlin.name.WebCommonStandardClassIds.Annotations.JsModule
import org.jetbrains.kotlin.name.WebCommonStandardClassIds.Annotations.JsQualifier
object WasmStandardClassIds {
val BASE_WASM_PACKAGE = BASE_KOTLIN_PACKAGE.child(Name.identifier("wasm"))
@@ -19,6 +21,9 @@ object WasmStandardClassIds {
@JvmField
val JsFun = "JsFun".baseId()
@JvmField
val annotationsRequiringExternal = setOf(JsModule, JsQualifier)
}
}