Reorganize stdlib-js sources specific to the current JS backend

Move kotlin-stdlib-js project and the sources specific to the current backend to 'stdlib/js-v1' directory,
but leave sources that can be shared with the new IR backend in the common 'stdlib/js' location
with exception for 'stdlib/js/src/generated', which is used exclusively for current backend.
This simplifies sourceset configuration when building stdlib with the new backend.
This commit is contained in:
Svyatoslav Kuzmich
2019-04-11 16:25:40 +03:00
parent 9dd9efd4aa
commit b1d303b027
70 changed files with 72 additions and 115 deletions
+29
View File
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Kotlin Standard Library Test Suite</title>
<!-- paths are setup for local file run -->
<!-- run installMocha gradle task to fetch mocha -->
<link href="../build/node_modules/mocha/mocha.css" rel="stylesheet"/>
</head>
<body>
<div id="mocha"></div>
<script src="../build/node_modules/mocha/mocha.js"></script>
<!--enables globals (describe, it)-->
<script>mocha.setup('bdd');</script>
<script src="../build/classes/kotlin.js"></script>
<script src="../../../kotlin.test/js/build/classes/main/kotlin-test.js"></script>
<script src="../build/classes/kotlin/test/kotlin-stdlib-js_test.js"></script>
<script src="../../../kotlin.test/js/build/classes/kotlin/test/kotlin-test-js_test.js"></script>
<script>
mocha.checkLeaks();
mocha.run();
</script>
</body>
</html>