Summary: Since there's a couple of changes after last month pr of #280 , here's a new pr for Xamarin support #276 , the idea is to add Xamarin iOS, Mac and Android support. - Add Xamarin iOS support for Yoga, by providing a wrapper for the native lib. - Add Xamarin iOS Unit testing project ~~- Adds a YogaKit shared implementation in c#.~~ ~~- Adds a YogaKIt iOS implementation.~~ ~~- Adds Yoga/YogaKit iOS sample application~~ Facebook.Yoga.iOS.Tests.exe : 169 ms Tests run: 114 Passed: 114 Inconclusive: 0 Failed: 0 Ignored: 0  Closes https://github.com/facebook/yoga/pull/324 Reviewed By: emilsjolander Differential Revision: D4401408 Pulled By: splhack fbshipit-source-id: ecdae7967060361bef2bc25a5ef759cb9a957322
114 lines
5.2 KiB
XML
114 lines
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
|
|
<ProjectGuid>{FCF0BE59-AE56-4D4F-8524-94532B2DFC71}</ProjectGuid>
|
|
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>Facebook.Yoga.iOS.Tests</RootNamespace>
|
|
<AssemblyName>Facebook.Yoga.iOS.Tests</AssemblyName>
|
|
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
|
|
<DefineConstants>DEBUG;</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
<MtouchDebug>true</MtouchDebug>
|
|
<MtouchFastDev>true</MtouchFastDev>
|
|
<MtouchProfiling>true</MtouchProfiling>
|
|
<MtouchUseSGen>true</MtouchUseSGen>
|
|
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
|
<IOSDebuggerPort>28871</IOSDebuggerPort>
|
|
<MtouchLink>None</MtouchLink>
|
|
<MtouchArch>x86_64</MtouchArch>
|
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
|
<MtouchTlsProvider>Default</MtouchTlsProvider>
|
|
<DeviceSpecificBuild>false</DeviceSpecificBuild>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\iPhone\Release</OutputPath>
|
|
<DefineConstants></DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
<MtouchUseSGen>true</MtouchUseSGen>
|
|
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
|
<MtouchFloat32>true</MtouchFloat32>
|
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
|
<MtouchLink>SdkOnly</MtouchLink>
|
|
<MtouchArch>ARMv7, ARM64</MtouchArch>
|
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
|
<MtouchTlsProvider>Default</MtouchTlsProvider>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\iPhoneSimulator\Release</OutputPath>
|
|
<DefineConstants></DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
<MtouchUseSGen>true</MtouchUseSGen>
|
|
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
|
<MtouchLink>None</MtouchLink>
|
|
<MtouchArch>x86_64</MtouchArch>
|
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
|
<MtouchTlsProvider>Default</MtouchTlsProvider>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\iPhone\Debug</OutputPath>
|
|
<DefineConstants>DEBUG;</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
<DeviceSpecificBuild>true</DeviceSpecificBuild>
|
|
<MtouchDebug>true</MtouchDebug>
|
|
<MtouchFastDev>true</MtouchFastDev>
|
|
<MtouchProfiling>true</MtouchProfiling>
|
|
<MtouchUseSGen>true</MtouchUseSGen>
|
|
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
|
<MtouchFloat32>true</MtouchFloat32>
|
|
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
|
<MtouchLink>SdkOnly</MtouchLink>
|
|
<MtouchArch>ARMv7, ARM64</MtouchArch>
|
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
|
<MtouchTlsProvider>Default</MtouchTlsProvider>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="Xamarin.iOS" />
|
|
<Reference Include="MonoTouch.NUnitLite" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<InterfaceDefinition Include="LaunchScreen.storyboard" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Info.plist" />
|
|
<None Include="Entitlements.plist" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Main.cs" />
|
|
<Compile Include="UnitTestAppDelegate.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Facebook.Yoga.iOS\Facebook.Yoga.iOS.csproj">
|
|
<Project>{128FB32A-C4A1-4363-BF06-0A36E700B7FA}</Project>
|
|
<Name>Facebook.Yoga.iOS</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="..\..\tests\Facebook.Yoga\Facebook.Yoga.Shared.Tests.projitems" Label="Shared" Condition="Exists('..\..\tests\Facebook.Yoga\Facebook.Yoga.Shared.Tests.projitems')" />
|
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
|
</Project> |