parameters: (filename,
                           allow_external_script=False,
                           rewrite_function=None,
                           filename_expansion_function=None)
docstring: For a grd file, returns a set of all the files that would be inline.
docstring_summary: For a grd file, returns a set of all the files that would be inline.
docstring_tokens: For a grd file returns a set of all the files that would be inline .
function: def GetResourceFilenames(filename,
                           allow_external_script=False,
                           rewrite_function=None,
                           filename_expansion_function=None):
    """For a grd file, returns a set of all the files that would be inline."""
    try:
      return DoInline(
          filename,
          None,
          names_only=True,
          preprocess_only=False,
          allow_external_script=allow_external_script,
          strip_whitespace=False,
          rewrite_function=rewrite_function,
          filename_expansion_function=filename_expansion_function).inlined_files
    except IOError, e:
      raise Exception("Failed to open %s while trying to flatten %s. (%s)" %
                      (e.filename, filename, e.strerror))
function_tokens: def GetResourceFilenames ( filename , allow_external_script = False , rewrite_function = None , filename_expansion_function = None ) : try : return DoInline ( filename , None , names_only = True , preprocess_only = False , allow_external_script = allow_external_script , strip_whitespace = False , rewrite_function = rewrite_function , filename_expansion_function = filename_expansion_function ) . inlined_files except IOError , e : raise Exception ( "Failed to open %s while trying to flatten %s. (%s)" % ( e . filename , filename , e . strerror ) )