�
K��b�� � � � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZ d dl
Z
d dlZd dlZd dl
Z
d dlZd dlZd dlZd dlZd dlmZ d dlmZ g d�ZddgZg d�Z e� � ai Zi Z efZn# e$ r efZY nw xY w ee fZ!n# e$ r efZ!Y nw xY wee!z Z"e"e#fz Z$d � Z%g d
�Z&g a'g d�Z(da)da*dRd
�Z+d� Z,d� Z-d� Z.d� Z/d� Z0d� Z1d� Z2d� Z3 G d� de4� � Z5 G d� de6� � Z7d� Z8 ed� � Z9dddd�Z:d � Z;d!� Z< e
j= d"� � Z> e
j= d#� � Z? e
j= d$� � Z@i ZAd%� ZBd ZCd&ZDd'ZEd(� ZFi ZGd)� ZHd*� ZId+� ZJd,� ZKd-� ZL dRd.�ZMd/� ZNd0� ZOd1� ZPd2� ZQd3� ZRd4� ZSd5� ZTd6� ZUd7� ZV G d8� d9e6� � ZWd:� ZXd;� ZYd<� ZZd=� Z[ e
j= d>� � Z\d?� Z]dSdA�Z^dB� Z_dC� Z`dD� ZadE� ZbdF� ZcdG� ZddH� ZedI� ZfdJ� ZgdK� ZhdL� ZidM� ZjdN� ZkdO� ZldP� ZmdQ� ZndS )T� )�print_functionN)�GypError)�
OrderedSet)�
executable�shared_library�loadable_module�mac_kernel_extension�windows_driver�dependencies�export_dependent_settings)�destination�files�include_dirs�inputs� libraries�outputs�sourcesc �� � | r$| dd � dv r| d d� } | r| dd � dv �| t v rdS d| v r<| dd � }|d dk r
|d d� }|dd � dv rdS |d d � d
k S dS )N���z=+?!T�_i�����s���)�_file�_path����_dirF)�
path_sections)�section�tails �+/usr/lib/python3/dist-packages/gyp/input.py�
IsPathSectionr! J s� � � � �G�B�C�C�L�F�*�*��c�r�c�l�G� � �G�B�C�C�L�F�*�*�
�
����4� �G�^�^��2�3�3�<�D��B�x�3���
�#�2�#�Y�d��B�C�C�y�&�&�&�
�T�����9���� �� )�actions�all_dependent_settings�configurations�copies�default_configurationr �dependencies_original�direct_dependent_settingsr �
postbuilds�product_dir�product_extension�product_name�product_prefix�rules�run_asr �standalone_static_library�suppress_wildcard�target_name�toolset�toolsets�type� variables)r# r$ r% r r) r �
link_settingsr r1 r3 r6 Fc � � |dk rg }| |v r|S |� | � � || � dg � � D ]}t |||� � �|S )a Return a list of all build files included into build_file_path.
The returned list will contain build_file_path as well as all other files
that it included, either directly or indirectly. Note that the list may
contain files that were included into a conditional section that evaluated
to false and was not merged into build_file_path's dict.
aux_data is a dict containing a key for each build file or included build
file. Those keys provide access to dicts whose "included" keys contain
lists of all other files included by the build file.
included should be left at its default None value by external callers. It
is used for recursion.
The returned list will not contain any duplicate entries. Each build file
in the list will be relative to the current directory.
N�included)�append�get�GetIncludedBuildFiles)�build_file_path�aux_datar: �included_build_files r r= r= � sx � �& |