[mono] Adjust wasm gitignore and Makefile (#40797)

This commit is contained in:
Ryan Lucia 2020-08-13 20:55:44 -04:00 committed by GitHub
parent 28e2d54da1
commit 053d6082e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

4
.gitignore vendored
View File

@ -353,3 +353,7 @@ src/coreclr/src/System.Private.CoreLib/common
# The debug directory should not be ignored
!src/coreclr/src/debug
# Mono Wasm-specific excludes
src/mono/wasm/emsdk/
src/mono/wasm/.stamp-wasm-install-and-select*

View File

@ -120,6 +120,12 @@ icu-data:
runtime:
EMSDK_PATH=$(TOP)/src/mono/wasm/emsdk $(TOP)/build.sh --subset mono --arch wasm --os Browser -c $(CONFIG) /p:ContinueOnError=false /p:StopOnFirstFailure=true
cp $(TOP)/artifacts/bin/mono/Browser.wasm.$(CONFIG)/IL/System.Private.CoreLib.dll $(TOP)/artifacts/bin/microsoft.netcore.app.runtime.browser-wasm/$(CONFIG)/runtimes/browser-wasm/native/
$(MAKE) build
corlib:
EMSDK_PATH=$(TOP)/src/mono/wasm/emsdk $(TOP)/build.sh --subset mono.corelib --arch wasm --os Browser -c $(CONFIG)
cp $(TOP)/artifacts/bin/mono/Browser.wasm.$(CONFIG)/IL/System.Private.CoreLib.dll $(TOP)/artifacts/bin/microsoft.netcore.app.runtime.browser-wasm/$(CONFIG)/runtimes/browser-wasm/native/
build-all:
EMSDK_PATH=$(TOP)/src/mono/wasm/emsdk $(TOP)/build.sh --subset mono+libs --arch wasm --os Browser -c $(CONFIG)