<commit_before>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
    <mdb>dll.mdb</mdb>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
    <mdb>pdb</mdb>
  </PropertyGroup>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{0289A97A-AB8C-45F3-AA87-B05BB9471D7D}</ProjectGuid>
    <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>storage.customsqlite.droid</RootNamespace>
    <AssemblyName>Couchbase.Lite.Storage.CustomSQLite</AssemblyName>
    <FileAlignment>512</FileAlignment>
    <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
    <AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
    <TargetFrameworkVersion>v4.0.3</TargetFrameworkVersion>
    <RestorePackages>True</RestorePackages>
    <ReleaseVersion>1.1.1</ReleaseVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>TRACE;DEBUG;CUSTOM_SQLITE;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE;CUSTOM_SQLITE;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packaging|AnyCPU'">
    <OutputPath>bin\Packaging\</OutputPath>
    <DefineConstants>TRACE;CUSTOM_SQLITE;</DefineConstants>
    <Optimize>true</Optimize>
    <DebugType></DebugType>
    <PlatformTarget>anycpu</PlatformTarget>
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Mono.Android" />
    <Reference Include="mscorlib" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Xml" />
    <Reference Include="SQLitePCL.raw">
      <HintPath>..\..\..\packages\SQLitePCL.raw.0.9.3\lib\MonoAndroid\SQLitePCL.raw.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="SQLitePCL.ugly">
      <HintPath>..\..\..\packages\SQLitePCL.ugly.0.9.3\lib\portable-net45+netcore45+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCL.ugly.dll</HintPath>
      <Private>False</Private>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\..\Couchbase.Lite.Android\Couchbase.Lite.Android.csproj">
      <Project>{5615e423-d0fd-4f99-a99c-061679615cee}</Project>
      <Name>Couchbase.Lite.Android</Name>
      <Private>False</Private>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\arm64-v8a\libcbsqlite3.so">
      <Link>arm64-v8a\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\armeabi\libcbsqlite3.so">
      <Link>armeabi\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\armeabi-v7a\libcbsqlite3.so">
      <Link>armeabi-v7a\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\x86\libcbsqlite3.so">
      <Link>x86\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\x86_64\libcbsqlite3.so">
      <Link>x86_64\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\util.cs">
      <Link>util.cs</Link>
    </Compile>
    <Compile Include="..\SQLite3Provider_cbsqlite.cs">
      <Link>SQLite3Provider_cbsqlite.cs</Link>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <None Include="packages.config" />
  </ItemGroup>
  <Import Project="..\..\SQLiteCommon\storage.sqlite.common\storage.sqlite.common.projitems" Label="Shared" />
  <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
  <Target Condition=" '$(Configuration)' == 'Packaging' Or '$(Archive)' == 'true'" Name="AfterBuild">
    <MakeDir Directories="$(SolutionDir)..\staging\Couchbase.Lite.Storage.SQLCipher\MonoAndroid" />
    <Copy SourceFiles="$(OutputPath)Couchbase.Lite.Storage.CustomSQLite.dll;$(OutputPath)Couchbase.Lite.Storage.CustomSQLite.$(mdb)" DestinationFolder="$(SolutionDir)..\staging\Couchbase.Lite.Storage.CustomSQLite\MonoAndroid" />
  </Target>
  <Target Name="BeforeBuild">
     <Message Text="Downloading native SQLite binaries, if needed.  This may take a while..." />
     <Exec Condition=" '$(OS)' == 'Windows_NT' " Command="powershell -executionpolicy Unrestricted $(ProjectDir)..\vendor\sqlite\download_native.ps1 " />
     <Exec Condition=" '$(OS)' != 'Windows_NT' " Command="bash $(ProjectDir)..\vendor\sqlite\download_native.sh " />
     <Message Text="Finished Downloading!" />
  </Target>
  <!-- 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>
  -->
</Project><commit_msg>Xamarin Android needs to download native custom sqlite earlier in the build process<commit_after>﻿<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
    <mdb>dll.mdb</mdb>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
    <mdb>pdb</mdb>
  </PropertyGroup>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{0289A97A-AB8C-45F3-AA87-B05BB9471D7D}</ProjectGuid>
    <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>storage.customsqlite.droid</RootNamespace>
    <AssemblyName>Couchbase.Lite.Storage.CustomSQLite</AssemblyName>
    <FileAlignment>512</FileAlignment>
    <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
    <AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
    <TargetFrameworkVersion>v6.0</TargetFrameworkVersion>
    <RestorePackages>True</RestorePackages>
    <ReleaseVersion>1.1.1</ReleaseVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>TRACE;DEBUG;CUSTOM_SQLITE;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE;CUSTOM_SQLITE;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Packaging|AnyCPU'">
    <OutputPath>bin\Packaging\</OutputPath>
    <DefineConstants>TRACE;CUSTOM_SQLITE;</DefineConstants>
    <Optimize>true</Optimize>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>anycpu</PlatformTarget>
    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Mono.Android" />
    <Reference Include="mscorlib" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Xml" />
    <Reference Include="SQLitePCL.raw">
      <HintPath>..\..\..\packages\SQLitePCL.raw.0.9.3\lib\MonoAndroid\SQLitePCL.raw.dll</HintPath>
      <Private>False</Private>
    </Reference>
    <Reference Include="SQLitePCL.ugly">
      <HintPath>..\..\..\packages\SQLitePCL.ugly.0.9.3\lib\portable-net45+netcore45+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCL.ugly.dll</HintPath>
      <Private>False</Private>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\..\Couchbase.Lite.Android\Couchbase.Lite.Android.csproj">
      <Project>{5615e423-d0fd-4f99-a99c-061679615cee}</Project>
      <Name>Couchbase.Lite.Android</Name>
      <Private>False</Private>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\arm64-v8a\libcbsqlite3.so">
      <Link>arm64-v8a\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\armeabi\libcbsqlite3.so">
      <Link>armeabi\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\armeabi-v7a\libcbsqlite3.so">
      <Link>armeabi-v7a\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\x86\libcbsqlite3.so">
      <Link>x86\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
    <EmbeddedNativeLibrary Include="..\vendor\sqlite\x86_64\libcbsqlite3.so">
      <Link>x86_64\libcbsqlite3.so</Link>
    </EmbeddedNativeLibrary>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\util.cs">
      <Link>util.cs</Link>
    </Compile>
    <Compile Include="..\SQLite3Provider_cbsqlite.cs">
      <Link>SQLite3Provider_cbsqlite.cs</Link>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <None Include="packages.config" />
  </ItemGroup>

  <Import Project="..\..\SQLiteCommon\storage.sqlite.common\storage.sqlite.common.projitems" Label="Shared" />
  <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
  <Target Condition=" '$(Configuration)' == 'Packaging' Or '$(Archive)' == 'true'" Name="AfterBuild">
    <MakeDir Directories="$(SolutionDir)..\staging\Couchbase.Lite.Storage.SQLCipher\MonoAndroid" />
    <Copy SourceFiles="$(OutputPath)Couchbase.Lite.Storage.CustomSQLite.dll;$(OutputPath)Couchbase.Lite.Storage.CustomSQLite.$(mdb)" DestinationFolder="$(SolutionDir)..\staging\Couchbase.Lite.Storage.CustomSQLite\MonoAndroid" />
  </Target>
  <Target Name="DownloadNativeSQLite" BeforeTargets="_CreateNativeLibraryArchive">
     <Exec Condition=" '$(OS)' == 'Windows_NT' " Command="powershell -executionpolicy Unrestricted $(ProjectDir)..\vendor\sqlite\download_native.ps1 " />
     <Exec Condition=" '$(OS)' != 'Windows_NT' " Command=" bash $(ProjectDir)..\vendor\sqlite\download_native.sh " />
  </Target>
</Project>
{'fraction_non_alphanumeric': 0.16330092246322614, 'fraction_numerical': 0.02551317211003075, 'mean_word_length': 4.873108833577355, 'pattern_counts': {'":': 0, '<': 354, '<?xml version=': 2, '>': 354, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3321184', 'n_tokens_mistral': 4296, 'n_tokens_neox': 3931, 'n_words': 428}