diff --git a/base/assets/licenses/license_quickjs.md b/base/assets/licenses/license_quickjs.md deleted file mode 100644 index ee4c8739..00000000 --- a/base/assets/licenses/license_quickjs.md +++ /dev/null @@ -1,26 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2017-2021 Fabrice Bellard -Copyright (c) 2017-2021 Charlie Gordon -Copyright (c) 2023 Ben Noordhuis -Copyright (c) 2023 Saúl Ibarra Corretgé - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -https://github.com/quickjs-ng/quickjs diff --git a/base/tools/amake/project.js b/base/tools/amake/project.js index 7ec567a4..53516cff 100644 --- a/base/tools/amake/project.js +++ b/base/tools/amake/project.js @@ -8,8 +8,7 @@ project.add_cfiles("../../sources/iron_array.c"); project.add_cfiles("../../sources/iron_gc.c"); project.add_define("NO_GC"); -project.add_include_dir("../../sources/libs"); -project.add_cfiles("../../sources/libs/quickjs-amalgam.c"); +project.add_cfiles("quickjs-amalgam.c"); project.add_define("JS_DEFAULT_STACK_SIZE=8388608"); // 8 * 1024 * 1024 project.add_define("QJS_BUILD_LIBC"); project.add_cfiles("main.c"); diff --git a/base/sources/libs/quickjs-amalgam.c b/base/tools/amake/quickjs-amalgam.c similarity index 100% rename from base/sources/libs/quickjs-amalgam.c rename to base/tools/amake/quickjs-amalgam.c diff --git a/base/sources/libs/quickjs-libc.h b/base/tools/amake/quickjs-libc.h similarity index 100% rename from base/sources/libs/quickjs-libc.h rename to base/tools/amake/quickjs-libc.h diff --git a/base/sources/libs/quickjs.h b/base/tools/amake/quickjs.h similarity index 100% rename from base/sources/libs/quickjs.h rename to base/tools/amake/quickjs.h