Skip to content

Commit

Permalink
Merge pull request #493 from ChinYikMing/avoid-repeat-download
Browse files Browse the repository at this point in the history
Move artifact target under emcc build condition
  • Loading branch information
jserv authored Sep 6, 2024
2 parents 563af8b + 1fd6e5e commit abb1135
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit abb1135

Please sign in to comment.