Skip to content

Commit

Permalink
Merge pull request #954 from unoplatform/dev/jela/emcc-prof
Browse files Browse the repository at this point in the history
fix: Adjust `WasmShellEnableEmccProfiling` support
  • Loading branch information
jeromelaban authored Mar 3, 2025
2 parents 4190eb9 + 5a73c98 commit f8675cc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,21 @@

</Target>

<PropertyGroup>
<UnoEnableEmccProfiling_BeforeTargets>
$(UnoEnableEmccProfiling_BeforeTargets);
_WasmCommonPrepareForWasmBuildNative;
</UnoEnableEmccProfiling_BeforeTargets>
</PropertyGroup>

<Target Name="UnoEnableEmccProfiling"
BeforeTargets="$(UnoEnableEmccProfiling_BeforeTargets)"
Condition=" '$(WasmShellEnableEmccProfiling)' == 'true' ">
<PropertyGroup>
<!-- Enable debug symbols for release mode to profiling -->
<WasmNativeStrip>false</WasmNativeStrip>
<WasmNativeDebugSymbols>true</WasmNativeDebugSymbols>
</PropertyGroup>
</Target>

</Project>

0 comments on commit f8675cc

Please sign in to comment.