|
196 | 196 | <_EmccCommonFlags Include="-s EXPORT_ES6=1" />
|
197 | 197 | <_EmccCommonFlags Include="-g" Condition="'$(WasmNativeStrip)' == 'false'" />
|
198 | 198 | <_EmccCommonFlags Include="-v" Condition="'$(EmccVerbose)' != 'false'" />
|
199 |
| - <_EmccCommonFlags Include="-s DISABLE_EXCEPTION_CATCHING=0" Condition="'$(WasmExceptionHandling)' == 'false'" /> |
200 |
| - <_EmccCommonFlags Include="-fwasm-exceptions" Condition="'$(WasmExceptionHandling)' == 'true'" /> |
| 199 | + <_EmccCommonFlags Include="-s DISABLE_EXCEPTION_CATCHING=0" Condition="'$(WasmEnableExceptionHandling)' == 'false'" /> |
| 200 | + <_EmccCommonFlags Include="-fwasm-exceptions" Condition="'$(WasmEnableExceptionHandling)' == 'true'" /> |
201 | 201 | <_EmccCommonFlags Include="-msimd128" Condition="'$(WasmEnableSIMD)' == 'true'" />
|
202 | 202 |
|
203 | 203 | <_EmccIncludePaths Include="$(_WasmIntermediateOutputPath.TrimEnd('\/'))" />
|
|
370 | 370 |
|
371 | 371 | <Target Name="_WasmWriteRspFilesForLinking">
|
372 | 372 | <PropertyGroup>
|
373 |
| - <_WasmEHLib Condition="'$(WasmExceptionHandling)' == 'true'">libmono-wasm-eh-wasm.a</_WasmEHLib> |
374 |
| - <_WasmEHLib Condition="'$(WasmExceptionHandling)' != 'true'">libmono-wasm-eh-js.a</_WasmEHLib> |
375 |
| - <_WasmEHLibToExclude Condition="'$(WasmExceptionHandling)' == 'true'">libmono-wasm-eh-js.a</_WasmEHLibToExclude> |
376 |
| - <_WasmEHLibToExclude Condition="'$(WasmExceptionHandling)' != 'true'">libmono-wasm-eh-wasm.a</_WasmEHLibToExclude> |
| 373 | + <_WasmEHLib Condition="'$(WasmEnableExceptionHandling)' == 'true'">libmono-wasm-eh-wasm.a</_WasmEHLib> |
| 374 | + <_WasmEHLib Condition="'$(WasmEnableExceptionHandling)' != 'true'">libmono-wasm-eh-js.a</_WasmEHLib> |
| 375 | + <_WasmEHLibToExclude Condition="'$(WasmEnableExceptionHandling)' == 'true'">libmono-wasm-eh-js.a</_WasmEHLibToExclude> |
| 376 | + <_WasmEHLibToExclude Condition="'$(WasmEnableExceptionHandling)' != 'true'">libmono-wasm-eh-wasm.a</_WasmEHLibToExclude> |
377 | 377 | </PropertyGroup>
|
378 | 378 | <ItemGroup>
|
379 | 379 | <!-- order matters -->
|
|
528 | 528 | <MonoAOTCompilerDefaultAotArguments Include="direct-icalls" />
|
529 | 529 | <MonoAOTCompilerDefaultAotArguments Include="deterministic" />
|
530 | 530 | <MonoAOTCompilerDefaultAotArguments Include="mattr=simd" Condition="'$(WasmEnableSIMD)' == 'true'" />
|
531 |
| - <MonoAOTCompilerDefaultProcessArguments Include="--wasm-exceptions" Condition="'$(WasmExceptionHandling)' == 'true'" /> |
| 531 | + <MonoAOTCompilerDefaultProcessArguments Include="--wasm-exceptions" Condition="'$(WasmEnableExceptionHandling)' == 'true'" /> |
532 | 532 | <MonoAOTCompilerDefaultProcessArguments Include="--wasm-gc-safepoints" Condition="'$(WasmEnableThreads)' == 'true' or '$(WasmEnablePerfTracing)' == 'true'" />
|
533 | 533 | <AotProfilePath Include="$(WasmAotProfilePath)"/>
|
534 | 534 | </ItemGroup>
|
|
0 commit comments