o
    b˰                     @   sB  d Z ddlmZ ddlZddlZze W n ey   eZY nw i Zi Z	i Z
i ZG dd deZdd Zdd	 ZG d
d deZG dd deZG dd deZG dd deZG dd deZG dd deZe Ze Ze Ze Ze Ze Ze Ze Zeg dZdd Zdd Z dd Z!dd Z"dd  Z#d!d" Z$d#d$ Z%d%d& Z&d'Z'e(d(d))e' Z*e(d*Z+ej,fd+d,Z-d-d. Z.d/d0 Z/ej,fd1d2Z0ej,fd3d4Z1ej,fd5d6Z2d7d8 Z3ed9d:Z4ed;d<Z5ed=d>Z6ed?d@Z7edAdBZ8edCdDZ9edEdEZ:ee4 ee5 ee6 ee7 ee8 ee9 ee: i e	dF< i e	dG< i e	dH< ee4dIe ee4dJe ee4dKe ee4dLe ee4dMe ee4dNe ee4dOe ee4dPe ee4dQe ee4dRe ee4dSe ee4dTe ee4dUe ee4dVe ee4dWe ee4dXe ee4dYe ee4dZe ee4d[e ee4d\e ee4d]e ee4d^e ee4d_e ee4d`e ee4dae ee4dbe ee4dce ee4dde ee4dee ee4dfe ee4dge ee4dhe ee4die ee4dje ee4dkeg dl ee4dmeg dn ee4doeg dp ee4dqeg dr ee4dseg dt ee4dueg dv ee4dweg dx ee4dyeg dzd{gd| ee4d}eg d~dgd| ee4deg d ee4deg d ee4deg ddgd| ee4deg d ee4deg d ee4deg d ee4deg ddgd| e e4dde e e4dde e e4dde e e4dde e e4dde e e4dde e e4dde e e4ddeg d e e4dde e%e4dd e#e4de e#e4de e$e4de e$e4deg ddgd| e$e4de e$e4de e$e4de e$e4de e$e4de e$e4de e$e4de e&e4d ee5de ee5de ee5de ee5dJe ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5dce ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de ee5de eg ddgd|Z;eg dZ<ee5deg d ee5deg d ee5deg d ee5deg d ee5deg d ee5deg d ee5deg dg dd| ee5de; ee5de< ee5deg d ee5de ee5de e e5dydeg d dgd| e e5dde e e5dde e e5dde e!e5ddFe e!e5d	dFe e!e5d
dFe e!e5ddGe e!e5ddGe e#e5de e#e5de e$e5de e$e5de e$e5de e$e5de e$e5de e$e5de e$e5de e$e5de e$e5de e$e5de e$e5deg g dd| e$e5deg g dd| e$e5deg g dd| ee7dJe ee7dIe ee7dedd ee7dYe ee7d]e ee7de ee7de ee7dce ee7dfe e$e7d e e$e7de ee6dIe ee6dJe ee6d!e ee6d"e ee6d#e ee6d$e ee6d%e ee6d&e ee6d'e ee6d(e ee6d)e ee6dYe ee6d*e ee6d+e ee6d,e ee6d]e ee6d-e ee6d.e ee6dce ee6d/e ee6dfe ee6de ee6d0eg d1 ee6d2eg d3 ee6d4eg d5 ee6deg d6 ee6deg d7 e e6d8d9e e e6d:d;e e$e6d<e e$e6d=e e$e6d>eg d?d@gd| e$e6dAeg d?d@gd| e$e6dBe e$e6dCe e$e6dDe e$e6de e$e6dEeg dFdGgd| ee8de ee8de ee8dJe ee8dHe ee8de ee8de ee8de ee8de ee8de ee8dce ee8de ee8de ee8de< e!e8ddGe e$e8dIe e$e8dyeg g dJd| e$e8de e$e8dKe e$e8dLe e$e8de; e$e8de e$e8dMe e$e8dNe ee9dOe ee9dJe ee9dPe ee9dQe ee9dRe ee9dSe ee9dTe ee9dUe ee9dVe ee9dce ee9de ee9dWe ee9dXe ee9dYe e"e9dZdHde e!e9d[dFe e#e9d\e e#e9d]e e#e9de e$e9d^e e$e9d_e e$e9d`e e$e9dae e$e9dbe e$e9de ee:dce dS (d  a9  Code to validate and convert settings of the Microsoft build tools.

This file contains code to validate and convert settings of the Microsoft
build tools.  The function ConvertToMSBuildSettings(), ValidateMSVSSettings(),
and ValidateMSBuildSettings() are the entry points.

This file was created by comparing the projects created by Visual Studio 2008
and Visual Studio 2010 for all available settings through the user interface.
The MSBuild schemas were also considered.  They are typically found in the
MSBuild install directory, e.g. c:\Program Files (x86)\MSBuild
    )print_functionNc                   @   s   e Zd ZdZdd ZdS )_ToolzRepresents a tool used by MSVS or MSBuild.

  Attributes:
      msvs_name: The name of the tool in MSVS.
      msbuild_name: The name of the tool in MSBuild.
  c                 C   s   || _ || _d S N)	msvs_namemsbuild_name)selfr   r    r   2/usr/lib/python3/dist-packages/gyp/MSVSSettings.py__init__3   s   
z_Tool.__init__N)__name__
__module____qualname____doc__r
   r   r   r   r	   r   +   s    r   c                 C   s.   i t | j< i t| j< i t| j< | jt| j< dS )zAdds a tool to the four dictionaries used to process settings.

  This only defines the tool.  Each setting also needs to be added.

  Args:
    tool: The _Tool object to be added.
  N)_msvs_validatorsr   _msbuild_validatorsr   _msvs_to_msbuild_converters_msbuild_name_of_tooltoolr   r   r	   _AddTool8   s   


r   c                 C   s   |  |ji S )z:Returns an MSBuild tool dictionary.  Creates it if needed.
setdefaultr   )msbuild_settingsr   r   r   r	   _GetMSBuildToolSettingsF      r   c                   @   (   e Zd ZdZdd Zdd Zdd ZdS )	_TypezType of settings (Base class).c                 C      dS )zVerifies that the value is legal for MSVS.

    Args:
      value: the value to check for this type.

    Raises:
      ValueError if value is not valid for MSVS.
    Nr   r   valuer   r   r	   ValidateMSVSN       z_Type.ValidateMSVSc                 C   r   )zVerifies that the value is legal for MSBuild.

    Args:
      value: the value to check for this type.

    Raises:
      ValueError if value is not valid for MSBuild.
    Nr   r   r   r   r	   ValidateMSBuildX   r!   z_Type.ValidateMSBuildc                 C   s   |S )zReturns the MSBuild equivalent of the MSVS value given.

    Args:
      value: the MSVS value to convert.

    Returns:
      the MSBuild equivalent.

    Raises:
      ValueError if value is not valid.
    r   r   r   r   r	   ConvertToMSBuildb   s   z_Type.ConvertToMSBuildNr   r   r   r   r    r"   r#   r   r   r   r	   r   K   s
    

r   c                   @   r   )	_StringzA setting that's just a string.c                 C      t |tstd| d S Nzexpected string; got %r
isinstance
basestring
ValueErrorr   r   r   r	   r    t      
z_String.ValidateMSVSc                 C   r&   r'   r(   r   r   r   r	   r"   x   r,   z_String.ValidateMSBuildc                 C   s   t |S r   ConvertVCMacrosToMSBuildr   r   r   r	   r#   |   s   z_String.ConvertToMSBuildNr$   r   r   r   r	   r%   q   
    r%   c                   @   r   )	_StringListz$A settings that's a list of strings.c                 C   (   t |tst |tstd| d S d S Nzexpected string list; got %rr)   r*   listr+   r   r   r   r	   r          z_StringList.ValidateMSVSc                 C   r1   r2   r3   r   r   r   r	   r"      r5   z_StringList.ValidateMSBuildc                 C   s    t |trdd |D S t|S )Nc                 S   s   g | ]}t |qS r   r-   ).0ir   r   r	   
<listcomp>   s    z0_StringList.ConvertToMSBuild.<locals>.<listcomp>)r)   r4   r.   r   r   r   r	   r#      s   
z_StringList.ConvertToMSBuildNr$   r   r   r   r	   r0      r/   r0   c                   @   s0   e Zd ZdZdd Zdd Zdd Zdd	 Zd
S )_Booleanz8Boolean settings, can have the values 'false' or 'true'.c                 C   s$   |dkr|dkrt d| d S d S )Ntruefalsezexpected bool; got %r)r+   r   r   r   r	   	_Validate   s   z_Boolean._Validatec                 C      |  | d S r   r<   r   r   r   r	   r          z_Boolean.ValidateMSVSc                 C   r=   r   r>   r   r   r   r	   r"      r?   z_Boolean.ValidateMSBuildc                 C   s   |  | |S r   r>   r   r   r   r	   r#      s   
z_Boolean.ConvertToMSBuildN)r   r   r   r   r<   r    r"   r#   r   r   r   r	   r9      s    r9   c                   @   s2   e Zd ZdZdddZdd Zdd Zd	d
 ZdS )_IntegerzInteger settings.
   c                 C   s   t |  || _d S r   )r   r
   _msbuild_base)r   msbuild_baser   r   r	   r
      s   

z_Integer.__init__c                 C   r=   r   r#   r   r   r   r	   r       r   z_Integer.ValidateMSVSc                 C   s   t || j d S r   )intrB   r   r   r   r	   r"      s   z_Integer.ValidateMSBuildc                 C   s   | j dkrdpd}|t| S )NrA   z%dz0x%04x)rB   rE   )r   r   msbuild_formatr   r   r	   r#      s   z_Integer.ConvertToMSBuildN)rA   r   r   r   r   r
   r    r"   r#   r   r   r   r	   r@      s    
r@   c                   @   s2   e Zd ZdZdddZdd Zdd Zd	d
 ZdS )_Enumerationa  Type of settings that is an enumeration.

  In MSVS, the values are indexes like '0', '1', and '2'.
  MSBuild uses text labels that are more representative, like 'Win32'.

  Constructor args:
    label_list: an array of MSBuild labels that correspond to the MSVS index.
        In the rare cases where MSVS has skipped an index value, None is
        used in the array to indicate the unused spot.
    new: an array of labels that are new to MSBuild.
  Nc                 C   s@   t |  || _tdd |D | _|d ur| j| d S d S )Nc                 s   s    | ]	}|d ur|V  qd S r   r   )r6   r   r   r   r	   	<genexpr>   s    z(_Enumeration.__init__.<locals>.<genexpr>)r   r
   _label_listset_msbuild_valuesupdate)r   
label_listnewr   r   r	   r
      s   
z_Enumeration.__init__c                 C   r=   r   rD   r   r   r   r	   r       r   z_Enumeration.ValidateMSVSc                 C   s   || j vrtd| d S )Nz unrecognized enumerated value %s)rL   r+   r   r   r   r	   r"      r,   z_Enumeration.ValidateMSBuildc                 C   sV   t |}|dk s|t| jkrtd|t| jf | j| }|d u r)td| |S )Nr   z.index value (%d) not in expected range [0, %d)z%converted value for %s not specified.)rE   lenrJ   r+   )r   r   indexlabelr   r   r	   r#      s   
z_Enumeration.ConvertToMSBuildr   rG   r   r   r   r	   rH      s    
rH   ) r;   r:   c                 C   s   t | ||| dS )zDefines a setting that has the same name in MSVS and MSBuild.

  Args:
    tool: a dictionary that gives the names of the tool for MSVS and MSBuild.
    name: the name of the setting.
    setting_type: the type of this setting.
  N)_Renamed)r   namesetting_typer   r   r	   _Same   s   rW   c                    sB    fdd}j tj |< jtj  < |tj |< dS )a  Defines a setting for which the name has changed.

  Args:
    tool: a dictionary that gives the names of the tool for MSVS and MSBuild.
    msvs_name: the name of the MSVS setting.
    msbuild_name: the name of the MSBuild setting.
    setting_type: the type of this setting.
  c                    s   t |}| | < d S r   )r   r#   )r   r   msbuild_tool_settingsr   rV   r   r   r	   
_Translate  s   
z_Renamed.<locals>._TranslateN)r    r   r   r"   r   r   r   )r   r   r   rV   rZ   r   rY   r	   rT      s
   
rT   c                 C   s   t | |||| d S r   )_MovedAndRenamed)r   settings_namemsbuild_tool_namerV   r   r   r	   _Moved  s   
r^   c                    sD    fdd}j t| j |< j}|t  < |t| j |< dS )a  Defines a setting that may have moved to a new section.

  Args:
    tool: a dictionary that gives the names of the tool for MSVS and MSBuild.
    msvs_settings_name: the MSVS name of the setting.
    msbuild_tool_name: the name of the MSBuild tool to place the setting under.
    msbuild_settings_name: the MSBuild name of the setting.
    setting_type: the type of this setting.
  c                    s   | i }| | < d S r   )r   r#   r   r   tool_settingsmsbuild_settings_namer]   rV   r   r	   rZ   !  s   z$_MovedAndRenamed.<locals>._TranslateN)r    r   r   r"   r   r   )r   msvs_settings_namer]   rb   rV   rZ   	validatorr   ra   r	   r[     s   r[   c                 C   s*   dd }|j t| j |< |t| j |< dS )zDefines a setting that is only found in MSVS.

  Args:
    tool: a dictionary that gives the names of the tool for MSVS and MSBuild.
    name: the name of the setting.
    setting_type: the type of this setting.
  c                 S   s   d S r   r   )unused_valueunused_msbuild_settingsr   r   r	   rZ   5  s   z_MSVSOnly.<locals>._TranslateN)r    r   r   r   r   rU   rV   rZ   r   r   r	   	_MSVSOnly,  s   	rh   c                    s0    fdd}|j tj  < |tj  < dS )zDefines a setting that is only found in MSBuild.

  Args:
    tool: a dictionary that gives the names of the tool for MSVS and MSBuild.
    name: the name of the setting.
    setting_type: the type of this setting.
  c                    s   | ji }| | < d S r   r   r_   rU   r   r   r	   rZ   F  s   z _MSBuildOnly.<locals>._TranslateN)r"   r   r   r   r   rg   r   ri   r	   _MSBuildOnly=  s   	rj   c                    s0    fdd}t jtj |< |tj |< dS )a+  Defines a setting that's handled via a command line option in MSBuild.

  Args:
    tool: a dictionary that gives the names of the tool for MSVS and MSBuild.
    msvs_name: the name of the MSVS setting that if 'true' becomes a flag
    flag: the flag to insert at the end of the AdditionalOptions
  c                    s@   | dkrt |}d|v rd|d  f }n }||d< d S d S )Nr:   AdditionalOptionsz%s %s)r   )r   r   r`   	new_flagsflagr   r   r	   rZ   X  s   
z0_ConvertedToAdditionalOption.<locals>._TranslateN)_booleanr    r   r   r   )r   r   rn   rZ   r   rm   r	   _ConvertedToAdditionalOptionO  s   	rp   c                    sZ    fdd}t g dj}|t j |< tj}t j }||d< ||d< |t j |< d S )Nc                    sj   t | }| dkrd|d< d|d< d S | dkr!d|d< d|d< d S | dkr/d|d< d|d< d S td|  )	N0r;   PreprocessToFilePreprocessSuppressLineNumbers1r:   2z&value must be one of [0, 1, 2]; got %s)r   r+   r_   r   r   r	   rZ   e  s   
z3_CustomGeneratePreprocessedFile.<locals>._Translate)abcrr   rs   )	rH   r    r   r   ro   r"   r   r   r   )r   r   rZ   msvs_validatormsbuild_validatormsbuild_tool_validatorsr   r   r	   _CustomGeneratePreprocessedFiled  s   
r|   )IntDirOutDirz(\$\((?:%s)\))(?:[\\/]+)|z^(.*)_excluded$c                 C   s>   d}t t| }|r|d}||v}|rt||d dS dS )a  Verify that 'setting' is valid if it is generated from an exclusion list.

  If the setting appears to be generated from an exclusion list, the root name
  is checked.

  Args:
      setting:   A string that is the setting name to validate
      settings:  A dictionary where the keys are valid settings
      error_msg: The message to emit in the event of error
      stderr:    The stream receiving the error messages.
  T   fileN)rematch_EXCLUDED_SUFFIX_REgroupprint)settingsettings	error_msgstderrunrecognizedmroot_settingr   r   r	   _ValidateExclusionSetting  s   
r   c                 C   s   d| v r
t d| } | S )a  Replace macros which have excessive following slashes.

  These macros are known to have a built-in trailing slash. Furthermore, many
  scripts hiccup on processing paths with extra slashes in the middle.

  This list is probably not exhaustive.  Add as needed.
  $z\1)fix_vc_macro_slashes_regexsub)sr   r   r	   FixVCMacroSlashes  s   r   c              
   C   sJ   d| v r#dddddddd	dd
	}|  D ]
\}}| ||} qt| } | S )zConvert the MSVS macros found in the string to the MSBuild equivalent.

  This list is probably not exhaustive.  Add as needed.
  r   z$(Configuration)z%(RelativeDir)z%(Extension)z%(Filename)%(Extension)z%(Filename)z%(Identity)z$(ProjectFileName)z$(Platform))	z$(ConfigurationName)z$(InputDir)z$(InputExt)z$(InputFileName)z$(InputName)z$(InputPath)z$(ParentName)z$(PlatformName)z$(SafeInputName))itemsreplacer   )r   replace_mapoldrO   r   r   r	   r.     s   r.   c           	      C   s   i }|   D ]T\}}|tv rRt| }|  D ]:\}}||v rEz	|| || W q tyD } ztd|||f |d W Y d}~qd}~ww t||d||f | qqtd| |d q|S )a  Converts MSVS settings (VS2008 and earlier) to MSBuild settings (VS2010+).

  Args:
      msvs_settings: A dictionary.  The key is the tool name.  The values are
          themselves dictionaries of settings and their values.
      stderr: The stream receiving the error messages.

  Returns:
      A dictionary of MSBuild settings.  The key is either the MSBuild tool name
      or the empty string (for the global settings).  The values are themselves
      dictionaries of settings and their values.
  z.Warning: while converting %s/%s to MSBuild, %sr   Nz@Warning: unrecognized setting %s/%s while converting to MSBuild.z:Warning: unrecognized tool %s while converting to MSBuild.)r   r   r+   r   r   )	msvs_settingsr   r   msvs_tool_namemsvs_tool_settings	msvs_toolmsvs_setting
msvs_valueer   r   r	   ConvertToMSBuildSettings  s<   r   c                 C      t t| | dS )a  Validates that the names of the settings are valid for MSVS.

  Args:
      settings: A dictionary.  The key is the tool name.  The values are
          themselves dictionaries of settings and their values.
      stderr: The stream receiving the error messages.
  N)_ValidateSettingsr   r   r   r   r   r	   ValidateMSVSSettings     r   c                 C   r   )a  Validates that the names of the settings are valid for MSBuild.

  Args:
      settings: A dictionary.  The key is the tool name.  The values are
          themselves dictionaries of settings and their values.
      stderr: The stream receiving the error messages.
  N)r   r   r   r   r   r	   ValidateMSBuildSettings  r   r   c                 C   s   |D ]S}|| v rM| | }||   D ]9\}}||v r@z|| | W q ty? } ztd|||f |d W Y d}~qd}~ww t||d||f | qqtd| |d qdS )a  Validates that the settings are valid for MSBuild or MSVS.

  We currently only validate the names of the settings, not their values.

  Args:
      validators: A dictionary of tools and their validators.
      settings: A dictionary.  The key is the tool name.  The values are
          themselves dictionaries of settings and their values.
      stderr: The stream receiving the error messages.
  zWarning: for %s/%s, %sr   Nz#Warning: unrecognized setting %s/%szWarning: unrecognized tool %s)r   r+   r   r   )
validatorsr   r   	tool_nametool_validatorsr   r   r   r   r   r	   r     s2   r   VCCLCompilerTool	ClCompileVCLinkerToolLink
VCMIDLToolMidlVCResourceCompilerToolResourceCompileVCLibrarianToolLibVCManifestToolManifestMASMrS   ProjectReferenceManifestResourceCompileAdditionalIncludeDirectoriesrk   AdditionalUsingDirectoriesAssemblerListingLocationBrowseInformationFileBufferSecurityCheckDisableLanguageExtensionsDisableSpecificWarningsEnableFiberSafeOptimizationsEnablePREfastExpandAttributedSourceFloatingPointExceptionsForceConformanceInForLoopScopeForcedIncludeFilesForcedUsingFilesGenerateXMLDocumentationFilesIgnoreStandardIncludePathMinimalRebuildOmitDefaultLibNameOmitFramePointersPreprocessorDefinitionsProgramDataBaseFileNameRuntimeTypeInfoShowIncludesSmallerTypeCheckStringPoolingSuppressStartupBannerTreatWChar_tAsBuiltInType"UndefineAllPreprocessorDefinitionsUndefinePreprocessorDefinitionsUseFullPathsWholeProgramOptimizationXMLDocumentationFileNameCompileAsWinRTAssemblerOutput)	NoListingAssemblyCodeAllAssemblyAndMachineCodeAssemblyAndSourceCodeBasicRuntimeChecks)DefaultStackFrameRuntimeCheckUninitializedLocalUsageCheckEnableFastChecksBrowseInformation)r;   r:   r:   CallingConvention)CdeclFastCallStdCall
VectorCall	CompileAs)r   
CompileAsCCompileAsCppDebugInformationFormat)rS   OldStyleNProgramDatabaseEditAndContinueEnableEnhancedInstructionSet)NotSetStreamingSIMDExtensionsStreamingSIMDExtensions2AdvancedVectorExtensionsNoExtensionsAdvancedVectorExtensions2ErrorReporting)NonePromptQueueSend)rO   ExceptionHandling)r;   SyncAsync
SyncCThrowFavorSizeOrSpeed)NeitherSpeedSizeFloatingPointModel)PreciseStrictFastInlineFunctionExpansion)r   OnlyExplicitInlineAnySuitableDisabledOptimization)r  MinSpaceMaxSpeedFullRuntimeLibrary)MultiThreadedMultiThreadedDebugMultiThreadedDLLMultiThreadedDebugDLLStructMemberAlignment)r   1Byte2Bytes4Bytes8Bytes16BytesWarningLevel)TurnOffAllWarningsLevel1Level2Level3Level4EnableAllWarningsEnableFunctionLevelLinkingFunctionLevelLinkingEnableIntrinsicFunctionsIntrinsicFunctionsKeepCommentsPreprocessKeepComments
ObjectFileObjectFileNameOpenMPOpenMPSupportPrecompiledHeaderThroughPrecompiledHeaderFilePrecompiledHeaderOutputFileUsePrecompiledHeaderPrecompiledHeader)NotUsingCreateUseWarnAsErrorTreatWarningAsErrorDefaultCharIsUnsignedz/JDetect64BitPortabilityProblemsUseUnicodeResponseFilesBuildingInIDECompileAsManagedr;   r:   CreateHotpatchableImageMultiProcessorCompilationPreprocessOutputPathProcessorNumberTrackerLogDirectoryTreatSpecificWarningsAsErrorsUseUnicodeForAssemblerListingGeneratePreprocessedFileAdditionalDependenciesAdditionalLibraryDirectoriesAdditionalManifestDependenciesAddModuleNamesToAssemblyAllowIsolationAssemblyLinkResourceBaseAddressCLRUnmanagedCodeCheckDelayLoadDLLs	DelaySignEmbedManagedResourceFile	EnableUACEntryPointSymbolForceSymbolReferencesFunctionOrderGenerateDebugInformationGenerateMapFileHeapCommitSizeHeapReserveSizeIgnoreAllDefaultLibrariesIgnoreEmbeddedIDLImportLibraryKeyContainerKeyFileManifestFile
MapExportsMapFileNameMergedIDLBaseFileNameMergeSectionsMidlCommandFileModuleDefinitionFile
OutputFilePerUserRedirectionProfileProfileGuidedDatabaseProgramDatabaseFileRegisterOutputSetChecksumStackCommitSizeStackReserveSizeStripPrivateSymbolsSupportUnloadOfDelayLoadedDLLSwapRunFromCDTurnOffAssemblyGenerationTypeLibraryFileTypeLibraryResourceIDUACUIAccessVersionEnableCOMDATFoldingFixedBaseAddressLargeAddressAwareOptimizeReferencesRandomizedBaseAddressTerminalServerAware)	r   ConsoleWindowsNativezEFI ApplicationzEFI Boot Service DriverzEFI ROMzEFI Runtime	WindowsCEPOSIX)r   
MachineX86N
MachineARM
MachineEBCMachineIA64NMachineMIPSMachineMIPS16MachineMIPSFPUMachineMIPSFPU16NNN
MachineSH4NMachineTHUMB
MachineX64AssemblyDebug)rS   r:   r;   CLRImageType)r   ForceIJWImageForcePureILImageForceSafeILImageCLRThreadAttribute)DefaultThreadingAttributeMTAThreadingAttributeSTAThreadingAttributeDataExecutionPreventionDriver)r   r  UpOnlyWDMLinkTimeCodeGeneration)r   UseLinkTimeCodeGenerationPGInstrumentPGOptimizationPGUpdateShowProgress)r   LinkVerboseLinkVerboseLib)LinkVerboseICFLinkVerboseREFLinkVerboseSAFESEHLinkVerboseCLR	SubSystemTargetMachineUACExecutionLevel)	AsInvokerHighestAvailableRequireAdministratorMinimumRequiredVersionTreatLinkerWarningAsErrorsLinkErrorReporting)NoErrorReportPromptImmediatelyQueueForNextLoginSendErrorReportIgnoreDefaultLibraryNamesIgnoreSpecificDefaultLibrariesResourceOnlyDLLNoEntryPointSwapRunFromNetSwapRunFromNETGenerateManifestIgnoreImportLibraryLinkIncrementalLinkLibraryDependenciesUseLibraryDependencyInputsOptimizeForWindows98ImageHasSafeExceptionHandlersLinkDLL
LinkStatusPreventDllBindingSupportNobindOfDelayLoadedDLLMSDOSStubFileNameSectionAlignmentSpecifySectionAttributesForceFileOutput)EnabledMultiplyDefinedSymbolOnlyUndefinedSymbolOnlyCreateHotPatchableImage)r  X86ImageX64ImageItaniumImageCLRSupportLastError)r  r  
SystemDllsCulture   )rC   ResourceOutputFileNameNullTerminateStringsCPreprocessOptionsErrorCheckAllocationsErrorCheckBoundsErrorCheckEnumRangeErrorCheckRefPointersErrorCheckStubDataGenerateStublessProxiesGenerateTypeLibraryHeaderFileNameInterfaceIdentifierFileNameMkTypLibCompatibleOutputDirectoryProxyFileNameRedirectOutputAndErrorsTypeLibraryNameDefaultCharType)UnsignedSignedAsciiTargetEnvironment)r   Win32ItaniumX64EnableErrorChecks)EnableCustomr   r   )r   rt   ru   48)rq   rt   ru   3r  DLLDataFileNameDllDataFileNameValidateParametersValidateAllParametersApplicationConfigurationModeClientStubFileGenerateClientFilesStubr   GenerateServerFilesLocaleIDServerStubFileSuppressCompilerWarningsTypeLibFormat	NewFormat	OldFormatExportNamedFunctionsDisplayLibrary)r  r  r  r  NameRemoveObjectsTreatLibWarningAsErrorsVerboseAdditionalManifestFilesAssemblyIdentityComponentFileNameGenerateCatalogFilesInputResourceManifestsOutputManifestFileRegistrarScriptFileReplacementsFileUpdateFileHashesUpdateFileHashesSearchPathVerboseOutputManifestResourceFileEmbedManifestDependencyInformationFileUseFAT32WorkaroundEnableDPIAwarenessGenerateCategoryTagsManifestFromManagedAssemblyOutputResourceManifestsSuppressDependencyElementUseSafeExceptionHandlers)=r   
__future__r   sysr   r*   	NameErrorstrr   r   r   r   objectr   r   r   r   r%   r0   r9   r@   rH   ro   _integer_string
_file_name_folder_name
_file_list_folder_list_string_list_newly_booleanrW   rT   r^   r[   rh   rj   rp   r|   fix_vc_macro_slashes_regex_listcompilejoinr   r   r   r   r   r.   r   r   r   r   _compile_link_midl_rc_lib	_manifest_masm_subsystem_enumeration_target_machine_enumerationr   r   r   r	   <module>   s  &)
'
!












	




	

	







	