| Server IP : 85.155.190.233 / Your IP : 216.73.216.103 Web Server : nginx/1.24.0 System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : wp-moonbloom ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/gyp/__pycache__/ |
Upload File : |
�
�"Kb(, � �H � d Z ddlZddlZddlZddlZddlZd� Zd� Z d� Z
d� Zy)a� Xcode-ninja wrapper project file generator.
This updates the data structures passed to the Xcode gyp generator to build
with ninja instead. The Xcode project itself is transformed into a list of
executable targets, each with a build step to build with ninja, and a target
with every source and resource file. This appears to sidestep some of the
major performance headaches experienced using complex projects and large number
of targets within Xcode.
� Nc � � t j j | � \ }}|dz }|d }|j r*t j j |j |� } t j
|� d}| |fD ]x } t j j t j j | � � d dz }
t j j j d|
z � }
|d|
z z
}�z |d z
}t j j |d
� } t |d� 5 }|j � }
|
|k( r
ddd� y ddd� t |d� 5 }|j# |� ddd� y# t $ r)}|j t j k7 r� Y d}~��0d}~ww xY w# 1 sw Y �exY w# t $ r Y �sw xY w# 1 sw Y yxY w)
z8 Create a workspace to wrap main and sources gyp paths. z.xcworkspace�optionsNzC<?xml version="1.0" encoding="UTF-8"?>
<Workspace version = "1.0">
r z
.xcodeprojzgroup:z$ <FileRef location = %s></FileRef>
z
</Workspace>
zcontents.xcworkspacedata�r�w)�os�path�splitext�generator_output�join�makedirs�OSError�errno�EEXIST�basename�xml�sax�saxutils� quoteattr�open�read�IOError�write)�main_gyp�sources_gyp�params�build_file_root�build_file_ext�workspace_pathr �e�
output_string�gyp_name�name�workspace_file�
input_file�input_string�output_files �1/usr/lib/python3/dist-packages/gyp/xcode_ninja.py�_WriteWorkspacer( s� � �&(�g�g�&6�&6�x�&@�#�?�N�"�^�3�.��9��'�����W�W�\�\�'�":�":�N�K�N���K�K���2�-��[�)� D�h�
�7�7���B�G�G�,�,�X�6�7��:�\�I�D��7�7���%�%�h��o�6�D��<�t�C�C�M�D� �#�#�-��7�7�<�<��0J�K�.� �
�n�c� "� �j��_�_�&�l� �� &��� � &�� �N�C� � %�K����m�$�%� %��-
� ��w�w�%�,�,��� ����� ��
� �� ��%� %�sT �$E<