(target_list, target_dicts, data)
return 'gcc'
Determine a command that can be used to invoke the compiler.

  Returns:
    If this is a gyp project that has explicit make settings, try to determine
    the compiler from that.  Otherwise, see if a compiler was specified via the
    CC_target environment variable.
Determine a command that can be used to invoke the compiler.
Determine a command that can be used to invoke the compiler .
def GetCompilerPath(target_list, target_dicts, data):
  """Determine a command that can be used to invoke the compiler.

  Returns:
    If this is a gyp project that has explicit make settings, try to determine
    the compiler from that.  Otherwise, see if a compiler was specified via the
    CC_target environment variable.
  """

  # First, see if the compiler is configured in make's settings.
  build_file, _, _ = gyp.common.ParseQualifiedTarget(target_list[0])
  make_global_settings_dict = data[build_file].get('make_global_settings', {})
  for key, value in make_global_settings_dict:
    if key in ['CC', 'CXX']:
      return value

  # Check to see if the compiler was specified as an environment variable.
  for key in ['CC_target', 'CC', 'CXX']:
    compiler = os.environ.get(key)
    if compiler:
      return compiler

  return 'gcc'
def GetCompilerPath ( target_list , target_dicts , data ) : # First, see if the compiler is configured in make's settings. build_file , _ , _ = gyp . common . ParseQualifiedTarget ( target_list [ 0 ] ) make_global_settings_dict = data [ build_file ] . get ( 'make_global_settings' , { } ) for key , value in make_global_settings_dict : if key in [ 'CC' , 'CXX' ] : return value # Check to see if the compiler was specified as an environment variable. for key in [ 'CC_target' , 'CC' , 'CXX' ] : compiler = os . environ . get ( key ) if compiler : return compiler return 'gcc'