Uname:Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64

Base Dir : /var/www/moonbloom

User : wp-moonbloom


403WebShell
403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/gyp/__pycache__/xcode_ninja.cpython-312.pyc
�

�"Kb(,��H�dZddlZddlZddlZddlZddlZd�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��tjj|�\}}|dz}|d}|jr*tjj	|j|�}	tj
|�d}||fD]x}	tjjtjj|	��ddz}
tjjjd|
z�}
|d|
zz
}�z|d	z
}tjj	|d
�}	t|d�5}|j�}
|
|k(r
	ddd�y	ddd�t|d�5}|j#|�ddd�y#t$r)}|jtjk7r�Yd}~��0d}~wwxYw#1swY�exYw#t $rY�swxYw#1swYyxYw)
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">
rz
.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<� F=�,F1�F=�
F=�!G�<	F.�F)�)F.�1F:�6F=�=	G	�G	�Gc	�`�d}d}|rx|d}tjj|jtj
jj|��}|jdi�jdd�}|jd�}|jd|�}|jd�}i}||d<||d<|r||d<|jd	�|d	<|jd
�|d
<i|d<i}	|rd|z|	d
<d|vrh|dj�D]R}
|d|
jdi�}d|vr
d|	d<|d|	d<dD]}||vs�|||	|<�i|d|
<|	|d|
d<�T|jdd�|d<|jdd�|d<|jdd�|d<|jdd�|d<|jdd�|d<|d|d<|rPd|zggddtjdzdd|	d
|gd|zd�g|d <|dkDr|d dd!jd"|f�|S)#z- Create fake target for xcode-ninja wrapper. Nrr�generator_flags�xcode_ninja_jobs�target_name�product_name�product_extension�toolset�default_configuration�configurationsz-%s/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)�CONFIGURATION_BUILD_DIR�xcode_settings�IPHONEOS_DEPLOYMENT_TARGET�NO�CODE_SIGNING_REQUIRED)�
BUNDLE_LOADER�	TEST_HOST�
mac_bundle�mac_xctest_bundle�ios_app_extension�ios_watchkit_extension�ios_watchkit_app�typezCompile and copy %s via ninja�envzPATH=%s�PATH�ninjaz-C)�action_name�inputs�outputs�action�message�actionsrEz-j)rrr�toplevel_dir�gyp�	generatorrA�ComputeOutputDir�get�keys�environ�extend)
�old_specr�ninja_toplevel�jobsrr,r-r.�ninja_target�new_xcode_settings�config�old_xcode_settings�keys
             r'�_TargetFromSpecrX8s����.�	
�$���Y��G�
�����W�)�)��]�]�(�(�9�9�&�A�	C���:�:�'��,�0�0�1C�Q�G�D����]�+�+����n�k�:�,��l�l�#6�7���,� +�,�}��!-�,�~���(9�L�$�%�$�L�L��3�,�y��*2�,�,�7N�*O�,�&�'�#%�,�� ����7�.�H��0�1���!��+�,�1�1�3�
���!�"�6�*�.�.�/?��D��	%�);�	;�6:��2�3��;�<�	�7�8�/�<�#��$�$�$6�s�$;�
�S�
!�<�02�l�#�$�V�,�
��#�$�V�,�-=�>�
� (�|�|�L�!�<�,�|��&.�l�l�3F��&J�,�"�#�&.�l�l�3F��&J�,�"�#��l�l�+�Q�/��'�(�%-�\�\�2D�a�%H�,�!�"�!�&�)�,�v���7��D���
�
�b�j�j��(�
(�
�
�
�6�
7�
�

�3�[�@�
��L��� �a�x��9��a� ��*�1�1�4��,�?�	��c��|jd�}|�tj||�ryt|jdd��dk7s*|jdd�dk(r/|jdd�d	k7r|�tj||�sy
yy
)apLimit targets for Xcode wrapper.

  Xcode sometimes performs poorly with too many targets, so only include
  proper executable targets, with filters to customize.
  Arguments:
    target_extras: Regular expression to always add, matching any target.
    executable_target_pattern: Regular expression limiting executable targets.
    spec: Specifications for target.
  r,Tr:rr>��
executabler.�bundleF)rL�re�search�int)�
target_extras�executable_target_pattern�specr,s    r'�IsValidTargetForWrapperrd�s�������'�+���2�9�9�]�K�#H��
�$�(�(�&��
*�+�q�0��x�x����|�+��x�x�#�R�(�H�4�!�,�
�Y�Y�0�+�
>���	rYc�0�|dd}|j�D]\}}||k(s�|d}�|jdi�}|jdd�}	|	�*tjj	|�\}
}|
dz|z}	g}i}
i}i||	<g||	d<g||	d	<||jd
i�||	d
<|jdd�}|jdd�}|D]�}||}t|||�s�|jd
�}|	�d|�d�}|j
|�t||�|
|<||jd�dd	D]4}|d
|k(s�i}|d
|d
<|d|d<||	d	j
|��6��d}t|ddddd�d�}ddgii|d<|jdd�}g}|j�D�]k\}}tjj|�}|jdg�|jdg�z}|s4|j|jdg�|jdg�z�|jdg�D]G}|j|jd g��|r�'|j|jd!g���I|D� cgc]} | jd"�r�| ��}} tjj|	�}!||D� cgc]@} tjjtjj|| �|!���Bc} z
}��ntt|��|d<tjjtjj|	�|d#z�}"|"�d|�d�}#|j
|#�||
|#<i}|d
|d
<||d<d|d<i||"<g||"d	<g||"d<||jd
i�||"d
<||"d	j
|�t!|	|"|�||
|fScc} wcc} w)$a�Initialize targets for the ninja wrapper.

  This sets up the necessary variables in the targets to generate Xcode projects
  that use ninja as an external builder.
  Arguments:
    target_list: List of target pairs: 'base/base.gyp:base'.
    target_dicts: Dict of target properties keyed on target pair.
    data: Dict of flattened build files keyed on gyp path.
    params: Dict of global options for gyp.
  �build_filesr�_DEPTHr*�xcode_ninja_main_gypNz.ninja�included_files�targetsr3�%xcode_ninja_executable_target_pattern�xcode_ninja_target_patternr,�:z#targetr/�sources_for_indexing�target�Default�0r\)r,r/r0r9r>�include_dirsr1�xcode_ninja_list_excluded_filesT�sources�mac_bundle_resources�sources_excluded�mac_bundle_resources_excludedrGrC�inputs_excluded�$z.gyp)�itemsrLrrr	rd�appendrX�split�dirnamerO�
startswith�relpathr�sorted�setr()$�target_list�target_dicts�datar�orig_gypr!�gyp_dict�depthr*rrr�new_target_list�new_target_dicts�new_datarbra�old_qualified_targetrcr,�new_target_name�
old_target�new_data_target�sources_target_name�sources_target�skip_excluded_filesrtro�target_dict�base�filesrE�file�
relative_pathr�fully_qualified_target_names$                                    r'�
CreateWrapperr��s����M�
"�1�
%�(� �J�J�L�!��h���8���x� �e�!��J�J�0�"�5�/�
�
 �
 �!7��
>�(�
��(*���(8�(8��(B�%�_�n���)�N�:�H��/���
�(��(�8��)+�(�8��%�&�"$�(�8��Y��
�8�n���)�2�.��8��%�&����A�4�H��
"�%�%�&B�D�I�-�)�@���,�-�D��}�.G��N��H�H�]�+�k�*2�K�@�o����_�-�+:�$��*G���'��1�7�7��<�Q�?�@��K�@�*��m�$��3��/�+5�m�+D�/�-�
(�'1�)�'<�/�)�
$�
�8�
�Y�
'�
.�
.��
?�@�@�(/��"�)��(���	�
�

�.�'0�>�U�9�1N�%P�.�!�"��
�
�?��
F�F��
�'�)�/�/�1�(��f�k�
�7�7�?�?�6�"�D��O�O�I�r�*��O�O�2�B�7�
8�E���l�l�;�?�?�#5�r�:��?�?�#B�B�G�H�I��/�/�)�R�0�8���l�l�6�:�:�h��+�,�
 �
���V�Z�Z� 1�2�6�7�	8� %�A�t�D�O�O�C�,@�d�A�E�A��G�G�O�O�H�-�M�� %�(������������d�D�!9�=�I�(�(�G�+(�0%�S��\�2�.���	�g�g�l�l�2�7�7�?�?�8�,�.A�F�.J�K��$�%8�9�����4�5�2@��.�/��/�#1�-�#@�/�-� �#�/�(��'�/�)���(�;��%'�(�;��	�"�,.�(�;��(�)�
�8�n���)�2�.��;��(�)�
�;��	�"�)�)�/�:��(�K��0�
�+�X�	6�6��?
B��(s�P�5P�AP)�__doc__r�gyp.generator.ninjarIrr^�xml.sax.saxutilsrr(rXrdr��rYr'�<module>r�s3��
�
��	�	�� %�DI�V�6C7rY

Youez - 2016 - github.com/yon3zu
LinuXploit