Move web platform system calls into a separate file.

This commit is contained in:
Brad Nelson
2022-07-18 19:56:00 -07:00
parent ef245b8292
commit 26e993110b
3 changed files with 142 additions and 123 deletions

View File

@ -276,6 +276,7 @@ $(GEN)/web_sys.js: $(GEN)/dump_web_opcodes | $(GEN)
$< sys >$@
WEB_BOOT = $(COMMON_PHASE1e) \
web/platform.fs \
$(COMMON_PHASE2) \
web/fini.fs
$(GEN)/web_boot.js: tools/source_to_string.js $(WEB_BOOT) | $(GEN)