Skip to content
Find file
ab11d30 Dec 14, 2014
@jonpryor @kallisto @shana @atsushieno
122 lines (121 sloc) 5.37 KB
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{73A74ADF-6308-42A0-8BA6-2B5D53238546}</ProjectGuid>
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Mono.Samples.SanityTests</RootNamespace>
<AssemblyName>SanityTests</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidResgenFile>R.cs</AndroidResgenFile>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<AndroidApplication>true</AndroidApplication>
<AndroidSupportedAbis>armeabi;armeabi-v7a;x86</AndroidSupportedAbis>
<AndroidLinkMode>None</AndroidLinkMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>False</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;MONODROID_TIMING</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MandroidI18n>west</MandroidI18n>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>True</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;MONODROID_TIMING</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
<MandroidI18n>west</MandroidI18n>
</PropertyGroup>
<ItemGroup>
<Reference Include="Mono.Android" />
<Reference Include="Mono.Data.Sqlite" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
<Reference Include="System.Numerics" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel.Web" />
<Reference Include="Mono.Android.GoogleMaps" />
</ItemGroup>
<ItemGroup>
<Compile Include="Hello.cs" />
<Compile Include="LibraryActivity.cs" />
<Compile Include="ManagedAdder.cs" />
<Compile Include="R.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\values\attrs.xml" />
<AndroidResource Include="Resources\drawable-hdpi\StatSample.png" />
<AndroidResource Include="Resources\drawable-mdpi\StatSample.png" />
<AndroidResource Include="Resources\drawable-ldpi\icon.png" />
<AndroidResource Include="Resources\drawable-xhdpi\icon.png" />
<AndroidResource Include="Resources\drawable-xxhdpi\icon.png" />
</ItemGroup>
<ItemGroup>
<AndroidJavaSource Include="TestCubeEngine.java" Condition="$(AndroidApiLevel) != '4'" />
<AndroidJavaLibrary Include="$(OutputPath)\custom.jar" />
</ItemGroup>
<ItemGroup>
<IncludeInCustomJar Include="Adder.java" />
</ItemGroup>
<ItemGroup>
<AndroidAsset Include="Assets\Hello.txt" />
<AndroidAsset Include="Assets\Hello.txt">
<Link>Assets\Subdir\HelloWorld.txt</Link>
</AndroidAsset>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
<PropertyGroup>
<BuildDependsOn>
BuildNativeLibs;BuildNativeJars;$(BuildDependsOn)
</BuildDependsOn>
</PropertyGroup>
<Target Name="BuildNativeLibs" Inputs="jni\foo.c;jni\bar.c;jni\Android.mk" Outputs="@(AndroidNativeLibrary)">
<Error Text="Could not locate Android NDK." Condition="!Exists ('$(_AndroidNdkDirectory)\ndk-build')" />
<Exec Command="&quot;$(_AndroidNdkDirectory)\ndk-build&quot;" />
</Target>
<Target Name="BuildNativeJars" Inputs="Adder.java" Outputs="$(OutputPath)\custom.jar">
<MakeDir Directories="$(OutputPath)\classes" />
<Exec Command="javac -d $(OutputPath)\classes @(IncludeInCustomJar)" />
<Exec Command="jar cf $(OutputPath)\custom.jar -C $(OutputPath)\classes ." />
</Target>
<ItemGroup>
<AndroidNativeLibrary Include="libs\armeabi\libfoo.so" />
<AndroidNativeLibrary Include="libs\armeabi\libbar.so" />
<AndroidNativeLibrary Include="libs\armeabi-v7a\libfoo.so" />
<AndroidNativeLibrary Include="libs\armeabi-v7a\libbar.so" />
<AndroidNativeLibrary Include="libs\x86\libfoo.so" />
<AndroidNativeLibrary Include="libs\x86\libbar.so" />
</ItemGroup>
<PropertyGroup>
<MonoDroidExtraArgs Condition="$(StaticApk) != ''">--noshared</MonoDroidExtraArgs>
<MandroidI18n>west</MandroidI18n>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<Folder Include="Resources\drawable-ldpi\" />
<Folder Include="Resources\drawable-xhdpi\" />
<Folder Include="Resources\drawable-xxhdpi\" />
</ItemGroup>
</Project>
Something went wrong with that request. Please try again.