HOME


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

�"Kb����ddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZdZdZdZidd�dd�d	d
�dd
�dd
�dd�ddez�dd�dd�dd�dd�dd�dd�dd�dd�ddez�d d!�Zgd"�Zgd#�Zgd"�Zdaed$d%g��Zd&�ZGd'�d(e��Zd)�Zd*�Zd+�Zejd,��Z d-�Z!ejd.��Z"d/�Z#d0�Z$d1�Z%d2�Z&dS)3�)�print_functionN�INTERMEDIATE_DIR�SHARED_INTERMEDIATE_DIR�LIBRARY_SEARCH_PATHS�EXECUTABLE_PREFIX��EXECUTABLE_SUFFIX�STATIC_LIB_PREFIX�lib�SHARED_LIB_PREFIX�STATIC_LIB_SUFFIXz.a�SHARED_LIB_SUFFIXz.dylibz$(%s)�OS�mac�PRODUCT_DIRz$(BUILT_PRODUCTS_DIR)�LIB_DIR�RULE_INPUT_ROOTz$(INPUT_FILE_BASE)�RULE_INPUT_EXTz$(INPUT_FILE_SUFFIX)�RULE_INPUT_NAMEz$(INPUT_FILE_NAME)�RULE_INPUT_PATHz$(INPUT_FILE_PATH)�RULE_INPUT_DIRNAMEz$(INPUT_FILE_DIRNAME)�CONFIGURATION_NAMEz$(CONFIGURATION))�mac_bundle_resources�mac_framework_headers�mac_framework_private_headers)
�ios_app_extension�
ios_watch_app�ios_watchkit_extension�
mac_bundlerrr�mac_xctest_bundle�mac_xcuitest_bundle�#xcode_create_dependents_test_runnerz$(SDKROOT)/usr/libz$(SDKROOT)/usr/local/libc�$�tj�dgi��}t|��dkrdg}|D]9}tj�d|i��}|�d|���:|�d|d��|S)N�buildConfigurationsr�Default�name�defaultConfigurationName)�gyp�xcodeproj_file�XCConfigurationList�len�XCBuildConfiguration�AppendProperty�SetProperty)�configuration_names�xccl�configuration_name�xcbcs    �5/usr/lib/python3/dist-packages/gyp/generator/xcode.py�CreateXCConfigurationListr4fs���	�	�	/�	/�1F��0K�	L�	L�$��	����"�"�$�+��/�5�5����2�2��"�4$�%�%�D����-�t�4�4�4�4����-�/B�1�/E�F�F�F�	
�+�c�&�eZdZd�Zd�Zd�Zd�ZdS)�XcodeProjectc��||_||_tj�|���|_tj�tj�	tj�
|j����tj�	|��pd��}|j�d|��tj�d|ji��|_
||_d|_	tj|j��d|_dS#t"$r!}|jt$jkr�Yd}~dSd}~wwxYw)N)�path�.�projectDirPath�
rootObjectFT)�gyp_pathr9r(r)�
PBXProject�project�common�RelativePath�os�dirname�abspathr.�
XCProjectFile�project_file�build_file_dict�created_dir�makedirs�OSError�errno�EEXIST)�selfr=r9rGr;�es      r3�__init__zXcodeProject.__init__ss3���D�M��D�I��%�0�0�d�0�;�;�D�L��Z�,�,�����������)G�)G�H�H������.�.�5�#�7�7�N�	�L���-�~�>�>�>���(�(�,���)E�F�F�	��*�D��
�D����k�$�)�����d���������	
��E�L�	 �	 �
�
!�	 �	 �	 �	 �	 ��������s� D)�)
E�3E�Ec
�Z�g}|j�d��D]_}|�d��}|�d��}|D]0}|�d��}||vr|�|���1�`	t|��}|j�d|��n-#t
j�d|jz���xYw|�	td��|�	td��|j�
di�����D]\}	}
|�	|	|
���d	|jvr:|j�|jd	��}|�|��|j�
d
i��}|r�|D]�}
|�
|
i��}|r�|�|
��}|�
di�����D]\}	}
|�	|	|
���d	|vr;|j�||
d	��}|�|����g}g}g}g}d}g}|jdD�]}|d}|d
}t$j�|j||��}||}||jjdvsJ�|�|��|�|��|jr4|�|j��|�|j��t/|�
dd����s|�|��|���dkrd}|�
d���r�t|��}t$j�d|z|�d��|d�|j���}|�|��|d}d}|�
d��r8|dt$j�|�
d����zz}|�
d��rJ|d�d�|�
d�����D����zdz}d}|rd}|dz|zdt$j�t$j�|�
d������zz}t$j�|d d!���}|� d"|��|�|��|�|��||_!��
tE|jjd��tE|��tE|��zksJ�||jjd<|j�#d��|j�$��tE|��d#krz|sxt|��}t$j�|d$d%�|j���} |D]}| �|���|jjd�%d | ��tE|��d#krzt|��}t$j�|d&d%�|j���}!|D]}"|!�|"���|jjd�%d#|!��dSdS)'N�targets�buildConfigurationListr$r&zProblem with gyp file %s
z,$(PROJECT_DERIVED_FILE_DIR)/$(CONFIGURATION)z*$(SYMROOT)/DerivedSources/$(CONFIGURATION)�xcode_settings�xcode_config_file�configurationsF�target_name�toolset�suppress_wildcard�allT�run_aszRun �productName)r&r[rR��parentr�working_directoryzcd "%s"
�environment�
c�`�g|]+\}}d|�dtj�|���d���,S)zexport z="�")r(r)�ConvertVariablesToShellSyntax)�.0�key�vals   r3�
<listcomp>z*XcodeProject.Finalize1.<locals>.<listcomp>sW��
C�
C�
C��#�s�s��c�c�3�%�C�C�C�H�H�H�H�J�
C�
C�
Cr5z�python -c "import fcntl, subprocess, sys
file = open('$TMPDIR/GYP_serialize_test_runs', 'a')
fcntl.flock(file.fileno(), fcntl.LOCK_EX)
sys.exit(subprocess.call(sys.argv[1:]))" �exec z
%s
exit 1
�actionr)�shellScript�showEnvVarsInLog�buildPhases��All�rRr&z
Run All Tests)&r?�GetProperty�appendr4r.�sys�stderr�writer=�SetBuildSetting�_intermediate_var�_shared_intermediate_varrG�get�items�AddOrGetFileInRootGroup�SetBaseConfiguration�ConfigurationNamedr(r@�QualifiedTarget�_properties�support_target�int�lowerr)�PBXAggregateTarget�
AddDependencyrc�join�EncodePOSIXShellList�PBXShellScriptBuildPhaser-�test_runnerr+�RootGroupsTakeOverOnlyChildren�
SortGroups�insert)#rM�
xcode_targets�serialize_all_testsrU�xctr0�xcbcsr2r&�xck�xcv�
config_ref�build_file_configurations�config_name�build_file_configuration_named�xcc�ordinary_targets�run_test_targets�support_targetsrQ�has_custom_all�targets_for_all�targetrVrW�qualified_target�xcode_target�
run_target�command�script�command_prefix�ssbp�
all_target�run_all_tests_target�run_test_targets#                                   r3�	Finalize1zXcodeProject.Finalize1�s��
�N��|�'�'�	�2�2�&�&��
�_�_�5�
6�
6�d����4�5�5�e��&�&�$�����'�'���~�%�%�
�
�
��
%�
%�
%��&��
&�~�
6�
6�d�
�l���7��>�>�>�>���	�j���3�d�m�C�D�D�D�����	���*�G�I�I�I����1�E�G�G�G��(�,�,�-=�r�B�B�H�H�J�J�%�%���S�
���3��$�$�$�$��d�2�2�2��<�7�7�
�
�2�
3�5�5�j�
���
�+�+�+� $� 4� 8� 8�9I�2� N� N�� �1�'�1�1�+�%�)�)�+�r�:�:�	'�)�	1��'�'��4�4�#�8�<�<�=M�=?�A�A�AF����*�*�h�c�3�����S�)�)�)�)�
 �$B�
B�
B���=�=�)�+�6�7J�K�M�M�J��$�$�Z�0�0�0�������O��G��N�
�O��&�y�1�N.�N.���=�)�k��y�!�g���3�3�D�M�;�4;�=�=��"�#3�4�l��T�\�5�i�@�
@�
@�
@�
@�
�n�n�\�"�"�"����l�+�+�+�	�	$�4����|�:�;�;�;����|�2�3�3�3�
����/��7�7�
8�
8�-����|�,�,�,�	�	�	�	�	��	%�	%���
���H�	�	�7.�)��8�8���'�:�:�(.��(<�(4�(@�(@��(O�(O�(,�<�<�
�<�;�!�!�
�	� � ��.�.�.���"�����;�;�*�+�+�	9��K��%�C�C��{�{�#6�7�7�9�9�9�9�&��;�;�}�%�%�	K��D�I�I�
C�
C�&�{�{�=�9�9�?�?�A�A�
C�
C�
C�D�D�D�GK�K�&����	-�-���'�!�N�2�^��#�A�A��Z�4�4�W�[�[��5J�5J�K�K�M�M�6M�M���!�:�:�"(�"#�<�<����	�!�!�-��6�6�6�	���z�"�"�"����
�+�+�+�#-�� ��
�t�|�'�	�2�3�3�	�
���c�/�2�2�2�3�3�3�3�+2�D�L��Y�'�	�L�/�/��5�5�5�	�L�������?���a�����
&�~�
6�
6�d��%�8�8�&*�&+�����9���j�$�)�)�&�� � ��(�(�(�(�
�l��y�)�0�0��J�?�?�?�����q� � �
&�~�
6�
6�d� �/�B�B�&*�&5�����C����.�<�<�/��*�*�?�;�;�;�;��l��y�)�0�0��4H�I�I�I�I�I�!� s�>*B)�)*Cc�h�|jdD�]�}t|�dd�����ru|d}|d}tj�|j||��}||}t|tjj	���rg}|�
d��}	|	D]V}
|
�
d��}|�
d��}t|d	��r|�|j
���Wt|��dkr�tj�	d
|z|d�|j���}
|D]}|
�|���|jjd�|��}|jjd�|d
z|
�����|jj���D]}|j�|���|j���|j���|j���dS)NrQr"rrVrW�dependencies�targetProxy�remoteGlobalIDStringr�zRun %s Tests)r&r[r\rm)rGr�rxr(r@r}r=�
isinstancer)r�rp�hasattrrqr�r+r?r�r~�indexr��_other_pbxprojects�keys�AddOrGetProjectReference�SortRemoteProductReferencesrF�
ComputeIDs�EnsureNoIDCollisions)rMr��xcode_target_to_target_dict�bf_tgt�tgt_namerWr�r��
all_run_tests�pbxtds�pbxtd�pbxcip�dependency_xct�run_all_targetr��idx�other_pbxprojects                 r3�	Finalize2zXcodeProject.Finalize2lsR���&�y�1�P�P��	�V�Z�Z�=�q�
A�
A�	B�	B�P��-�(����#���:�5�5�d�m�6>��I�I��$�%5�6���l�C�$6�$I�J�J�	P��-��+�+�N�;�;�&��?�?�e��&�&�}�5�5�F�#�/�/�0F�G�G�N��~�}�5�5�
?��"�"�>�#=�>�>�>����
�
�!�
#�
#� �/�B�B�!/�(�!:�!)�D�D��|�	C�%�%�N�
$1�
<�
<���*�*�?�;�;�;�;��,�*�9�5�;�;�L�I�I�C��L�$�Y�/�6�6�s�Q�w��O�O�O��!�L�;�@�@�B�B�>�>��
�l�+�+�,<�=�=�=�=��L�,�,�.�.�.�	�� � �"�"�"�	��*�*�,�,�,�,�,r5c��tjdd|j���\}}	tj|d��}|j�|��|���tj�|jd��}d}	tj
||d��}n-#t$r }|jtj
kr�Yd}~nd}~wwxYw|rtj|��dStjd��}tj|��tj|d|z��tj||��dS#t$$r7tj|��|jrt)j|jd	���wxYw)
Nz.tmpzproject.pbxproj.gyp.)�suffix�prefix�dir�wzproject.pbxprojF�?i�T)�tempfile�mkstempr9rB�fdopenrF�Print�closer��filecmp�cmprJrK�ENOENT�unlink�umask�chmod�rename�	ExceptionrH�shutil�rmtree)rM�	output_fd�new_pbxproj_path�output_file�pbxproj_path�samerNr�s        r3�WritezXcodeProject.Write�s���$	���/E�!�Y�	(�	(�	(�"�Y� �*��I�i��-�-�k�
����k�*�*�*��������W�\�\�$�)�->�?�?�l�
�d���{�<�)9�5�A�A����
�����7�e�l�"�"�
�#�"�"�"�"���������
�2�	�	�"�#�#�#�#�#�������
������
��!�5�E�6�>�2�2�2�
�	�"�L�1�1�1�1�1������	�i� �!�!�!�	
�	�'��
�d�i��&�&�&��
���s>�A*E�B#�"E�#
C
�-C�E�C
�
E�(AE�AFN)�__name__�
__module__�__qualname__rOr�r�r��r5r3r7r7rsX���������.`J�`J�`J�D=-�=-�=-�~?�?�?�?�?r5r7c��gd�}gd�}tj|��}tj|��\}}|r|dd����}||vr/|dkr)|����|��dS||vr/|dkr)|����|��dS|�|��dS)N)�c�cc�cpp�cxx�m�mm�s�swift)�a�dylib�	framework�orm�none)�	posixpath�basename�splitextr��SourcesPhase�AddFile�FrameworksPhaserz)	�source�type�pbxpr��source_extensions�library_extensionsr��root�exts	         r3�AddSourceToTargetr��s���I�H�H��8�7�7��
�
��
'�
'�(��"�8�,�,�+�4����

�a�b�b�'�-�-�/�/�C�����$�&�.�.��������v�&�&�&�&�&�
� � � �T�V�^�^������!�!�&�)�)�)�)�)�	� � ��(�(�(�(�(r5c�T�|����|��dS)N)�ResourcesPhaser�)�resourcer�r�s   r3�AddResourceToTargetr�s*���������x�(�(�(�(�(r5c�l�dd|z}|����||��dS)Nz{ATTRIBUTES = (%s, ); })�Private�Public)�HeadersPhaser�)�headerr�r��	is_public�settingss     r3�AddHeaderToTargetr
s<��'�)>�y�)I�
I�(��������V�X�.�.�.�.�.r5z
(\$\((.*?)\))c���t�|��}|dkr|S|���|D]<}|\}}||vr�||}tjtj|��||��}�=|S)a�Expands Xcode-style $(VARIABLES) in string per the expansions dict.

  In some rare cases, it is appropriate to expand Xcode variables when a
  project file is generated.  For any substring $(VAR) in string, if VAR is a
  key in the expansions dict, $(VAR) will be replaced with expansions[VAR].
  Any $(VAR) substring in string for which VAR is not a key in the expansions
  dict will remain in the returned string.
  N)�_xcode_variable_re�findall�reverse�re�sub�escape)�string�
expansions�matches�match�
to_replace�variable�replacements       r3�ExpandXcodeVariablesrs���
�&�&�v�.�.�'���_�_��M�	�/�/�����@�@�e�"��Z���z�!�!���X�&�K�
�V�B�I�j�)�)�;��
?�
?�F�F�	�-r5z([\\\"\' ])c�8�tjtd|��S)aWe must escape the defines that we give to XCode so that it knows not to
     split on spaces and to respect backslash and quote literals. However, we
     must not quote the define, or Xcode will incorrectly intepret variables
     especially $(inherited).z\\\1)rr�_xcode_define_re)r�s r3�EscapeXcodeDefiner0s��

�� �'�1�	-�	-�-r5c��|d}|���D]g\}}tj�|��\}}|dkr�.||jzdz}|jr%tj�|j|��}�h|D]7}	dd|g}
|
d|	gz
}
td|	�d|
����tj	|
���8dS)	N�options�.gyp�
.xcodeproj�
xcodebuildz-projectz-configurationz
Building [z]: )
ryrBr9r�r��generator_outputr��print�
subprocess�
check_call)�datarU�paramsr�
build_filerG�build_file_root�build_file_ext�xcodeproj_path�config�	argumentss           r3�PerformBuildr*8s����9��'�%)�Z�Z�\�\�N�N�!�j�/�(*��(8�(8��(D�(D�%�_�n������$�w�~�5��D�N���N��w�|�|�G�$<�n�M�M�n���%�%�f��z�>�:�I�
�"�F�+�+�I�	�E������
3�4�4�4���)�$�$�$�$�	%�%r5c��|dj}|�d��dkr�tj�|djpd��}|�di���dd��}tj�tj�||����}tj�tj�||d����}n{tj�tj�|d	����}tj�tj�||d
����}||d�adS)Nr�flavor�ninjar:�generator_flags�
output_dir�outzgypfiles-xcode-ninjar�gypfiles)�toplevel�qualified_out_dir)	�toplevel_dirrxrBr9�relpathr�normpathr��generator_filelist_paths)r#r2�
generator_dirr/r3s     r3�CalculateGeneratorInputInfor9Js7��
�I�
�
+�(��Z�Z����W�$�$��G�O�O�F�9�$5�$F�$M�#�N�N�M����-�r�2�2�6�6�|�U�K�K�J���!�!�"�'�,�,�}�j�"I�"I�J�J�J���(�(������*�4�*6�*6�7�7�����!�!�"�'�,�,�x��"F�"F�G�G�J���(�(������*�j�**�**�+�+��
�,�����r5c�(�|�d��dk}|r&tj�||||��\}}}|d}|�di��}|�dd��}|�dd��}|�dd��}	|	r:t	|	��}	t|	��d	krd
|	z}	t|	��d	k�|�dd��}
i}|���D�]6\}}
tj�	|��\}}|dkr�/||j
zd
z}|jr%tj�|j|��}t|||
��}|||<|j}i}|rd|d<|	r|	|d<|	|d<|	|d<|�d|��|�d��sl|�d��}tj�ddi��}|�|��|
dD]}|�|d�����8i}i}|D�]
}tj�|��\}}}||}|ddkrt/d|z���|dg}t1|d�����D]}||vr|�|���||}|j}t7|��}dd d!d"d#d$d%d&d'd(d)d*d+d#d,�} ||d-�}!|d.}"t9|�d/d0����}#t9|�d1d0����}$t9|�d2d0����p|#p|$}%t9|�d3d0����}&t9|�d4d0����}'t9|�d5d0����}(|"d6kr�|"})|$r|)d7z
})|"d8ks
Jd9|z���ng|#r|)d:z
})|"d8ks
Jd;|z���nL|&r|%s
Jd<|z���|)d=z
})n5|'r|%s
Jd>|z���|)d?z
})n|(r|%s
Jd@|z���|)dAz
})n|%r|)dBz
})tjj}*	| |)|!dC<nt#t<$r)}+tj�|+dD|z���d}+~+wwxYwtjj }*|%r
JdE|z���|$r
JdF|z���|#r
JdG|z���|�dH��},|,�|,|!dI<|*|!||�dJ��|�dK��|�dL���M��}-|�!dN|-��|-||<|||-<|�dOg��}.|�dPg��}/d}0|"d6kr�|.s|/r�|s�t7|��}1|�dQdR��}2|1||2zd-�}3|,r|,dRz|3dI<tj� |3|�S��}0|�!dN|0��|-�"|0��|0|-_#d0}4|.D�]�}5|5�dT��}6|6r#dUtj�$|6��z}6ndV}6tj�%|5dW��}7tj�&|6��}8tj�&|7��}9dV}:|8r|:|8dXzz
}:|:dY|9zdZzz
}:tj�'|5d[d\|5d]zd^z|5d_|:d0d`���};|0r|0�!da|;��n&|-j(da�)|4|;��|4dbz}4t9|5�dcd����r|5d_D]}<tU|<|"||-���t9|5�ddd����r|5d_D]}<tW|<||-������|%r|�deg��}=ng}=i}>|/D�]Q}?|?|>|?df<g}@g}Ag}Bg}C|?�dgg��D�]�}DtYj-|D��\}E}FtYj	|F��\}G}H|G|H|F|D|Edh�}Ig}J|?�d_g��D]<}<t]|<|I��}K|J�|K��|�/|K���=|@�|J��|A�0|J��t9|?�dcd����r|JD]}<tU|<|"||-���|D|=v}L|Ls#t9|?�ddd����r|JD]}<tW|<||-���|?�dT��}6|6r/tj�$|6��}6t]|6|I��}6|B�|6��tj�%|?dW��}7t]|7|I��}5|C�|5�����t|A��d0k�r�ditcj2djdk|�dk|?dl����z}Mtj�||j|M��}Ntg|Ndm��}O|O�4dn��tk|@��D]C\}P}Q|Qd0}K|Pt|@��dbz
krdV}Rndo}R|O�4dp|K�|R�dX����Dtm|?dg|@|B|C��D�]�\}D}S}6}5|O�4dX��g}Ttk|S��D]Y\}P}K|Pd0krdV}Undp}U|O�4|U�|K�dq���tYj7|K��}V|Vr|V|Tvr|T�|V���Z|O�4dr��|Dg}W|W�0|?�d[g����tk|W��D];\}X}Y|Xt|W��dbz
krdV}Rndo}R|O�4dp|Y�|R�dX����<t|T��d0kr+|O�4dsdt�|T��z��|6r|O�4du|6z��|O�4dv|5z�����|O�8��dw|Mz}:tj�'|?dgdx|?dlzd^z|A|:d0d`���};|0r|0�!da|;��n&|-j(da�)|4|;��|4dbz}4d[dyg}Z|
rdz�|ZD��}Z|ZD]0}[|?�|[g��D]}\|�/|\����1��S|�d{g��D]M}]tYj	|]��\}^}_|_dbd�|>vrtU|]|"||-���8|�/|]���N|%rz|=D]L}`tYj	|`��\}a}b|bdbd�|>vrtW|`||-���7|�/|`���M|�d|g��D]}cts|c||-d���|%s|"d}kr+|�d~g��D]}cts|c||-d���i}d|�dg��D]�}e|ed�}f|fd0d�vrd�|fz}ft9|e�d�d0����}gd�|g}h|d�|fd��}i|i�gtj�:dd�|ed�zi|-�S��}i|i�;|f��|-j(da�)|4|i��|i|d|f<|ed�D]}j|i�<|j|h�����|
s8d�D]5}k|kd�z}l|�|lg��D]}\|�/|\����6gd��}Z|
rd��|ZD��}Z|�dOg��D]J}5|ZD]E}[|5�|[g��D],}\|\�=d���s|�/|\���-�F�K|�d�g��D]v}mtj�%|mdW��}9dY|9zdZz}:tj�'d�gd�|md�zd^z|:d0d����};|-�!da|;���wd�|vrC|d�D]:}n|-�"||n��|0r|0�"||n���;d�|vr�|d�D]�}o|-�>���<|o��tYj7|o��}p|pt~vrQ|-�@t���r|p|-�Bt���vr|-�Ct�|p����|D�]�}|d|}q|-�D|��}r|q�d�g��D]}s|r�Cd�|s���|q�d�g��D]}s|r�Cd�|s���|q�d�g��D]\}p|pt~vrQ|r�@t���r|p|r�Bt���vr|r�Ct�|p���]d�|qvr0|qd�D]'}tt�|t��}u|r�Cd�|u���(d�|qvr6|qd����D]\}v}w|r�F|v|w���d�|qvr0|�/|qd���}x|r�G|x�������g}y|���D]/\}}
|�Hd��r|y�|���0|yD]}||�I||���|yD]}||�J||���|yD]}||�K���dS)�Nr,r-rr.�xcode_parallel_buildsT�xcode_serialize_all_test_runs�#xcode_upgrade_check_project_version��0�xcode_list_excluded_filesrr�YES�!BuildIndependentTargetsInParallel�LastUpgradeCheck�LastTestingUpgradeCheck�LastSwiftUpdateCheck�
attributes�
standalone�	mainGroupr&�Build�included_filesFrWr�z:Multiple toolsets not supported in xcode build (target %s)�default_configurationrUzcom.apple.product-type.toolzcom.googlecode.gyp.xcode.bundlez&com.apple.product-type.library.dynamicz%com.apple.product-type.library.staticz'com.apple.product-type.kernel-extensionz"com.apple.product-type.applicationzcom.apple.product-type.bundlez'com.apple.product-type.bundle.unit-testz(com.apple.product-type.bundle.ui-testingz com.apple.product-type.frameworkz$com.apple.product-type.app-extensionz)com.apple.product-type.watchkit-extensionz+com.apple.product-type.application.watchapp)�
executable�loadable_module�shared_library�static_library�mac_kernel_extensionzexecutable+bundlezloadable_module+bundlezloadable_module+xctestzloadable_module+xcuitestzshared_library+bundlezexecutable+extension+bundlez!executable+watch+extension+bundlezexecutable+watch+bundlezmac_kernel_extension+bundleror�r rr!rrrrr�z	+xcuitestrMzFmac_xcuitest_bundle targets must have type loadable_module (target %s)z+xctestzDmac_xctest_bundle targets must have type loadable_module (target %s)z6ios_app_extension flag requires mac_bundle (target %s)z+extension+bundlez;ios_watchkit_extension flag requires mac_bundle (target %s)z+watch+extension+bundlez2ios_watch_app flag requires mac_bundle (target %s)z
+watch+bundlez+bundle�productTypez/-- unknown product type while writing target %sz6mac_bundle targets cannot have type none (target "%s")z?mac_xcuitest_bundle targets cannot have type none (target "%s")z=mac_xctest_bundle targets cannot have type none (target "%s")�product_namer[�product_dir�product_prefix�product_extension)r]�force_outdir�force_prefix�force_extensionrQ�actions�rules�support_target_suffixz Supportr\�messagezecho note: rrir`rhz
exit 1
�inputszAction "�action_namerb�outputs)�
inputPathsr&�outputPathsrjrkrlrm�process_outputs_as_sources�'process_outputs_as_mac_bundle_resourcesr�	extension�rule_sources)�INPUT_FILE_BASE�INPUT_FILE_SUFFIX�INPUT_FILE_NAME�INPUT_FILE_PATH�INPUT_FILE_DIRNAMEz%s.makez
[^a-zA-Z0-9_]�_�	rule_namer�zall: \
z \z    z \
z    : \
z	@mkdir -p "%s"
z" "z	@echo note: %s
z	%s
z�JOB_COUNT="$(/usr/sbin/sysctl -n hw.ncpu)"
if [ "${JOB_COUNT}" -gt 4 ]; then
  JOB_COUNT=4
fi
exec xcrun make -f "${PROJECT_FILE_PATH}/%s" -j "${JOB_COUNT}"
exit 1
zRule "�inputs_excludedc�<�g|]}|�d���|��S��	_excluded��endswith�rd�xs  r3rgz"GenerateOutput.<locals>.<listcomp>ls)��C�C�C��1�:�:�k�+B�+B�C�!�C�C�Cr5�sourcesrrOr�copies�destination)�/�$z$(SRCROOT)/�xcode_code_sign)Nz#{ATTRIBUTES = (CodeSignOnCopy, ); }zCopy to �files)rurrrrp)r]rmr_�outputs_excludedc�<�g|]}|�d���|��Srorqrss  r3rgz"GenerateOutput.<locals>.<listcomp>�s)��A�A�A�a����K�)@�)@�A��A�A�Ar5z$(BUILT_PRODUCTS_DIR)/�
postbuildsz($(BUILT_PRODUCTS_DIR)/$(EXECUTABLE_PATH)zPostbuild "�postbuild_name)r`r&rjrkr��	libraries�mac_framework_dirs�FRAMEWORK_SEARCH_PATHS�include_dirs�HEADER_SEARCH_PATHS�library_dirs�defines�GCC_PREPROCESSOR_DEFINITIONSrSrT)Lrxr(�xcode_ninja�
CreateWrapper�strr+ryrBr9r�r�rr�r7r?r.rpr)�PBXGroup�AppendChild�AddOrGetFileByPathr@�ParseQualifiedTargetr��sortedr�rqr4r��PBXNativeTarget�KeyError�ExceptionAppendr�r-r�r�EncodePOSIXShellArgumentr�rcr�r~r�r�r�r��splitrrz�extendrr�openrt�	enumerate�ziprCr�r�PBXCopyFilesBuildPhase�SetDestinationr��
startswithr��xcode_standard_library_dirs�HasBuildSetting�_library_search_paths_var�GetBuildSetting�AppendBuildSettingr|rrur{rrr�r�r�)z�target_list�target_dictsr"r#�
ninja_wrapperrr.�parallel_buildsr��upgrade_check_project_version�skip_excluded_files�xcode_projectsr$rGr%r&r'�xcpr��project_attributes�
main_group�build_group�
included_filer�r�r�rVrW�specr/r1r0�_types�target_propertiesr��	is_xctest�is_xcuitest�	is_bundle�is_app_extension�is_watchkit_extension�is_watch_app�type_bundle_key�
xctarget_typerN�target_product_namer��spec_actions�
spec_rules�support_xct�support_xcclr[�support_target_properties�prebuild_indexrir\�
action_string�
message_sh�action_string_shr�r��output�tgt_mac_bundle_resources�rules_by_ext�rule�concrete_outputs_by_rule_source�concrete_outputs_all�messagesrY�rule_source�rule_source_dirname�rule_source_basename�rule_source_root�rule_source_ext�rule_input_dict�%concrete_outputs_for_this_rule_source�concrete_output�was_mac_bundle_resource�
makefile_name�
makefile_path�makefile�concrete_output_index�concrete_output_by_rule_source�eol�concrete_outputs�concrete_output_dirs�bol�concrete_output_dir�
prerequisites�prerequisite_index�prerequisite�groups�group�itemr��source_root�source_extensionr��
resource_root�resource_extensionr�
pbxcp_dict�
copy_group�dest�	code_signr�pbxcp�filere�excluded_key�	postbuild�
dependency�library�library_dir�
configurationr2�include_dir�define�
set_definer�r�r��build_filessz                                                                                                                          r3�GenerateOutputr�^s����*�*�X�&�&�'�1�-��O���%�%�k�<��v�N�N�&�[�,��
�9��'��J�J�0�"�5�5�/�#�'�'�(?��F�F�/����9�4�@�@�����?��F�F� �#�J�$'�(E�$F�$F�!�

�+�
,�
,�q�
0�
0�&)�,I�&I�#��+�
,�
,�q�
0�
0��
�
�9�4�
@�
@�@���.�%)�Z�Z�\�\�=�=�!�j�/�(*��(8�(8��(D�(D�%�_�n������$�w�~�5��D�N���N��w�|�|�G�$<�n�M�M�n�
�z�>�?�
C�
C�C�!$�N�:���;�D����F�@E��<�=�$�(�/L��+�,�
'��2�3�(��/�0����\�#5�6�6�6����|�,�,�=��#�#�K�0�0�j��&�/�/���0A�B�B�k����[�)�)�)�*�+;�<�=�=�-��&�&�}�e�<�<�<�<���-� "��%�p	.�p	.���
�'�'�(8�9�9�'�Z��g��(�)�D��I��(�"�"��
F�
��
�
�� � 7�8�9��$�T�*:�%;�%@�%@�%B�%B�C�C�7�7��	�#6�	6�	6��"�"�#5�6�6�6��
��
$�C��;�D�%�%8�9�9�D�&C�%F�%M�%L�%N�%I�%D�%N�%O�%G�%K�
5�
7�%N�!��F�(!%� +����
��<�D��D�H�H�0�!�4�4�5�5�I��d�h�h�4�a�8�8�9�9�K��D�H�H�\�1�-�-�.�.�J�)�J�{�I��4�8�8�$7��;�;�<�<������)A�1� E� E�F�F���t�x�x���3�3�4�4�L��v�~�~��o�	�%��;�&���(�(�(�(�
�'�
(�)�(�(�(��%��9�$���(�(�(�(�
�'�
(�)�(�(�(��
%��	)�	)��'�(�	)�	)�	)��.�.��� �	%��	)�	)��'�(�	)�	)�	)��4�4����%��	)�	)��'�(�	)�	)�	)��?�*����%��9�$���(�8�m��+1�/�+B��-�(�(��
�����
�"�"�1�'7�9D�'E�	F�	F�	F�
���������
�(�;�m����
B�
��������
K�
��������
I�
������(�(�>�2�2���&�)<��
�&�
�-�)�$�%)�X�X�m�%<�%<�%)�X�X�.>�%?�%?�(,���1D�(E�(E�G�G�G�C�	���	�3�'�'�'�&)�M�"�#�'+���$��8�8�I�r�*�*�L����'�2�&�&�J��K��v�~�~�<�~�:�~�}�~�.�/B�C�C�l�-�1�1�
!�:�/�/��#/�"-�0E�"E�#�#��
�-��*�,�	"�-�0��
�
/�
/�0I�7;�0�=�=�����)�[�1�1�1�	����$�$�$�%�C���N��41�41���
�
�9�%�%�g�	���#�*�"E�"E�g�"N�"N�N������j�5�5�f�X�6F�G�G�m��%�C�C�G�L�L�j��+�I�I������f�	�$��*�t�#�#��
��*�*�\�9�9�f�
�
�
8�
8� ��*���
�!6�6��<�!�)�,�!� !�:�:�
�
�d�
�,��"�"�=�$�7�7�7�7�
	��
�&�-�-�n�d�C�C�C�'�!�+��

�V�Z�Z�4�e�
<�
<�	=�	=�5��Y�'�	5�	5�F�
�F�D�$��
4�
4�
4�
4�	�V�Z�Z�A�5�
I�
I�	J�	J�1��Y�'�	1�	1�F�
�f�d�C�
0�
0�
0�
0���$�!%���*@�"�!E�!E���!#��H�L��b-�b-��(,�l�4��$�%�8)+�%�
 ���h��g����.�"�5�5�:�:�+��O�K�(�(�	2��1�
��3�4�4�	,�	�?� 0�.�3�*� 3�
�
��13�-��h�h�y�"�-�-�
	8�
	8�F�1���I�I�/�
/�
6�
6��
G�
G�
G��
&�
&��
7�
7�
7�
7�'�.�.�1�	3�	3�	3��#�#�$I�J�J�J��t�x�x�4�e�<�<�=�=�	7�=�7�7�f��f�d�D�#�6�6�6�6�#.�1I�"I��"�	3�����B�E�J�J�K�K�	3�=�3�3�f����c�2�2�2�2��(�(�9�%�%���	C��J�7�7��@�@�'�(��/�B�B�'����� � � ��
�7�7��X��G�G�
�%�m�_�E�E�����v�����	�
!�	"�	"�Q�	&�	&�"�B�F��S�k�k�k�4��;L�;L�#M�%O�%O�O�
�����^�J�%?�%D�%2�4�4�
��
�s�+�+��	���{�#�#�#��5�6�6�	@�	@�A�!�#A�;�1�=�/�
"�c�*I�&J�&J�Q�&N�
N�
N��C�C��C�
�.�.�.���#�#�#�>�
?�
?�
?�
?�
��^�$�&E��'�
#�
#�.	,�.	,�<�[�*�G�V��.�.��
�
�
�
"$�
��(�)�)�?�?�4�#�_�$��)�)��c�c��c��N�N�#�#����?�@�@�@�"+�"3�O�"D�"D��#�
?�#�+?�?�?�"�)�)�*=�>�>�>��
�.�.��
&�
&�
&�'�-�-�
�
�
�t�x�x��"�5�5�
6�
6�
6�2;�M�2J�2J�?�?�.� �,�!�S��%7�%7�!�%;�;�;��c�c��c��N�N�N�<�<����=�>�>�>�>��%�
&�
&��
*�
*��N�N�/� �:�:�&:�;�;�<�
=�
=�
=�
�;��N�N�/�'�9�:�:�:�
�.�.��F�*�
+�
+�
+�
+���������
�	��!�:�:� ��0���k�!2�2�S�8�1�#�"#�<�<�����	.�
�
$�
$�]�D�
9�
9�
9�
9�
�/�-�
(�
/�
/���
E�
E�
E�)�A�-�.��+�,�f�	�D�C�C�V�C�C�C���-�-�%��H�H�U�B�'�'�	-�	-�D�
�
&�
&�t�
,�
,�
,�
,�	-�-�
�(�(�9�b�)�)�-�-��(1�(:�6�(B�(B�%�{�$�	�!�"�"�	�\�	1�	1�	�&�$��c�2�2�2�2��$�$�V�,�,�,�,��	4�.�1�1�(�.7�.@��.J�.J�+��*��a�b�b�!��5�5�
�h��c�
2�
2�
2�
2�
�
&�
&�x�
0�
0�
0�
0��H�H�<�b�A�A�4�4�&��&�$��U�3�3�3�3��3�D�,�,�,��H�H�4�b�9�9�3�3�&��&�$��T�2�2�2�2��J��h�h�x��,�,�&�&�
�
�
�
&�d�	
�a��
�	"�	"��t�#���j�n�n�%6��:�:�;�;�i�>�y�I�h�
�n�n�T�4�(�(�e�	���"�9�9��j�:�m�#<�<�;��:����	���T�"�"�"�	��
�&�-�-�n�e�D�D�D� �
�4���W�%�&�&�$�
�
�
�d�H�%�%�%�%�&��-�3�-�-�#��[�(���H�H�\�2�.�.�	-�	-�D�
�
&�
&�t�
,�
,�
,�
,�	-�J�
I�
I�F��B�A�A�6�A�A�A�f��(�(�9�b�)�)�/�/���/�/�%��J�J�u�b�)�)�	/�	/�D����!9�:�:�/��(�(��.�.�.��		/�/��X�X�l�B�/�/�.�.�	���8�8��8�9L�M�M���)�)�L�8�f��
�
8�
8�E�F�!�I�.>�$?�?�#�E�!� !�	:�:�
�
�d�
�����-�-�-�-������^�,�?�?�*����-�
�3�4�4�4��	?�
�
#�
#�M�*�$=�
>�
>�
>���d����+�&�I�I�'������%�%�g�.�.�.� �'��0�0���9�9�9��#�#�$=�>�>�:��s�2�2�3L�M�M�M�M�

�
 �
 �!:�K�
H�
H�
H��1�.�.���+�,�-?�@�m�
�
#�
#�$6�
7�
7�d�&�*�*�+?��D�D�G�G�+���� 8�+�F�F�F�F�&�*�*�>�2�>�>�D�D�+���� 5�{�C�C�C�C�&�*�*�>�2�>�>�J�J�+��9�9�9��$�$�%>�?�?�:��t�3�3�4M�N�N�N�N�
�
!�
!�";�[�
I�
I�
I��	�m�	#�	#�#�I�.�	N�	N�F�(��0�0�*�
�
!�
!�"@�*�
M�
M�
M�
M�	�]�	*�	*�%�&6�7�=�=�?�?�	)�	)�H�C��
�
�
�s�C�
(�
(�
(�
(�	�
�	-�	-��1�1��-�.�0�0�
��!�!�*�-�-�-��/.�2�+�%)�Z�Z�\�\�%�%�!�j�/����6�"�"�%�����$�$�$���M�M�j��:��(�(��8K�L�L�L�L��F�F�j��:��(�(��)D�F�F�F�F� �'�'�j��:��$�$�&�&�&�&�'�'s�R�
S�%$S	�	S)'�
__future__rr��
gyp.commonr(�gyp.xcodeproj_file�gyp.xcode_ninjarKrBrrr�rr�r r�rvrwr��generator_default_variables�"generator_additional_path_sections�+generator_additional_non_configuration_keys�!generator_extra_sources_for_rulesr7�	frozensetr�r4�objectr7r�r�r�compilerrrrr*r9r�r�r5r3�<module>rs���
&�%�%�%�%�%���������������������	�	�	�	�
�
�
�
�����	�	�	�	�
�
�
�
���������'��5��2����r���r���u���u�	�
�t���x�
��g� 1�1������(���
$�� �)�!�"�*�#�$�)�%�&�)�'�(�/�)�*�W�'?�?�+�,�*�-��4&�&�&�"�/�/�/�+�%�%�%�!� ��(�i���)����
	�	�	�x�x�x�x�x�6�x�x�x�v)�)�)�4)�)�)�/�/�/� �R�Z� 0�1�1�����4�2�:�n�-�-��.�.�.�%�%�%�$���(x
'�x
'�x
'�x
'�x
'r5