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
|
#if MONOTOUCH
|
||||||
const string SKIA = "__Internal";
|
const string SKIA = "__Internal";
|
||||||
#elif __ANDROID__
|
#elif __ANDROID__
|
||||||
const string SKIA = "libskia.so";
|
const string SKIA = "libskia_android.so";
|
||||||
#else
|
#else
|
||||||
const string SKIA = "/tmp/libskia.dylib";
|
const string SKIA = "/tmp/libskia.dylib";
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -60,4 +60,21 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Properties\" />
|
<Folder Include="Properties\" />
|
||||||
</ItemGroup>
|
</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>
|
</Project>
|
Загрузка…
Ссылка в новой задаче