Skip to content

Commit

Permalink
fix: Adjust WasmShellEnableEmccProfiling support
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban authored Feb 24, 2025
1 parent 4190eb9 commit 5a73c98
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 5a73c98

Please sign in to comment.