Module Expr Str Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Assign NameStore BinOpAdd Str Str For NameStore ListLoad NameLoad NameLoad body Assign NameStore BinOpAdd SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpAdd Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Return handlers ExceptHandler type NameLoad body Pass With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore Num If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str Dict Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad If CompareIn Str NameLoad body For NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad attr Str Dict If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad Dict Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Dict Str Str Str Str Str BinOpMod Str NameLoad ListLoad ListLoad ListLoad Str BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Str Str SubscriptLoad NameLoad Index Str NameLoad BinOpMod Str NameLoad If CompareGt NameLoad Num body Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str attr TupleLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad If BoolOpAnd CompareEq Call AttributeLoad NameLoad attr Str Str Str CompareNotEq Call AttributeLoad NameLoad attr Str Str Str body If CompareIsNot NameLoad NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad Assign NameStore ListLoad Assign NameStore Dict Assign NameStore Dict Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad For NameStore SubscriptLoad SubscriptLoad NameLoad Index SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Index Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad Assign NameStore Str Assign NameStore Call NameLoad Dict Str Str Str Str Str NameLoad Str Str Str Str NameLoad Assign SubscriptStore NameLoad Index Str Dict Str Dict Str ListLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str ListLoad Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str ListLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str Dict Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str attr NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list
N/A N/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.
 N/A errno N/A gyp.generator.ninja N/A os N/A re N/A xml.sax.saxutils _WriteWorkspace N/A N/A main_gyp sources_gyp params N/A N/A N/A  Create a workspace to wrap main and sources gyp paths.  N/A N/A build_file_root build_file_ext N/A N/A N/A os path splitext main_gyp N/A workspace_path N/A build_file_root .xcworkspace N/A options N/A params N/A options N/A N/A options generator_output N/A N/A workspace_path N/A N/A N/A os path join N/A options generator_output workspace_path N/A N/A N/A N/A N/A os makedirs workspace_path N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno N/A errno EEXIST N/A N/A N/A output_string N/A <?xml version="1.0" encoding="UTF-8"?>
 <Workspace version = "1.0">
 N/A gyp_name N/A main_gyp sources_gyp N/A N/A name N/A N/A N/A N/A N/A os path splitext N/A N/A N/A os path basename gyp_name N/A 0 .xcodeproj N/A name N/A N/A N/A N/A xml sax saxutils quoteattr N/A group: name N/A output_string N/A   <FileRef location = %s></FileRef>
 name N/A output_string </Workspace>
 N/A workspace_file N/A N/A N/A os path join workspace_path contents.xcworkspacedata N/A N/A N/A N/A open workspace_file r input_file N/A N/A input_string N/A N/A input_file read N/A N/A input_string output_string N/A N/A N/A N/A N/A IOError N/A N/A N/A N/A open workspace_file w output_file N/A N/A N/A N/A output_file write output_string N/A _TargetFromSpec N/A N/A old_spec params N/A N/A N/A  Create fake target for xcode-ninja wrapper.  N/A ninja_toplevel None N/A jobs 0 N/A params N/A N/A options N/A params N/A options N/A ninja_toplevel N/A N/A N/A os path join N/A options toplevel_dir N/A N/A N/A N/A gyp generator ninja ComputeOutputDir params N/A jobs N/A N/A N/A N/A params get generator_flags N/A get xcode_ninja_jobs 0 N/A target_name N/A N/A old_spec get target_name N/A product_name N/A N/A old_spec get product_name target_name N/A product_extension N/A N/A old_spec get product_extension N/A ninja_target N/A N/A N/A ninja_target N/A target_name target_name N/A N/A ninja_target N/A product_name product_name N/A product_extension N/A N/A N/A ninja_target N/A product_extension product_extension N/A N/A ninja_target N/A toolset N/A N/A old_spec get toolset N/A N/A ninja_target N/A default_configuration N/A N/A old_spec get default_configuration N/A N/A ninja_target N/A configurations N/A N/A new_xcode_settings N/A N/A ninja_toplevel N/A N/A N/A new_xcode_settings N/A CONFIGURATION_BUILD_DIR N/A %s/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) ninja_toplevel N/A N/A configurations old_spec N/A N/A config N/A N/A N/A old_spec N/A configurations keys N/A N/A old_xcode_settings N/A N/A N/A N/A old_spec N/A configurations N/A config get xcode_settings N/A N/A N/A IPHONEOS_DEPLOYMENT_TARGET old_xcode_settings N/A N/A N/A new_xcode_settings N/A CODE_SIGNING_REQUIRED NO N/A N/A new_xcode_settings N/A IPHONEOS_DEPLOYMENT_TARGET N/A old_xcode_settings N/A IPHONEOS_DEPLOYMENT_TARGET N/A N/A N/A ninja_target N/A configurations N/A config N/A N/A N/A N/A N/A ninja_target N/A configurations N/A config N/A xcode_settings new_xcode_settings N/A N/A ninja_target N/A mac_bundle N/A N/A old_spec get mac_bundle 0 N/A N/A ninja_target N/A ios_app_extension N/A N/A old_spec get ios_app_extension 0 N/A N/A ninja_target N/A ios_watchkit_extension N/A N/A old_spec get ios_watchkit_extension 0 N/A N/A ninja_target N/A ios_watchkit_app N/A N/A old_spec get ios_watchkit_app 0 N/A N/A ninja_target N/A type N/A old_spec N/A type N/A ninja_toplevel N/A N/A N/A ninja_target N/A actions N/A N/A action_name inputs outputs action message N/A Compile and copy %s via ninja target_name N/A N/A N/A env N/A PATH=%s N/A N/A os environ N/A PATH ninja -C N/A new_xcode_settings N/A CONFIGURATION_BUILD_DIR target_name N/A Compile and copy %s via ninja target_name N/A N/A jobs 0 N/A N/A N/A N/A N/A N/A N/A ninja_target N/A actions N/A 0 N/A action extend N/A -j jobs N/A ninja_target N/A IsValidTargetForWrapper N/A N/A target_extras executable_target_pattern spec N/A N/A N/A Limit 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.
   N/A target_name N/A N/A spec get target_name N/A N/A N/A target_extras None N/A N/A re search target_extras target_name N/A N/A True N/A N/A N/A N/A N/A spec get type executable N/A N/A N/A spec get product_extension bundle N/A N/A N/A executable_target_pattern None N/A N/A N/A N/A N/A re search executable_target_pattern target_name N/A N/A False N/A True N/A False N/A CreateWrapper N/A N/A target_list target_dicts data params N/A N/A N/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.
   N/A orig_gyp N/A N/A params N/A build_files N/A 0 N/A N/A gyp_name gyp_dict N/A N/A data items N/A N/A N/A gyp_name orig_gyp N/A N/A depth N/A gyp_dict N/A _DEPTH N/A generator_flags N/A N/A params get generator_flags N/A N/A main_gyp N/A N/A generator_flags get xcode_ninja_main_gyp None N/A N/A main_gyp None N/A N/A N/A build_file_root build_file_ext N/A N/A N/A os path splitext orig_gyp N/A main_gyp N/A N/A build_file_root .ninja build_file_ext N/A new_target_list N/A N/A new_target_dicts N/A N/A new_data N/A N/A N/A new_data N/A main_gyp N/A N/A N/A N/A new_data N/A main_gyp N/A included_files N/A N/A N/A N/A new_data N/A main_gyp N/A targets N/A N/A N/A N/A new_data N/A main_gyp N/A xcode_settings N/A N/A N/A data N/A orig_gyp get xcode_settings N/A N/A executable_target_pattern N/A N/A generator_flags get xcode_ninja_executable_target_pattern None N/A target_extras N/A N/A generator_flags get xcode_ninja_target_pattern None N/A old_qualified_target target_list N/A N/A spec N/A target_dicts N/A old_qualified_target N/A N/A IsValidTargetForWrapper target_extras executable_target_pattern spec N/A N/A target_name N/A N/A spec get target_name N/A new_target_name N/A %s:%s#target N/A main_gyp target_name N/A N/A N/A new_target_list append new_target_name N/A N/A new_target_dicts N/A new_target_name N/A _TargetFromSpec spec params N/A old_target N/A N/A data N/A N/A N/A N/A old_qualified_target split : N/A 0 N/A targets N/A N/A N/A N/A old_target N/A target_name target_name N/A N/A new_data_target N/A N/A N/A new_data_target N/A target_name N/A old_target N/A target_name N/A N/A new_data_target N/A toolset N/A old_target N/A toolset N/A N/A N/A N/A N/A new_data N/A main_gyp N/A targets append new_data_target N/A sources_target_name sources_for_indexing N/A sources_target N/A _TargetFromSpec N/A target_name toolset default_configuration mac_bundle type sources_target_name target Default 0 executable None N/A N/A sources_target N/A configurations N/A Default N/A include_dirs N/A depth N/A sources N/A N/A N/A target target_dict N/A N/A target_dicts items N/A N/A base N/A N/A N/A os path dirname target N/A files N/A N/A N/A target_dict get sources N/A N/A N/A target_dict get mac_bundle_resources N/A N/A files N/A file N/A file files N/A N/A N/A file startswith $ N/A relative_path N/A N/A N/A os path dirname main_gyp N/A sources N/A N/A N/A N/A os path relpath N/A N/A N/A os path join base file relative_path N/A file files N/A N/A sources_target N/A sources N/A sorted N/A set sources N/A sources_gyp N/A N/A N/A os path join N/A N/A N/A os path dirname main_gyp N/A sources_target_name .gyp N/A fully_qualified_target_name N/A %s:%s#target N/A sources_gyp sources_target_name N/A N/A N/A new_target_list append fully_qualified_target_name N/A N/A new_target_dicts N/A fully_qualified_target_name sources_target N/A new_data_target N/A N/A N/A new_data_target N/A target_name N/A sources_target N/A target_name N/A N/A new_data_target N/A _DEPTH depth N/A N/A new_data_target N/A toolset target N/A N/A new_data N/A sources_gyp N/A N/A N/A N/A new_data N/A sources_gyp N/A targets N/A N/A N/A N/A new_data N/A sources_gyp N/A included_files N/A N/A N/A N/A new_data N/A sources_gyp N/A xcode_settings N/A N/A N/A data N/A orig_gyp get xcode_settings N/A N/A N/A N/A N/A N/A new_data N/A sources_gyp N/A targets append new_data_target N/A N/A _WriteWorkspace main_gyp sources_gyp params N/A N/A new_target_list new_target_dicts new_data N/A