Adding the native Skia lib to the Android binding
Changing the DllImport to point to the newly build library.
This commit is contained in:
Родитель
111ebbfb2b
Коммит
3729c6cb8a
|
@ -28,7 +28,7 @@ namespace SkiaSharp
|
|||
#if MONOTOUCH
|
||||
const string SKIA = "__Internal";
|
||||
#elif __ANDROID__
|
||||
const string SKIA = "libskia.so";
|
||||
const string SKIA = "libskia_android.so";
|
||||
#else
|
||||
const string SKIA = "/tmp/libskia.dylib";
|
||||
#endif
|
||||
|
|
|
@ -60,4 +60,21 @@
|
|||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedNativeLibrary Include="..\..\native-builds\android\arm64-v8a\libskia_android.so">
|
||||
<Link>libs\arm64-v8a\libskia_android.so</Link>
|
||||
</EmbeddedNativeLibrary>
|
||||
<EmbeddedNativeLibrary Include="..\..\native-builds\android\armeabi\libskia_android.so">
|
||||
<Link>libs\armeabi\libskia_android.so</Link>
|
||||
</EmbeddedNativeLibrary>
|
||||
<EmbeddedNativeLibrary Include="..\..\native-builds\android\armeabi-v7a\libskia_android.so">
|
||||
<Link>libs\armeabi-v7a\libskia_android.so</Link>
|
||||
</EmbeddedNativeLibrary>
|
||||
<EmbeddedNativeLibrary Include="..\..\native-builds\android\x86\libskia_android.so">
|
||||
<Link>libs\x86\libskia_android.so</Link>
|
||||
</EmbeddedNativeLibrary>
|
||||
<EmbeddedNativeLibrary Include="..\..\native-builds\android\x86_64\libskia_android.so">
|
||||
<Link>libs\x86_64\libskia_android.so</Link>
|
||||
</EmbeddedNativeLibrary>
|
||||
</ItemGroup>
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче