mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-22 19:15:34 +00:00
Add arm linux stubs
This commit is contained in:
parent
32bf88c341
commit
cfc794c3bd
|
@ -85,16 +85,20 @@ public class GAssembly
|
|||
{
|
||||
for (int i = 0; i < NativeDeps.Length; i += 2)
|
||||
{
|
||||
// Generate x64 stubs
|
||||
Cake.CreateDirectory(P.Combine(Dir, "linux-x64"));
|
||||
Cake.CreateDirectory(P.Combine(Dir, "linux-x86"));
|
||||
|
||||
// Generate x64 stub
|
||||
Cake.StartProcess("gcc", "-shared -o BuildOutput/LinuxStubs/" + NativeDeps[i] + " BuildOutput/LinuxStubs/empty.c");
|
||||
Cake.StartProcess("gcc", "-Wl,--no-as-needed -shared -o " + P.Combine(Dir, "linux-x64", NativeDeps[i + 1] + ".so") + " -fPIC -L. -l:BuildOutput/LinuxStubs/" + NativeDeps[i] + "");
|
||||
|
||||
// GEnerate x86 stub
|
||||
// Generate x86 stubs
|
||||
Cake.CreateDirectory(P.Combine(Dir, "linux-x86"));
|
||||
Cake.StartProcess("gcc", "-m32 -shared -o BuildOutput/LinuxStubs/" + NativeDeps[i] + " BuildOutput/LinuxStubs/empty.c");
|
||||
Cake.StartProcess("gcc", "-m32 -Wl,--no-as-needed -shared -o " + P.Combine(Dir, "linux-x86", NativeDeps[i + 1] + ".so") + " -fPIC -L. -l:BuildOutput/LinuxStubs/" + NativeDeps[i] + "");
|
||||
|
||||
// Generate arm stubs
|
||||
Cake.CreateDirectory(P.Combine(Dir, "linux-arm"));
|
||||
Cake.StartProcess("arm-none-eabi-gcc", "-shared -o BuildOutput/LinuxStubs/" + NativeDeps[i] + " BuildOutput/LinuxStubs/empty.c");
|
||||
Cake.StartProcess("arm-none-eabi-gcc", "-Wl,--no-as-needed -shared -o " + P.Combine(Dir, "linux-arm", NativeDeps[i + 1] + ".so") + " -fPIC -L. -l:BuildOutput/LinuxStubs/" + NativeDeps[i] + "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x86\libatk-1.0-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libatk-1.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libatk-1.0-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
BIN
Source/Libs/AtkSharp/linux-arm/libatk-1.0-0.so
Executable file
BIN
Source/Libs/AtkSharp/linux-arm/libatk-1.0-0.so
Executable file
Binary file not shown.
|
@ -15,7 +15,8 @@
|
|||
<OutputPath>..\..\..\BuildOutput\Release</OutputPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x64\libcairo-2.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x86\libcairo-2.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libcairo-2.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libcairo-2.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
BIN
Source/Libs/CairoSharp/linux-arm/libcairo-2.so
Executable file
BIN
Source/Libs/CairoSharp/linux-arm/libcairo-2.so
Executable file
Binary file not shown.
|
@ -15,11 +15,14 @@
|
|||
<OutputPath>..\..\..\BuildOutput\Release</OutputPath>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x64\libglib-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgobject-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgthread-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x86\libglib-2.0-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgobject-2.0-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgthread-2.0-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libglib-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgobject-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgthread-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libglib-2.0-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgobject-2.0-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgthread-2.0-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
BIN
Source/Libs/GLibSharp/linux-arm/libglib-2.0-0.so
Executable file
BIN
Source/Libs/GLibSharp/linux-arm/libglib-2.0-0.so
Executable file
Binary file not shown.
BIN
Source/Libs/GLibSharp/linux-arm/libgobject-2.0-0.so
Executable file
BIN
Source/Libs/GLibSharp/linux-arm/libgobject-2.0-0.so
Executable file
Binary file not shown.
BIN
Source/Libs/GLibSharp/linux-arm/libgthread-2.0-0.so
Executable file
BIN
Source/Libs/GLibSharp/linux-arm/libgthread-2.0-0.so
Executable file
Binary file not shown.
|
@ -29,9 +29,11 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x64\libgdk_pixbuf-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgdk-3-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgdk_pixbuf-2.0-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgdk-3-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgdk_pixbuf-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgdk-3-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgdk_pixbuf-2.0-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgdk-3-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
BIN
Source/Libs/GdkSharp/linux-arm/libgdk-3-0.so
Executable file
BIN
Source/Libs/GdkSharp/linux-arm/libgdk-3-0.so
Executable file
Binary file not shown.
BIN
Source/Libs/GdkSharp/linux-arm/libgdk_pixbuf-2.0-0.so
Executable file
BIN
Source/Libs/GdkSharp/linux-arm/libgdk_pixbuf-2.0-0.so
Executable file
Binary file not shown.
|
@ -20,7 +20,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x64\libgio-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgio-2.0-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgio-2.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgio-2.0-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
BIN
Source/Libs/GioSharp/linux-arm/libgio-2.0-0.so
Executable file
BIN
Source/Libs/GioSharp/linux-arm/libgio-2.0-0.so
Executable file
Binary file not shown.
|
@ -37,7 +37,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x64\libgtk-3-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x86\libgtk-3-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libgtk-3-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libgtk-3-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
BIN
Source/Libs/GtkSharp/linux-arm/libgtk-3-0.so
Executable file
BIN
Source/Libs/GtkSharp/linux-arm/libgtk-3-0.so
Executable file
Binary file not shown.
|
@ -23,7 +23,8 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="linux-x64\libpango-1.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-x86\libpango-1.0-0.so" PackagePath="runtimes\linux-x86\native" Visible="false" />
|
||||
<Content Include="linux-x64\libpango-1.0-0.so" PackagePath="runtimes\linux-x64\native" Visible="false" />
|
||||
<Content Include="linux-arm\libpango-1.0-0.so" PackagePath="runtimes\linux-arm\native" Visible="false" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
BIN
Source/Libs/PangoSharp/linux-arm/libpango-1.0-0.so
Executable file
BIN
Source/Libs/PangoSharp/linux-arm/libpango-1.0-0.so
Executable file
Binary file not shown.
Loading…
Reference in a new issue