File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 406
406
byline =" true" encoding =" UTF-8" />
407
407
</target >
408
408
409
- <target name =" js-stdlib" >
410
- <property environment =" env" />
409
+ <target name =" js-stdlib-preprocess" >
411
410
<kotlin-pp src =" libraries/stdlib/src" output =" ${ intermediate-sources } /stdlib/js" profile =" JS" />
411
+ </target >
412
+
413
+ <target name =" js-stdlib" depends =" js-stdlib-preprocess" >
414
+ <property environment =" env" />
412
415
<cleandir dir =" ${ js.stdlib.output.dir } " />
413
416
414
417
<!-- We don't want descriptors for built-ins to be serialized, so we compile these files separately. -->
474
477
<copy file =" ${ kotlin-home } /lib/kotlin-stdlib-js.jar" tofile =" ${ kotlin-home } /lib/kotlin-jslib.jar" />
475
478
</target >
476
479
477
- <target name =" pack-js-stdlib-sources" >
480
+ <target name =" pack-js-stdlib-sources" depends = " js-stdlib-preprocess " >
478
481
<jar destfile =" ${ kotlin-home } /lib/kotlin-stdlib-js-sources.jar" duplicate =" fail" >
479
482
<resources refid =" js.lib.files" />
480
483
<fileset refid =" kotlin.builtin.files" />
You can’t perform that action at this time.
0 commit comments