0
  W   ˆl–Ãa¾”ªi?u8 ¸Ûw˜´o’þeeg1ÆØ�"Ó{5ÏÀ{‹„„-i[D<†ªoZƒ›Ù«Á179_‹I|¥Žƒî4ÃVŸÆÅ  ³    ‹      mŽOÂ0ÅïýaÓKçÙQÄ‹ èEñ$ºÙIGÛ”þÇ¶ï®¦"¾SòòKò¤¶è´ ý:š2H4ÐCåPCJ³�™æDÜ_h5bÒ¯|cÊMŽJL±¨gÐxÊ‰��C£T”¿±€’äë×°Œ10Q)è:ûÊÌa9‹arúwð<ËIO²l£+ÅŽ[+Íõ¸ß²Ÿ„´öTsû ª˜ó     <   ˆl–ß=¿J	å2ÛB‚ „ ¸îÕ1hß“þDãë6V¤u°FøÆ@-7³WüÿÄÁÀÃ340¿ÇÆ T    ‹      }Q[kƒ0þ+VŠ$4dík]ØËžƒ½I‚ÛM\.¢þ÷E­ì%¿ó]ÎIv¥W¹“Z¡RäN›w±·Ygdîâ4^ú1c®m@—Q¥T�$ó—Šºx›K”Å·o¦�IL_î`ì¨ãdq>?
tûYx@kø~kÀy£¢=õ’6•¿HÅ:QçUPëÂW@t3þwwa"I£�f£0›9œNÐ8|Zjƒd$U4
&øán3ÉÙèûŒ“-Ho¯({Œã�ä¢ªžã®*¢DD˜‹%¡¯Þ¥ÍµR�;(–‰ƒ[økÐ¨ã©,Qè&	ú#îûUÔ \v³	ª]„ç9�vŒýO¢*_áb0žn†Sùiêâ®©<ðê0ol³yå`Ä“äQŸ8MSµh7mŽ‡aÀé/*å·ai    D   	ˆl–Ü4ý(Ëm
�À5pN©‹Fÿ�þBGÊÍ•’Œ²ÆÐÞ ?ŸÅ…\eçÄ_ŠI|¥�+Wé3ž¯ÉÈ ?÷     	# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from __future__ import print_function

import ast
import gyp.common
import gyp.simple_copy
import multiprocessing
import optparse
import os.path
import re
import shlex
import signal
import subprocess
import sys
import threading
import time
import traceback
from gyp.common import GypError
from gyp.common import OrderedSet


# A list of types that are treated as linkable.
linkable_types = [
  'executable',
  'shared_library',
  'loadable_module',
  'mac_kernel_extension',
  'windows_driver',
]

# A list of sections that contain links to other targets.
dependency_sections = ['dependencies', 'export_dependent_settings']

# base_path_sections is a list of sections defined by GYP that contain
# pathnames.  The generators can provide more keys, the two lists are merged
# into path_sections, but you should call IsPathSection instead of using either
# list directly.
base_path_sections = [
  'destination',
  'files',
  'include_dirs',
  'inputs',
  'libraries',
  'outputs',
  'sources',
]
path_sections = set()

# These per-process dictionaries are used to cache build file data when loading
# in parallel mode.
per_process_data = {}
per_process_aux_data = {}

try:
  _str_types = (basestring,)
# There's no basestring in python3.
except NameError:
  _str_types = (str,)

try:
  _int_types = (int, long)
# There's no long in python3.
except NameError:
  _int_types = (int,)

# Shortcuts as we use these combos a lot.
_str_int_types = _str_types + _int_types
_str_int_list_types = _str_int_types + (list,)


def IsPathSection(section):
  # If section ends in one of the '=+?!' characters, it's applied to a section
  # without the trailing characters.  '/' is notably absent from this list,
  # because there's no way for a regular expression to be treated as a path.
  while section and section[-1:] in '=+?!':
    section = section[:-1]

  if section in path_sections:
    return True

  # Sections mathing the regexp '_(dir|file|path)s?$' are also
  # considered PathSections. Using manual string matching since that
  # is much faster than the regexp and this can be called hundreds of
  # thousands of times so micro performance matters.
  if "_" in section:
    tail = section[-6:]
    if tail[-1] == 's':
      tail = tail[:-1]
    if tail[-5:] in ('_file', '_path'):
      return True
    return tail[-4:] == '_dir'

  return False

# base_non_configuration_keys is a list of key names that belong in the target
# itself and should not be propagated into its configurations.  It is merged
# with a list that can come from the generator to
# create non_configuration_keys.
base_non_configuration_keys = [
  # Sections that must exist inside targets and not configurations.
  'actions',
  'all_dependent_settings',
  'configurations',
  'copies',
  'default_configuration',
  'dependencies',
  'dependencies_original',
  'direct_dependent_settings',
  'libraries',
  'postbuilds',
  'product_dir',
  'product_extension',
  'product_name',
  'product_prefix',
  'rules',
  'run_as',
  'sources',
  'standalone_static_library',
  'suppress_wildcard',
  'target_name',
  'toolset',
  'toolsets',
  'type',

  # Sections that can be found insi