diff --git a/src/mono/wasm/build/WasmApp.targets b/src/mono/wasm/build/WasmApp.targets index 9b6dc5fbd9b03..99e83cd511a48 100644 --- a/src/mono/wasm/build/WasmApp.targets +++ b/src/mono/wasm/build/WasmApp.targets @@ -144,15 +144,38 @@ <_WasmPInvokeModules Include="libSystem.Globalization.Native" /> <_WasmPInvokeAssemblies Include="$(WasmBuildDir)\*.dll" /> + - - - - + + <_WasmObjects Include="libmono-ee-interp.a"/> + <_WasmObjects Include="libmonosgen-2.0.a"/> + <_WasmObjects Include="libmono-ilgen.a"/> + <_WasmObjects Include="libmono-icall-table.a"/> + <_WasmObjects Include="libSystem.Native.a"/> + <_WasmObjects Include="libSystem.IO.Compression.Native.a"/> + <_WasmObjects Include="libicuuc.a"/> + <_WasmObjects Include="libicui18n.a"/> + <_WasmObjects Include="driver.o"/> + <_WasmObjects Include="pinvoke.o"/> + <_WasmObjects Include="corebindings.o"/> + + + + <_WasmIncludeDir>$(MicrosoftNetCoreAppRuntimePackRidDir)native/include + <_WasmSrcDir>$(MicrosoftNetCoreAppRuntimePackRidDir)native/src + <_WasmEmcc>source $(EMSDK_PATH)/emsdk_env.sh && emcc + $(EmccFlags) -DCORE_BINDINGS -DGEN_PINVOKE=1 -I$(WasmBuildDir) -I$(_WasmIncludeDir)/mono-2.0 -I$(_WasmIncludeDir)/wasm + $(EmccFlags) -s TOTAL_MEMORY=536870912 + + + + + +