Include FIR modules into compiler #KT-30243 Fixed

(cherry picked from commit 053aa8ca1e)
This commit is contained in:
Mikhail Glukhikh
2019-04-19 19:49:50 +03:00
committed by Vyacheslav Gerasimov
parent bd16c4629a
commit 3f6be95801
3 changed files with 18 additions and 36 deletions
+6 -12
View File
@@ -191,17 +191,6 @@ extra["compilerModules"] = arrayOf(
":compiler:resolution",
":compiler:serialization",
":compiler:psi",
*if (project.findProperty("fir.enabled") == "true") {
arrayOf(
":compiler:fir:cones",
":compiler:fir:resolve",
":compiler:fir:tree",
":compiler:fir:psi2fir",
":compiler:fir:fir2ir"
)
} else {
emptyArray()
},
":compiler:frontend",
":compiler:frontend.common",
":compiler:frontend.java",
@@ -235,7 +224,12 @@ extra["compilerModules"] = arrayOf(
":core:descriptors.jvm",
":core:deserialization",
":core:util.runtime",
":core:type-system"
":core:type-system",
":compiler:fir:cones",
":compiler:fir:resolve",
":compiler:fir:tree",
":compiler:fir:psi2fir",
":compiler:fir:fir2ir"
)
val coreLibProjects = listOf(
@@ -113,17 +113,11 @@ extra["compilerModules"] = arrayOf(
":compiler:resolution",
":compiler:serialization",
":compiler:psi",
*if (project.findProperty("fir.enabled") == "true") {
arrayOf(
":compiler:fir:cones",
":compiler:fir:resolve",
":compiler:fir:tree",
":compiler:fir:psi2fir",
":compiler:fir:fir2ir"
)
} else {
emptyArray()
},
":compiler:fir:cones",
":compiler:fir:resolve",
":compiler:fir:tree",
":compiler:fir:psi2fir",
":compiler:fir:fir2ir",
":compiler:frontend",
":compiler:frontend.common",
":compiler:frontend.java",
+7 -13
View File
@@ -30,19 +30,13 @@ val projectsToShadow by extra(listOf(
":idea:eval4j",
":idea:formatter",
":compiler:psi",
*if (project.findProperty("fir.enabled") == "true") {
arrayOf(
":compiler:fir:cones",
":compiler:fir:resolve",
":compiler:fir:tree",
":compiler:fir:java",
":compiler:fir:psi2fir",
":compiler:fir:fir2ir",
":idea:fir-view"
)
} else {
emptyArray()
},
":compiler:fir:cones",
":compiler:fir:resolve",
":compiler:fir:tree",
":compiler:fir:java",
":compiler:fir:psi2fir",
":compiler:fir:fir2ir",
":idea:fir-view",
":compiler:frontend",
":compiler:frontend.common",
":compiler:frontend.java",