parameters: (params)
docstring: Calculate the generator specific info that gets fed to input (called by
    gyp).
docstring_summary: Calculate the generator specific info that gets fed to input (called by
    gyp).
docstring_tokens: Calculate the generator specific info that gets fed to input ( called by gyp ) .
function: def CalculateGeneratorInputInfo(params):
      """Calculate the generator specific info that gets fed to input (called by
    gyp)."""
      generator_flags = params.get("generator_flags", {})
      if generator_flags.get("adjust_static_libraries", False):
          global generator_wants_static_library_dependencies_adjusted
          generator_wants_static_library_dependencies_adjusted = True
  
      toplevel = params["options"].toplevel_dir
      generator_dir = os.path.relpath(params["options"].generator_output or ".")
      # output_dir: relative path from generator_dir to the build directory.
      output_dir = generator_flags.get("output_dir", "out")
      qualified_out_dir = os.path.normpath(
          os.path.join(toplevel, generator_dir, output_dir, "gypfiles")
      )
      global generator_filelist_paths
      generator_filelist_paths = {
          "toplevel": toplevel,
          "qualified_out_dir": qualified_out_dir,
      }
function_tokens: def CalculateGeneratorInputInfo ( params ) : generator_flags = params . get ( "generator_flags" , { } ) if generator_flags . get ( "adjust_static_libraries" , False ) : global generator_wants_static_library_dependencies_adjusted generator_wants_static_library_dependencies_adjusted = True toplevel = params [ "options" ] . toplevel_dir generator_dir = os . path . relpath ( params [ "options" ] . generator_output or "." ) # output_dir: relative path from generator_dir to the build directory. output_dir = generator_flags . get ( "output_dir" , "out" ) qualified_out_dir = os . path . normpath ( os . path . join ( toplevel , generator_dir , output_dir , "gypfiles" ) ) global generator_filelist_paths generator_filelist_paths = { "toplevel" : toplevel , "qualified_out_dir" : qualified_out_dir , }