forked from dotnet/maui
/
Compatibility.ControlGallery.Android.csproj
74 lines (61 loc) · 3.33 KB
/
Compatibility.ControlGallery.Android.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(_MauiDotNetTfm)-android</TargetFramework>
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
<OutputType>Exe</OutputType>
<RootNamespace>Microsoft.Maui.Controls.Compatibility.ControlGallery.Android</RootNamespace>
<AssemblyName>Microsoft.Maui.Controls.Compatibility.ControlGallery.Android</AssemblyName>
<IsPackable>false</IsPackable>
<Nullable>disable</Nullable>
<!--<DefineConstants>$(DefineConstants);HAVE_OPENTK</DefineConstants>-->
<NoWarn>IL2036;0618;0612</NoWarn>
</PropertyGroup>
<!--
default locally to using fast renderers but if we're running on CI don't set a value for ANDROID_RENDERERS.
This will let the old and new yaml configurations coexist
-->
<PropertyGroup>
<DefineConstants Condition="'$(ANDROID_RENDERERS)' == 'LEGACY'">$(DefineConstants);LEGACY_RENDERERS</DefineConstants>
<DefineConstants Condition="'$(ANDROID_RENDERERS)' == 'LEGACY'">$(DefineConstants);ANDROID</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DefineConstants>$(DefineConstants);ENABLE_TEST_CLOUD</DefineConstants>
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>$(MSBuildThisFileDirectory)../../../../../eng/debug.keystore</AndroidSigningKeyStore>
<AndroidSigningStorePass>android</AndroidSigningStorePass>
<AndroidSigningKeyAlias>androiddebugkey</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>android</AndroidSigningKeyPass>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Xam.Plugin.DeviceInfo" Version="4.1.1" />
<PackageReference Include="Xamarin.Build.Download" Version="0.11.4" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.6.1.3" />
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.5.0.3" />
<PackageReference Include="Xamarin.AndroidX.Palette" Version="1.0.0.19" />
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.9.0.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\Controls\tests\CustomAttributes\Controls.CustomAttributes.csproj" />
<ProjectReference Include="..\..\..\..\Controls\Maps\src\Controls.Maps.csproj" />
<ProjectReference Include="..\..\..\..\Controls\src\Core\Controls.Core.csproj" />
<ProjectReference Include="..\..\..\..\Core\src\Core.csproj" />
<ProjectReference Include="..\Core\Compatibility.ControlGallery.Core.csproj" />
</ItemGroup>
<ItemGroup>
<ProguardConfiguration Include="..\..\..\..\..\.nuspec\proguard.cfg" />
<AndroidAsset Include="Assets\**" />
<AndroidResource Include="Resources\**" />
<AndroidEnvironment Include="Environment.txt" />
<Compile Include="Properties\MapsKey.cs" Condition="Exists('Properties\MapsKey.cs')" />
</ItemGroup>
<ItemGroup>
<None Include="Compatibility\**\*.cs" />
<Compile Remove="Compatibility\**\*.cs" />
</ItemGroup>
<Import Project="$(MauiSrcDirectory)Maui.InTree.props" Condition=" '$(UseMaui)' != 'true' " />
</Project>