File: //lib/python2.7/dist-packages/gyp/__init__.pyc
�
�n�Zc @ s< d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l
m Z i Z d Z
d Z d Z d � Z d � Z i g d e e e e d � Z d
� Z d � Z d � Z d
� Z d � Z d e j f d � � YZ d � Z d � Z d � Z e d k r8e j! e � � n d S( i����N( t GypErrort generalt variablest includesc G s� d t j k s | t j k r� d } y- t j d d � } | rP | d d } n Wn n X| rn | | ;} n d | j � t j j | d � | d | d | f GHn d S(
Nt allt unknowni t limiti i s %s:%s:%d:%s %si ( R i R ( t gypt debugt tracebackt
extract_stackt uppert ost patht basename( t modet messaget argst ctxt f( ( s0 /usr/lib/python2.7/dist-packages/gyp/__init__.pyt DebugOutput s
c C sU d } t j t j � � } g } x- | D]% } | j | � r( | j | � q( q( W| S( Ns .gyp( R t listdirt getcwdt endswitht append( t extensiont filest build_filest file( ( s0 /usr/lib/python2.7/dist-packages/gyp/__init__.pyt FindBuildFiles( s
t .c C sN | d k r i } n d | k r@ | j d d � \ } | d <n t j | � } | | d <| j d d � | d <| j d � r� t j j | � d } t j j | � \ }
} t j j |
� }
|
t j k r� t j j
d |
� q� n
d | } t | t � t
� | � } x- | j j � D] \ } }
| j | |
� qWt | d
d � r`| j | | � n t | d d � r�| j | � n i t | d g � d
6t | d g � d 6t | d g � d 6t | d t � d 6t | d t � d 6t | d t � d 6t | d d � d 6} t j j | | | | | | | | | d | d �
} | g | S( s�
Loads one or more specified build files.
default_variables and includes will be copied before use.
Returns the generator for the specified format and the
data returned by loading the specified build files.
t -i t flavort GENERATORt t GENERATOR_FLAVORs .pyi s gyp.generator.t CalculateVariablest CalculateGeneratorInputInfot+ generator_additional_non_configuration_keyst non_configuration_keyst"