backend: rework builtIns configuration

* Do not create separate builtIns for analyzer.
* Make builtInsModule synthetic but depending on stdlib.
This commit is contained in:
Svyatoslav Scherbina
2017-02-28 12:25:24 +07:00
committed by SvyatoslavScherbina
parent 5584ef2541
commit 093671f549
7 changed files with 69 additions and 21 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ targetList.each { target ->
"-Dkonan.home=${project.parent.file('dist')}",
"-Djava.library.path=${project.buildDir}/nativelibs"
args('-output', project(':runtime').file("build/${target}/stdlib.kt.bc"),
'-nolink', '-nostdlib',
'-nolink', '-nostdlib', '-compile_as_stdlib',
'-target', target,
'-runtime', project(':runtime').file("build/${target}/runtime.bc"),
'-properties', project(':backend.native').file('konan.properties'),