+
    UBiF                        ^ RI Ht  ^ RIt^ RIt^RIHt ^RIHt ^RIH	t	 ^RIH
t
 ^ RIHt ]P                  '       d   ^RIHt ^R	IHt M]tR
 R lt ! R R]4      tR# )    )annotationsN)options)mesonlib)	OptionKey)LibType)CompileCheckMode)Compiler)
Dependencyc                    V ^8  d   QhRRRR/#    argsT.List[str]return )formats   "K/usr/lib/python3.14/site-packages/mesonbuild/compilers/mixins/emscripten.py__annotate__r      s      ; ;     c                    . pV  FG  pVP                  R 4      '       d%   VP                  R4      '       g   VRV.,          pK>  W.,          pKI  	  V# ).js-z--js-library)endswith
startswith)r   
final_argsis   &  r   wrap_js_includesr      sO     J::eQ\\#%6%6>1--J#J	 
 r   c                     a  ] tR t^%tR R ltR R ltR V 3R llt]R V 3R ll4       tR	 V 3R
 llt	]
P                  RR3R V 3R llltRtV ;t# )EmscriptenMixinc               $    V ^8  d   QhRRRRRR/# )r   dirnamestrmoder   r   r   )r   s   "r   r   EmscriptenMixin.__annotate__'   s"     	9 	93 	96F 	93 	9r   c                	    V\         P                  8w  g   Q R 4       hV\         P                  8X  d   RpMRp\        P                  P                  VRV,           4      # )zAIn pre-processor mode, the output is sent to stdout and discardedjsozoutput.)r   
PREPROCESSLINKospathjoin)selfr!   r#   suffixs   &&& r   _get_compile_output#EmscriptenMixin._get_compile_output'   sR    '222w4ww2 #(((FFww||GY%788r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r$   2   s      ; r   c                	   R .pV P                   P                  P                  P                  \	        V P
                   R2V P                  R7      4      p\        V\        4      '       g   Q hV'       d   VP                  RV 24       V# )z-pthread_thread_countmachinez-sPTHREAD_POOL_SIZE=)
environmentcoredataoptstoreget_value_forr   languagefor_machine
isinstanceintappend)r-   r   counts   &  r   thread_link_flags!EmscriptenMixin.thread_link_flags2   s    |  ))22@@dmm_\iKjtx  uE  uE  BF  G%%%%%KK.ug67r   c                   V ^8  d   QhRR/# )r   r   z"options.MutableKeyedOptionDictTyper   )r   s   "r   r   r$   :   s     
 
? 
r   c                	   < \         SV `  4       p\        V P                   R 2V P                  R7      p\
        P                  ! V P                  V4      R^^ R7      W&   V# )r3   r4   z=Number of threads to use in web assembly, set to 0 to disable)	min_value)superget_optionsr   r:   r;   r   UserIntegerOptionmake_option_name)r-   optskey	__class__s   &  r   rF   EmscriptenMixin.get_options:   s]    w"$4==/7AQAQR--!!#&K		 r   c                    V ^8  d   QhRRRR/# r   r   )r   s   "r   r   r$   G   s     C C{ C{ Cr   c                	4   < \        \        SV `	  V4      4      # N)r   rE   native_args_to_unix)clsr   rK   s   &&r   rP   #EmscriptenMixin.native_args_to_unixF   s     ;D ABBr   c                    V ^8  d   QhRRRR/# )r   depz'Dependency'r   r   r   )r   s   "r   r   r$   J   s     G GL G[ Gr   c                	4   < \        \        SV `	  V4      4      # rO   )r   rE   get_dependency_link_args)r-   rT   rK   s   &&r   rV   (EmscriptenMixin.get_dependency_link_argsJ   s     @ EFFr   TFc               0    V ^8  d   QhRRRRRRRRR	RR
R/# )r   libnamer"   
extra_dirsr   libtyper   lib_prefix_warningboolignore_system_dirsr   zT.Optional[T.List[str]]r   )r   s   "r   r   r$   M   s9      C [ 7 )-JN[rr   c                	  < VP                  R 4      '       g   \        SV `	  WW44      # \        P                  P                  V4      '       d)   \        P                  P                  V4      '       d   V.# \        V4      ^ 8X  d   \        P                  ! R4      hV FL  p\        P                  P                  Wa4      p\        P                  P                  V4      '       g   KI  V.u # 	  R# )r   z]Looking up Emscripten JS libraries requires either an absolute path or specifying extra_dirs.N)r   rE   find_libraryr*   r+   isabsexistslenr   EnvironmentExceptionr,   )	r-   rY   rZ   r[   r\   r^   dabs_pathrK   s	   &&&&&&  r   r`   EmscriptenMixin.find_libraryM   s    &&7'WYY77==!!ww~~g&&y z?a//  1P  Q  QAww||A/Hww~~h'' z!  r   r   )__name__
__module____qualname____firstlineno__r/   r@   rF   classmethodrP   rV   r   PREFER_SHAREDr`   __static_attributes____classcell__)rK   s   @r   r   r   %   s[    	9
 
 C CG G V]UjUj04QV  r   r   )
__future__r   os.pathr*   typingT r   r   r   r   mesonbuild.compilers.compilersr   TYPE_CHECKINGcompilers.compilersr	   dependenciesr
   objectr   r   r   r   r   <module>rz      sI    # N        ;???/* H5h 5r   