-
Notifications
You must be signed in to change notification settings - Fork 554
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
Support arm64 native assets for Tizen #2324
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<PropertyGroup> | ||
<_HarfBuzzSharpNativeLibraryCurrPath>$([System.IO.Path]::GetDirectoryName('$(MSBuildThisFileDirectory)'))</_HarfBuzzSharpNativeLibraryCurrPath> | ||
<_HarfBuzzSharpNativeLibraryDirName>$([System.IO.Path]::GetFileName('$(_HarfBuzzSharpNativeLibraryCurrPath)'))</_HarfBuzzSharpNativeLibraryDirName> | ||
<_HarfBuzzSharpNativeLibraryRootDir>$(MSBuildThisFileDirectory)..\..\build\$(_HarfBuzzSharpNativeLibraryDirName)\</_HarfBuzzSharpNativeLibraryRootDir> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<TizenTpkFiles Include="$(_HarfBuzzSharpNativeLibraryRootDir)x86\libHarfBuzzSharp.so"> | ||
<Visible>false</Visible> | ||
<TizenTpkSubDir>bin\runtimes\linux-x86\native\</TizenTpkSubDir> | ||
<TizenTpkFileName>libHarfBuzzSharp.so</TizenTpkFileName> | ||
</TizenTpkFiles> | ||
<TizenTpkFiles Include="$(_HarfBuzzSharpNativeLibraryRootDir)arm\libHarfBuzzSharp.so"> | ||
<Visible>false</Visible> | ||
<TizenTpkSubDir>bin\runtimes\tizen-armel\native\</TizenTpkSubDir> | ||
<TizenTpkFileName>libHarfBuzzSharp.so</TizenTpkFileName> | ||
</TizenTpkFiles> | ||
</ItemGroup> | ||
|
||
</Project> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,10 @@ | |
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'tizen40'"> | ||
<!-- Tizen --> | ||
<None Include="..\..\output\native\tizen\armel\libSkiaSharp.*" Link="nuget\build\$(TargetFramework)\arm\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\i386\libSkiaSharp.*" Link="nuget\build\$(TargetFramework)\x86\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\armel\libSkiaSharp.*" Link="nuget\runtimes\tizen-armel\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\arm64\libSkiaSharp.*" Link="nuget\runtimes\tizen-arm64\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\i386\libSkiaSharp.*" Link="nuget\runtimes\tizen-x86\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\i386\libSkiaSharp.*" Link="nuget\runtimes\linux-x86\libSkiaSharp.so" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above, don't copy here, just pack twice. |
||
<None Include="..\SkiaSharp\nuget\build\tizen40\SkiaSharp.targets" Link="nuget\build\$(TargetFramework)\SkiaSharp.targets" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="$(TargetFramework.StartsWith('uap10'))"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<PropertyGroup> | ||
<_SkiaSharpNativeLibraryCurrPath>$([System.IO.Path]::GetDirectoryName('$(MSBuildThisFileDirectory)'))</_SkiaSharpNativeLibraryCurrPath> | ||
<_SkiaSharpNativeLibraryDirName>$([System.IO.Path]::GetFileName('$(_SkiaSharpNativeLibraryCurrPath)'))</_SkiaSharpNativeLibraryDirName> | ||
<_SkiaSharpNativeLibraryRootDir>$(MSBuildThisFileDirectory)..\..\build\$(_SkiaSharpNativeLibraryDirName)\</_SkiaSharpNativeLibraryRootDir> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<TizenTpkFiles Include="$(_SkiaSharpNativeLibraryRootDir)x86\libSkiaSharp.so"> | ||
<Visible>false</Visible> | ||
<TizenTpkSubDir>bin\runtimes\linux-x86\native\</TizenTpkSubDir> | ||
<TizenTpkFileName>libSkiaSharp.so</TizenTpkFileName> | ||
</TizenTpkFiles> | ||
<TizenTpkFiles Include="$(_SkiaSharpNativeLibraryRootDir)arm\libSkiaSharp.so"> | ||
<Visible>false</Visible> | ||
<TizenTpkSubDir>bin\runtimes\tizen-armel\native\</TizenTpkSubDir> | ||
<TizenTpkFileName>libSkiaSharp.so</TizenTpkFileName> | ||
</TizenTpkFiles> | ||
</ItemGroup> | ||
|
||
</Project> |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -29,6 +29,8 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release | |||||
<dependencies> | ||||||
<group targetFramework="tizen40"> | ||||||
</group> | ||||||
<group targetFramework="net6.0-tizen7.0"> | ||||||
</group> | ||||||
</dependencies> | ||||||
|
||||||
</metadata> | ||||||
|
@@ -39,11 +41,14 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release | |||||
<file src="build/tizen40/HarfBuzzSharp.targets" target="buildTransitive/tizen40/HarfBuzzSharp.NativeAssets.Tizen.targets" /> | ||||||
|
||||||
<!-- libHarfBuzzSharp.dll and other native files --> | ||||||
<file src="build/tizen40/arm/libHarfBuzzSharp.so" /> | ||||||
<file src="build/tizen40/x86/libHarfBuzzSharp.so" /> | ||||||
<file src="runtimes/linux-x86/native/libHarfBuzzSharp.so" /> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<file src="runtimes/tizen-x86/native/libHarfBuzzSharp.so" /> | ||||||
<file src="runtimes/tizen-armel/native/libHarfBuzzSharp.so" /> | ||||||
<file src="runtimes/tizen-arm64/native/libHarfBuzzSharp.so" /> | ||||||
|
||||||
<!-- placeholders --> | ||||||
<file src="_._" target="lib/tizen40/_._" /> | ||||||
<file src="_._" target="lib/net6.0-tizen7.0/_._" /> | ||||||
|
||||||
<!-- legal --> | ||||||
<file src="LICENSE.txt" /> | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -30,6 +30,8 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release | |||||
<dependencies> | ||||||
<group targetFramework="tizen40"> | ||||||
</group> | ||||||
<group targetFramework="net6.0-tizen7.0"> | ||||||
</group> | ||||||
</dependencies> | ||||||
|
||||||
</metadata> | ||||||
|
@@ -40,11 +42,14 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release | |||||
<file src="build/tizen40/SkiaSharp.targets" target="buildTransitive/tizen40/SkiaSharp.NativeAssets.Tizen.targets" /> | ||||||
|
||||||
<!-- libSkiaSharp.dll and other native files --> | ||||||
<file src="build/tizen40/arm/libSkiaSharp.so" /> | ||||||
<file src="build/tizen40/x86/libSkiaSharp.so" /> | ||||||
<file src="runtimes/linux-x86/native/libSkiaSharp.so" /> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<file src="runtimes/tizen-x86/native/libSkiaSharp.so" /> | ||||||
<file src="runtimes/tizen-armel/native/libSkiaSharp.so" /> | ||||||
<file src="runtimes/tizen-arm64/native/libSkiaSharp.so" /> | ||||||
|
||||||
<!-- placeholders --> | ||||||
<file src="_._" target="lib/tizen40/_._" /> | ||||||
<file src="_._" target="lib/net6.0-tizen7.0/_._" /> | ||||||
|
||||||
<!-- legal --> | ||||||
<file src="LICENSE.txt" /> | ||||||
|
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.
Do we still need the
linux-x86
runtime? I am not sure we can do this as it will replace the linux binary - and will also cause the tizen binary to run on a linux (desktop) machine.What we can do is actually just keep the
tizen-x86
version, and pack it twice in the tizen nuget.