Include FIR modules into compiler #KT-30243 Fixed

This commit is contained in:
Mikhail Glukhikh
2019-04-19 19:49:50 +03:00
parent 77d74a261d
commit 053aa8ca1e
3 changed files with 18 additions and 36 deletions
+6 -12
View File
@@ -190,17 +190,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",
@@ -234,7 +223,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",