JVM IR: remove dependency of 'backend.jvm' on 'psi2ir', 'ir.serialization.jvm'

Add a new module 'backend.jvm.entrypoint' which depends on psi2ir and
contains code that runs psi2ir + JVM IR backend with serialization
implementations.

Hopefully this will allow to compile these modules in parallel and
reduce the build time.
This commit is contained in:
Alexander Udalov
2021-02-21 20:04:06 +01:00
parent 5e0860ca14
commit 566f97ae3e
18 changed files with 44 additions and 14 deletions
+3
View File
@@ -12,6 +12,9 @@ dependencies {
api(project(":compiler:fir:fir2ir"))
api(project(":compiler:fir:checkers"))
// TODO: do not use GeneratorExtensions in `FirAnalyzerFacade.convertToIr`, and make this an 'implementation' dependency.
api(project(":compiler:ir.psi2ir"))
implementation(project(":compiler:fir:resolve"))
implementation(project(":compiler:fir:fir2ir:jvm-backend"))
implementation(project(":compiler:backend.jvm"))
@@ -15,6 +15,7 @@ dependencies {
compileOnly(project(":compiler:ir.tree"))
compileOnly(project(":compiler:backend"))
compileOnly(project(":compiler:backend.jvm"))
api(project(":compiler:ir.serialization.common"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core", "asm-all", rootProject = rootProject) }
}