<commit_before><!--
***********************************************************************************************
Driver.Common.props
Common property definitions used by all drivers:
    $(_NT_TARGET_MAJ)
    $(TargetOS)
    $(TargetArch)
    $(InfArch)
    including properties specific to Legacy DDK, when $(UseLegacyDDK) is true
***********************************************************************************************
-->

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="Platform">
  <PropertyGroup>
    <!-- Define the legacy DDK directory required for downlevel targets -->
    <DDKINSTALLROOT Condition="'$(DDKINSTALLROOT)' == ''">C:\WINDDK\</DDKINSTALLROOT>
    <DDKVER Condition="'$(DDKVER)' == ''">7600.16385.1</DDKVER>
    <LegacyDDKDir>$(DDKINSTALLROOT)$(DDKVER)</LegacyDDKDir>
  </PropertyGroup>

  <!-- $(TargetArch) -->
  <PropertyGroup Condition="'$(Platform)'=='Win32'">
    <TargetArch>x86</TargetArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Platform)'=='x64'">
    <TargetArch>amd64</TargetArch>
  </PropertyGroup>

  <!-- _NT_TARGET_MAJ is one of the components of driver version (always reflects target OS version) -->
  <!-- $(TargetOS) -->
  <!-- InfArch turns into the TargetOS inf file directive -->
  <PropertyGroup Condition="'$(Configuration)'=='Win10 Release' OR '$(Configuration)'=='Win10 Debug'">
    <_NT_TARGET_MAJ>100</_NT_TARGET_MAJ>
    <TargetOS>Win10</TargetOS>
    <InfArch>$(TargetArch).10.0</InfArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Win8.1 Release' OR '$(Configuration)'=='Win8.1 Debug'">
    <_NT_TARGET_MAJ>63</_NT_TARGET_MAJ>
    <TargetOS>Win8.1</TargetOS>
    <InfArch>$(TargetArch).6.3</InfArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Win8 Release' OR '$(Configuration)'=='Win8 Debug'">
    <_NT_TARGET_MAJ>62</_NT_TARGET_MAJ>
    <TargetOS>Win8</TargetOS>
    <InfArch>$(TargetArch).6.2</InfArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Win7 Release' OR '$(Configuration)'=='Win7 Debug'"><commit_msg>All drivers for Windows 10 will be built for "Universal" target platform<commit_after><!--
***********************************************************************************************
Driver.Common.props
Common property definitions used by all drivers:
    $(_NT_TARGET_MAJ)
    $(TargetOS)
    $(TargetArch)
    $(InfArch)
    including properties specific to Legacy DDK, when $(UseLegacyDDK) is true
***********************************************************************************************
-->

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="Platform">
  <PropertyGroup>
    <!-- Define the legacy DDK directory required for downlevel targets -->
    <DDKINSTALLROOT Condition="'$(DDKINSTALLROOT)' == ''">C:\WINDDK\</DDKINSTALLROOT>
    <DDKVER Condition="'$(DDKVER)' == ''">7600.16385.1</DDKVER>
    <LegacyDDKDir>$(DDKINSTALLROOT)$(DDKVER)</LegacyDDKDir>
  </PropertyGroup>

  <!-- $(TargetArch) -->
  <PropertyGroup Condition="'$(Platform)'=='Win32'">
    <TargetArch>x86</TargetArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Platform)'=='x64'">
    <TargetArch>amd64</TargetArch>
  </PropertyGroup>

  <!-- _NT_TARGET_MAJ is one of the components of driver version (always reflects target OS version) -->
  <!-- $(TargetOS) -->
  <!-- InfArch turns into the TargetOS inf file directive -->
  <PropertyGroup Condition="'$(Configuration)'=='Win10 Release' OR '$(Configuration)'=='Win10 Debug'">
    <_NT_TARGET_MAJ>100</_NT_TARGET_MAJ>
    <TargetOS>Win10</TargetOS>
	<DriverTargetPlatform>Universal</DriverTargetPlatform>
    <InfArch>$(TargetArch).10.0</InfArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Win8.1 Release' OR '$(Configuration)'=='Win8.1 Debug'">
    <_NT_TARGET_MAJ>63</_NT_TARGET_MAJ>
    <TargetOS>Win8.1</TargetOS>
    <InfArch>$(TargetArch).6.3</InfArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Win8 Release' OR '$(Configuration)'=='Win8 Debug'">
    <_NT_TARGET_MAJ>62</_NT_TARGET_MAJ>
    <TargetOS>Win8</TargetOS>
    <InfArch>$(TargetArch).6.2</InfArch>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Win7 Release' OR '$(Configuration)'=='Win7 Debug'">
{'fraction_non_alphanumeric': 0.25202499421430224, 'fraction_numerical': 0.02499421430224485, 'mean_word_length': 5.827804107424961, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5969699', 'n_tokens_mistral': 1396, 'n_tokens_neox': 1212, 'n_words': 235}