[IR] Moved actualizer and related things to separate module
^KT-62292
This commit is contained in:
committed by
Space Team
parent
62700c3ec3
commit
649a7bd66b
@@ -77,6 +77,7 @@
|
||||
/compiler/ir/backend.js/ "Kotlin JS"
|
||||
/compiler/ir/backend.jvm/ "Kotlin JVM"
|
||||
/compiler/ir/backend.wasm/ "Kotlin Wasm"
|
||||
/compiler/ir/ir.actualization/ "Kotlin Compiler Core" "Kotlin Common Backend"
|
||||
/compiler/ir/ir.interpreter/ "Kotlin Common Backend"
|
||||
/compiler/ir/ir.ir2cfg/ Mikhail.Glukhikh
|
||||
/compiler/ir/ir.psi2ir/ "Kotlin JVM"
|
||||
|
||||
@@ -116,6 +116,7 @@ val irCompilerModules = arrayOf(
|
||||
":compiler:ir.serialization.native",
|
||||
":compiler:ir.objcinterop",
|
||||
":compiler:ir.backend.common",
|
||||
":compiler:ir.actualization",
|
||||
":compiler:ir.interpreter",
|
||||
":wasm:wasm.ir"
|
||||
).also { extra["irCompilerModules"] = it }
|
||||
@@ -126,6 +127,7 @@ val irCompilerModulesForIDE = arrayOf(
|
||||
":compiler:ir.serialization.jvm",
|
||||
":compiler:ir.serialization.js", // used in IJ android plugin in `ComposeIrGenerationExtension`
|
||||
":compiler:ir.backend.common",
|
||||
":compiler:ir.actualization",
|
||||
":compiler:ir.interpreter",
|
||||
":compiler:ir.objcinterop",
|
||||
).also { extra["irCompilerModulesForIDE"] = it }
|
||||
|
||||
@@ -16,6 +16,7 @@ dependencies {
|
||||
api(project(":compiler:fir:checkers:checkers.native"))
|
||||
api(project(":compiler:fir:checkers:checkers.wasm"))
|
||||
api(project(":js:js.frontend"))
|
||||
api(project(":compiler:ir.actualization"))
|
||||
|
||||
implementation(project(":core:compiler.common.native"))
|
||||
implementation(project(":compiler:fir:resolve"))
|
||||
|
||||
@@ -15,6 +15,7 @@ dependencies {
|
||||
compileOnly(project(":compiler:fir:tree"))
|
||||
compileOnly(project(":compiler:ir.tree"))
|
||||
compileOnly(project(":compiler:ir.backend.common"))
|
||||
compileOnly(project(":compiler:ir.actualization"))
|
||||
compileOnly(project(":compiler:ir.serialization.common"))
|
||||
compileOnly(project(":compiler:fir:fir-serialization"))
|
||||
compileOnly(project(":compiler:fir:fir-deserialization"))
|
||||
|
||||
@@ -17,6 +17,7 @@ dependencies {
|
||||
compileOnly(project(":compiler:ir.tree"))
|
||||
compileOnly(project(":compiler:backend"))
|
||||
compileOnly(project(":compiler:backend.jvm"))
|
||||
implementation(project(":compiler:ir.actualization"))
|
||||
api(project(":compiler:ir.serialization.common"))
|
||||
|
||||
compileOnly(intellijCore())
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":compiler:util"))
|
||||
api(project(":compiler:backend-common"))
|
||||
api(project(":compiler:ir.tree"))
|
||||
api(project(":compiler:ir.backend.common"))
|
||||
compileOnly(intellijCore())
|
||||
}
|
||||
|
||||
optInToUnsafeDuringIrConstructionAPI()
|
||||
|
||||
sourceSets {
|
||||
"main" { projectDefault() }
|
||||
"test" {}
|
||||
}
|
||||
|
||||
@@ -66,6 +66,7 @@ include ":benchmarks",
|
||||
":compiler:ir.ir2cfg",
|
||||
":compiler:ir.objcinterop",
|
||||
":compiler:ir.backend.common",
|
||||
":compiler:ir.actualization",
|
||||
":compiler:ir.serialization.common",
|
||||
":compiler:ir.serialization.jvm",
|
||||
":compiler:ir.serialization.js",
|
||||
@@ -668,6 +669,7 @@ project(':compiler:ir.psi2ir').projectDir = "$rootDir/compiler/ir/ir.psi2ir" as
|
||||
project(':compiler:ir.ir2cfg').projectDir = "$rootDir/compiler/ir/ir.ir2cfg" as File
|
||||
project(':compiler:ir.objcinterop').projectDir = "$rootDir/compiler/ir/ir.objcinterop" as File
|
||||
project(':compiler:ir.backend.common').projectDir = "$rootDir/compiler/ir/backend.common" as File
|
||||
project(':compiler:ir.actualization').projectDir = "$rootDir/compiler/ir/ir.actualization" as File
|
||||
project(':compiler:backend.js').projectDir = "$rootDir/compiler/ir/backend.js" as File
|
||||
project(':compiler:backend.wasm').projectDir = "$rootDir/compiler/ir/backend.wasm" as File
|
||||
project(':compiler:backend.jvm').projectDir = "$rootDir/compiler/ir/backend.jvm" as File
|
||||
|
||||
Reference in New Issue
Block a user