From a30a3f1926a644064aeb211c8b3eecf5b5725882 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 11 Dec 2014 19:09:07 +0300 Subject: [PATCH] Rework bootstrapping compiler with runtime in build.xml Do not pack the runtime into the compiler on the first step of bootstrap, but rather leave it as a separate file named kotlin-runtime-internal-bootstrap.jar. This new solution will allow compiler to use its own classes from "core", not the ones used by the runtime it depends on --- build.xml | 73 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/build.xml b/build.xml index d3806597379..84cb1d0f0e9 100644 --- a/build.xml +++ b/build.xml @@ -29,6 +29,31 @@ + + + + + + + + + + + + + + @@ -383,26 +408,6 @@ - - - - - - - - - - - @@ -413,9 +418,6 @@ - - - @@ -565,10 +567,6 @@ public protected *; } - -keep class kotlin.** { - public protected *; - } - -keep class com.intellij.psi.** { public protected *; } @@ -606,7 +604,15 @@ + + + + + + + + @@ -634,7 +640,7 @@ - + @@ -651,7 +657,7 @@ - + @@ -697,7 +703,7 @@ - + @@ -840,15 +846,16 @@ implementation-title="${manifest.impl.title.kotlin.jvm.runtime.minimal.sources}"/> - + - + depends="clean,init,prepare-dist,preloader,serialize-builtins,compiler-quick,ant-tools,jdk-annotations,android-sdk-annotations,runtime,kotlin-js-stdlib" + description="Builds everything, but classes are reused from project out dir, doesn't run proguard and javadoc"/>