Summary: Adds a Xamarin Android support for Yoga and respective tests. Closes #276 with this PR all Xamarin platforms will be covered Need to figure a better strategy for the build names for buck with splhack . It's failing 3 tests related with YogaNode and the GC :) classic!  ``` Facebook.Yoga.Android.Tests.dll : 660.87 ms : 678.788 ms Tests run: 130, Passed: 127, Failed: 3, Skipped: 0, Inconclusive: 0 ``` Closes https://github.com/facebook/yoga/pull/340 Reviewed By: emilsjolander Differential Revision: D4475370 Pulled By: splhack fbshipit-source-id: f050f10415e68e9808f629b843682b0f87cca065
63 lines
2.8 KiB
XML
63 lines
2.8 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)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{EDF7CF8B-5640-4E1D-A2C7-E4BC8BE44363}</ProjectGuid>
|
|
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>Facebook.Yoga.Android</RootNamespace>
|
|
<AssemblyName>Facebook.Yoga.Android</AssemblyName>
|
|
<TargetFrameworkVersion>v7.0</TargetFrameworkVersion>
|
|
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
|
|
<AndroidResgenClass>Resource</AndroidResgenClass>
|
|
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
|
|
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
|
|
<AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug</OutputPath>
|
|
<DefineConstants>DEBUG;</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AndroidLinkMode>None</AndroidLinkMode>
|
|
<AndroidSupportedAbis>arm64-v8a;armeabi;armeabi-v7a;x86</AndroidSupportedAbis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release</OutputPath>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AndroidManagedSymbols>true</AndroidManagedSymbols>
|
|
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="Mono.Android" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="CustomBuildAction.targets" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="lib\x86\" />
|
|
<Folder Include="lib\armeabi-v7a\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedNativeLibrary Include="lib\x86\libyoga.so">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</EmbeddedNativeLibrary>
|
|
<EmbeddedNativeLibrary Include="lib\armeabi-v7a\libyoga.so">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</EmbeddedNativeLibrary>
|
|
</ItemGroup>
|
|
<Import Project="..\..\Facebook.Yoga\Facebook.Yoga.Shared.projitems" Label="Shared" Condition="Exists('..\..\Facebook.Yoga\Facebook.Yoga.Shared.projitems')" />
|
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
|
<Import Project="CustomBuildAction.targets" />
|
|
</Project> |