File tree Expand file tree Collapse file tree 2 files changed +22
-18
lines changed
HarfBuzzSharp.NativeAssets.WebAssembly/buildTransitive
SkiaSharp.NativeAssets.WebAssembly/buildTransitive Expand file tree Collapse file tree 2 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 31
31
<NativeFileReference Include =" $(HarfBuzzSharpStaticLibraryPath)\3.1.56\$(_HarfBuzzSharpNativeBinaryType)\*.a" Condition =" $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '9.0'))" />
32
32
</ItemGroup >
33
33
34
- <!-- Workaround for https://github.com/dotnet/runtime/issues/109289 -->
35
- <Target Name =" RuntimeIssue109289_Workaround"
36
- AfterTargets =" _BrowserWasmWriteRspForLinking" >
37
- <ItemGroup >
38
- <_WasmLinkStepArgs Remove =" @(_EmccLinkStepArgs)" />
39
- <_EmccLinkStepArgs Remove =" " %(_WasmNativeFileForLinking.Identity)" " />
40
- <_WasmLinkDependencies Remove =" @(_WasmNativeFileForLinking)" />
41
-
42
- <_SkiaSharpToReorder Include =" @(_WasmNativeFileForLinking)" Condition =" $([System.String]::Copy('%(FullPath)').Contains('libSkiaSharp.a'))" />
43
- <_WasmNativeFileForLinking Remove =" @(_SkiaSharpToReorder)" />
44
- <_WasmNativeFileForLinking Include =" @(_SkiaSharpToReorder)" />
45
-
46
- <_EmccLinkStepArgs Include =" " %(_WasmNativeFileForLinking.Identity)" " />
47
- <_WasmLinkDependencies Include =" @(_WasmNativeFileForLinking)" />
48
- <_WasmLinkStepArgs Include =" @(_EmccLinkStepArgs)" />
49
- </ItemGroup >
50
- </Target >
51
-
52
34
</Project >
Original file line number Diff line number Diff line change 40
40
<NativeFileReference Include =" $(SkiaSharpStaticLibraryPath)\3.1.56\$(_SkiaSharpNativeBinaryType)\*.a" Condition =" $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '9.0'))" />
41
41
</ItemGroup >
42
42
43
+ <!-- Workaround for https://github.com/dotnet/runtime/issues/109289 -->
44
+ <Target Name =" _SkiaSharpRuntimeIssue109289Workaround" AfterTargets =" _BrowserWasmWriteRspForLinking" >
45
+ <ItemGroup >
46
+ <!-- Remove the relevant args from the items -->
47
+ <_WasmLinkStepArgs Remove =" @(_EmccLinkStepArgs)" />
48
+ <_EmccLinkStepArgs Remove =" " %(_WasmNativeFileForLinking.Identity)" " />
49
+ <_WasmLinkDependencies Remove =" @(_WasmNativeFileForLinking)" />
50
+
51
+ <!-- Find the libSkiaSharp binaries -->
52
+ <_SkiaSharpToReorder Include =" @(_WasmNativeFileForLinking)" Condition =" $([System.String]::Copy('%(FullPath)').Contains('libSkiaSharp.a'))" />
53
+
54
+ <!-- Remove the libSkiaSharp binary and add it back, but at the end -->
55
+ <_WasmNativeFileForLinking Remove =" @(_SkiaSharpToReorder)" />
56
+ <_WasmNativeFileForLinking Include =" @(_SkiaSharpToReorder)" />
57
+
58
+ <!-- Add all the args back -->
59
+ <_EmccLinkStepArgs Include =" " %(_WasmNativeFileForLinking.Identity)" " />
60
+ <_WasmLinkDependencies Include =" @(_WasmNativeFileForLinking)" />
61
+ <_WasmLinkStepArgs Include =" @(_EmccLinkStepArgs)" />
62
+ </ItemGroup >
63
+ </Target >
64
+
43
65
</Project >
You can’t perform that action at this time.
0 commit comments