CasperSecurity

Current Path : /lib/python3/dist-packages/gyp/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/gyp/__pycache__/MSVSToolFile.cpython-310.pyc

o

p.a�@s,dZddlZddlmZGdd�de�ZdS)z$Visual Studio project reader/writer.�Nc@s(eZdZdZdd�Zdd�Zdd�ZdS)	�Writerz#Visual Studio XML tool file writer.cCs||_||_dg|_dS)zzInitializes the tool file.

    Args:
      tool_file_path: Path to the tool file.
      name: Name of the tool file.
    �RulesN)�tool_file_path�name�
rules_section)�selfrr�r�2/usr/lib/python3/dist-packages/gyp/MSVSToolFile.py�__init__szWriter.__init__c	Cs8d|||d�|�d�|�d�|�d�g}|j�|�dS)a9Adds a rule to the tool file.

    Args:
      name: Name of the rule.
      description: Description of the rule.
      cmd: Command line of the rule.
      additional_dependencies: other files which may trigger the rule.
      outputs: outputs of the rule.
      extensions: extensions handled by the rule.
    �CustomBuildRule�;)�Name�ExecutionDescription�CommandLine�Outputs�FileExtensions�AdditionalDependenciesN)�joinr�append)rr�cmd�description�additional_dependencies�outputs�
extensions�rulerrr	�AddCustomBuildRules
��	zWriter.AddCustomBuildRulecCs*dd|jd�|jg}tj||jdd�dS)zWrites the tool file.�VisualStudioToolFilez8.00)�Versionr
zWindows-1252)�encodingN)rr�easy_xml�WriteXmlIfChangedr)r�contentrrr	�WriteIfChanged1s��

�zWriter.WriteIfChangedN)�__name__�
__module__�__qualname__�__doc__r
rr"rrrr	rs
r)r&�
gyp.common�gyp�gyp.easy_xmlr�objectrrrrr	�<module>s
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY