parameters: (file_list, is_official_build=None)
return_statement: return values
docstring: Returns a dictionary of values to be used for substitution.
  
    Populates the dictionary with KEYWORD=VALUE settings from the files in
    'file_list'.
  
    Explicitly adds the following value from internal calculations:
  
      OFFICIAL_BUILD
docstring_summary: Returns a dictionary of values to be used for substitution.
docstring_tokens: Returns a dictionary of values to be used for substitution .
function: def FetchValues(file_list, is_official_build=None):
    """
    Returns a dictionary of values to be used for substitution.
  
    Populates the dictionary with KEYWORD=VALUE settings from the files in
    'file_list'.
  
    Explicitly adds the following value from internal calculations:
  
      OFFICIAL_BUILD
    """
    CHROME_BUILD_TYPE = os.environ.get('CHROME_BUILD_TYPE')
    if CHROME_BUILD_TYPE == '_official' or is_official_build:
      official_build = '1'
    else:
      official_build = '0'
  
    values = dict(
      OFFICIAL_BUILD = official_build,
    )
  
    for file_name in file_list:
      FetchValuesFromFile(values, file_name)
  
    script_dirname = os.path.dirname(os.path.realpath(__file__))
    lastchange_filename = os.path.join(script_dirname, "LASTCHANGE")
    lastchange_values = {}
    FetchValuesFromFile(lastchange_values, lastchange_filename)
  
    for placeholder_key, placeholder_value in values.items():
      values[placeholder_key] = SubstTemplate(placeholder_value,
                                              lastchange_values)
  
    return values
function_tokens: def FetchValues ( file_list , is_official_build = None ) : CHROME_BUILD_TYPE = os . environ . get ( 'CHROME_BUILD_TYPE' ) if CHROME_BUILD_TYPE == '_official' or is_official_build : official_build = '1' else : official_build = '0' values = dict ( OFFICIAL_BUILD = official_build , ) for file_name in file_list : FetchValuesFromFile ( values , file_name ) script_dirname = os . path . dirname ( os . path . realpath ( __file__ ) ) lastchange_filename = os . path . join ( script_dirname , "LASTCHANGE" ) lastchange_values = { } FetchValuesFromFile ( lastchange_values , lastchange_filename ) for placeholder_key , placeholder_value in values . items ( ) : values [ placeholder_key ] = SubstTemplate ( placeholder_value , lastchange_values ) return values