From: Ryan Lucia Date: Fri, 14 Aug 2020 00:55:44 +0000 (-0400) Subject: [mono] Adjust wasm gitignore and Makefile (#40797) X-Git-Tag: submit/tizen/20210909.063632~5998 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=053d6082e2c545647b8fc92a0b1e30db54f421d6;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [mono] Adjust wasm gitignore and Makefile (#40797) --- diff --git a/.gitignore b/.gitignore index bfe14ad..25fc517 100644 --- a/.gitignore +++ b/.gitignore @@ -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* diff --git a/src/mono/wasm/Makefile b/src/mono/wasm/Makefile index 398bd0e..7efcaed 100644 --- a/src/mono/wasm/Makefile +++ b/src/mono/wasm/Makefile @@ -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)