|
46 | 46 | <Import Project="$(MSBuildThisFileDirectory)WasmFeatures.props" Condition="'$(RuntimeIdentifier)' == 'browser-wasm' or '$(RuntimeIdentifier)' == 'wasi-wasm'" /> |
47 | 47 |
|
48 | 48 | <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'browser-wasm' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp'"> |
49 | | - <!-- Keep in sync with WasmApp.Native.targets --> |
50 | | - <_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded Condition=" |
| 49 | + <!-- Keep in sync with $(PropertiesThatTriggerRelinking) --> |
| 50 | + <_WasmNativeWorkloadNeeded Condition=" |
51 | 51 | '$(WasmEnableSIMD)' == 'false' or |
52 | 52 | '$(WasmEnableExceptionHandling)' == 'false' or |
53 | 53 | '$(InvariantTimezone)' == 'true' or |
54 | | - ('$(_UsingBlazorOrWasmSdk)' != 'true' and '$(InvariantGlobalization)' == 'true') or |
55 | | - '$(WasmNativeStrip)' == 'false'">true</_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded> |
56 | | - |
57 | | - <!-- $(WasmBuildNative)==true is needed to enable workloads, when using native references, without AOT --> |
58 | | - <!-- FIXME: is the blazor condition here correct? --> |
59 | | - <_WasmNativeWorkloadNeeded Condition=" |
60 | | - '$(_WasmPropertiesDifferFromRuntimePackThusNativeBuildNeeded)' == 'true' or |
| 54 | + '$(WasmNativeStrip)' == 'false' or |
| 55 | + '$(WasmNativeDebugSymbols)' == 'true' or |
| 56 | + '$(WasmSingleFileBundle)' == 'false' or |
| 57 | + '$(EnableDiagnostics)' == 'true' or |
| 58 | + '$(WasmProfilers)' != '' or |
61 | 59 | '$(RunAOTCompilation)' == 'true' or |
62 | 60 | '$(WasmBuildNative)' == 'true' or |
63 | 61 | '$(WasmGenerateAppBundle)' == 'true' or |
64 | 62 | '$(_UsingBlazorOrWasmSdk)' != 'true' or |
| 63 | + '$(EmccInitialHeapSize)' != '' or |
65 | 64 | '$(EmccMaximumHeapSize)' != '' " >true</_WasmNativeWorkloadNeeded> |
66 | 65 |
|
67 | 66 | <UsingBrowserRuntimeWorkload Condition="'$(_BrowserWorkloadNotSupportedForTFM)' == 'true'">false</UsingBrowserRuntimeWorkload> |
|
0 commit comments