From 88b5e3d4b77dd8238331ade1b31ac8ddc62f22f7 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Sun, 3 Dec 2023 12:18:43 -0600 Subject: [PATCH] Wasm runtime features (#95486) * Move default runtime features for Wasm* to a separate props file * Fix import * Update Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest.pkgproj * Update WasmFeatures.props --- ...orkload.Mono.Toolchain.Current.Manifest.pkgproj | 2 ++ .../WasmFeatures.props | 14 ++++++++++++++ .../WorkloadManifest.targets.in | 11 +---------- 3 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WasmFeatures.props diff --git a/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest.pkgproj b/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest.pkgproj index 41c41ea12cd6c..b342a2bbcc197 100644 --- a/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest.pkgproj +++ b/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest.pkgproj @@ -18,6 +18,7 @@ $(IntermediateOutputPath)WorkloadManifest.json $(IntermediateOutputPath)WorkloadManifest.targets $(IntermediateOutputPath)WorkloadManifest.Wasi.targets + $(MSBuildThisFileDirectory)WasmFeatures.props $(MSBuildThisFileDirectory)WorkloadTelemetry.targets @@ -25,6 +26,7 @@ + diff --git a/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WasmFeatures.props b/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WasmFeatures.props new file mode 100644 index 0000000000000..05b2c8264f56d --- /dev/null +++ b/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WasmFeatures.props @@ -0,0 +1,14 @@ + + + false + false + false + false + true + false + false + false + <_AggressiveAttributeTrimming Condition="'$(_AggressiveAttributeTrimming)' == ''">true + false + + diff --git a/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.targets.in b/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.targets.in index 1a7c0e787e7fc..acbf0c5ecdaaf 100644 --- a/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.targets.in +++ b/src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest/WorkloadManifest.targets.in @@ -39,17 +39,8 @@ $(WasmNativeWorkloadAvailable) - false - false - false - false - true - false - false - false - <_AggressiveAttributeTrimming Condition="'$(_AggressiveAttributeTrimming)' == ''">true - false +