-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update HarfBuzzSharp #13357
Update HarfBuzzSharp #13357
Conversation
build/HarfBuzzSharp.props
Outdated
<PackageReference Condition="'$(IncludeWindowsSkia)' == 'true'" Include="HarfBuzzSharp.NativeAssets.Win32" Version="7.3.0" /> | ||
<PackageReference Condition="'$(IncludeLinuxSkia)' == 'true'" Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0" /> | ||
<PackageReference Condition="'$(IncludeMacSkia)' == 'true'" Include="HarfBuzzSharp.NativeAssets.macOS" Version="7.3.0" /> | ||
<PackageReference Condition="'$(IncludeWasmSkia)' == 'true'" Include="HarfBuzzSharp.NativeAssets.WebAssembly" Version="7.3.0" /> | ||
<PackageReference Condition="'$(IncludeAndroidSkia)' == 'true'" Include="HarfBuzzSharp.NativeAssets.Android" Version="7.3.0" /> | ||
<PackageReference Condition="'$(IncludeIOSSkia)' == 'true'" Include="HarfBuzzSharp.NativeAssets.iOS" Version="7.3.0" /> | ||
<PackageReference Condition="'$(IncludeTizenSkia)' == 'true'" Include="HarfBuzzSharp.NativeAssets.Tizen" Version="7.3.0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything but WASM and Linux should still be included automatically. You can see from dependencies page here: https://www.nuget.org/packages/HarfBuzzSharp
.NETStandard 2.0 has Win32 and macOS
And .NET 6 has mobile platforms as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm so it looks like everything is referenced automatically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, everything automatically, except linux and non-blazor browser. But we already cover these platforms manually.
@@ -6,6 +6,7 @@ | |||
<MSBuildEnableWorkloadResolver>true</MSBuildEnableWorkloadResolver> | |||
<DebugType>portable</DebugType> | |||
<AndroidResgenNamespace>Avalonia.Android.Internal</AndroidResgenNamespace> | |||
<IncludeAndroidSkia>true</IncludeAndroidSkia> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these properties work only when build/HarfBuzzSharp.props is referenced directly in the project.
c4ac3d2
to
3d99158
Compare
What does the pull request do?
New environment variables were introduced for each supported platform to only reference the native assets of the current platform
What is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues