[Wasm] Add external file checker to K2
#KT-56849
This commit is contained in:
committed by
Space Team
parent
7687b86654
commit
6b6353f3b9
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user