Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move artifact target under emcc build condition #493

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mk/wasm.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CFLAGS_emcc ?=
deps_emcc := artifact
deps_emcc :=
ASSETS := assets
WEB_HTML_RESOURCES := $(ASSETS)/html
WEB_JS_RESOURCES := $(ASSETS)/js
Expand Down Expand Up @@ -42,7 +42,7 @@ $(OUT)/elf_list.js: tools/gen-elf-list-js.py
$(Q)tools/gen-elf-list-js.py > $@

# used to download all dependencies of elf executable and bundle into single wasm
deps_emcc += $(OUT)/elf_list.js $(DOOM_DATA) $(QUAKE_DATA) $(TIMIDITY_DATA)
deps_emcc += artifact $(OUT)/elf_list.js $(DOOM_DATA) $(QUAKE_DATA) $(TIMIDITY_DATA)

# check browser MAJOR version if supports TCO
CHROME_MAJOR :=
Expand Down