[wasm] Allow assemblies to be skipped for AOTMode=AotInterp (#49446)
authorAnkit Jain <radical@gmail.com>
Thu, 11 Mar 2021 22:34:16 +0000 (17:34 -0500)
committerGitHub <noreply@github.com>
Thu, 11 Mar 2021 22:34:16 +0000 (17:34 -0500)
commite47b9b507b3344dacc2f4c0a2e6453cb9b65d9d6
tree56130e043305db378d866fd89431384488c9c54f
parent1d12854807aaedbd0019b34149c3633d462f4ca5
[wasm] Allow assemblies to be skipped for AOTMode=AotInterp (#49446)

* [wasm] reduce visibility of `[AOT] /foo/bar.dll`  messages

* [wasm] Quote assembly path when invoking mono-aot-cross

* [wasm] WasmApp.*: Use the msbuild equivalent of `Path.Combine` in

.. the targets/props .

* [wasm] WasmApp.targets: Simplify emcc invocations a bit

* [wasm] WasmApp.targets: quote paths correctly

* [wasm] Add `%(WasmAssembliesToBundle._InternalForceInterpret)`

.. to allow skipping AOT, per assembly.

* [wasm] don't copy dotnet.* to appbundle unnecessarily

This was added earlier to support blazor workload which only uses AOT.
But that has since been fixed to correctly use
`WasmBuildApp`+`@(WasmNativeAsset)`, so this can be removed.

* [wasm] Add new `$(WasmNativeDebugSymbols)` that to get symbols with

.. dotnet.wasm . It defaults to `true`.

* [wasm] Check that EMSDK_PATH is set when building native files

* [wasm] Rename `@(_WasmAssemblies)` -> `@(_WasmAssembliesInternal)`

* [wasm] Fix sample build

* [wasm] Fix tests on helix - typo

* Address review feedback

* fix a missing quote

Co-authored-by: Larry Ewing <lewing@microsoft.com>
src/mono/wasm/build/WasmApp.InTree.props
src/mono/wasm/build/WasmApp.InTree.targets
src/mono/wasm/build/WasmApp.LocalBuild.props
src/mono/wasm/build/WasmApp.LocalBuild.targets
src/mono/wasm/build/WasmApp.targets
src/tasks/AotCompilerTask/MonoAOTCompiler.cs
src/tasks/Common/Utils.cs