관리-도구
편집 파일: ninja_syntax.pyc
� �Rac @ sJ d Z d d l Z d d l Z d � Z d e f d � � YZ d � Z d S( s� Python module for generating .ninja files. Note that this is emphatically not a required piece of Ninja; it's just a helpful utility for build-file-generation systems that already use Python. i����Nc C s( | j d d � j d d � j d d � S( Ns $ s $$ t t :s $:( t replace( t word( ( sn /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/ninja_syntax.pyt escape_path s t Writerc B s� e Z d d � Z d � Z d � Z d d � Z d � Z d d e d e d d d d � Z d d d d d � Z d � Z d � Z d � Z d � Z d d � Z d � Z RS( iN c C s | | _ | | _ d S( N( t outputt width( t selfR R ( ( sn /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/ninja_syntax.pyt __init__ s c C s | j j d � d S( Ns ( R t write( R ( ( sn /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/ninja_syntax.pyt newline s c C s@ x9 t j | | j d � D] } | j j d | d � q Wd S( Ni s # s ( t textwrapt wrapR R R ( R t textt line( ( sn /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/ninja_syntax.pyt comment s i c C sX | d k r d St | t � r: d j t d | � � } n | j d | | f | � d S( NR s %s = %s( t Nonet isinstancet listt joint filtert _line( R t keyt valuet indent( ( sn /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/ninja_syntax.pyt variable s c C s+ | j d | � | j d | d d �d S( Ns pool %st depthR i ( R R ( R t nameR ( ( sn /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/ninja_syntax.pyt pool% s c C s# | j d | � | j d | d d �| rF | j d | d d �n | re | j d | d d �n | r� | j d d d d �n | r� | j d | d d �n | r� | j d d d d �n | r� | j d | d d �n | r | j d | d d �n | r| j d | d d �n d S( Ns rule %st commandR i t descriptiont depfilet generatort 1R t restatt rspfilet rspfile_contentt deps( R R ( R R R R R R! R R# R$ R% R&