parameters: (self, flavor)
return_statement: return self.type in ('shared_library', 'loadable_module')
docstring: Return true if the target should produce a restat rule based on a TOC
      file.
docstring_summary: Return true if the target should produce a restat rule based on a TOC
      file.
docstring_tokens: Return true if the target should produce a restat rule based on a TOC file .
function: def UsesToc(self, flavor):
      """Return true if the target should produce a restat rule based on a TOC
      file."""
      # For bundles, the .TOC should be produced for the binary, not for
      # FinalOutput(). But the naive approach would put the TOC file into the
      # bundle, so don't do this for bundles for now.
      if flavor == 'win' or self.bundle:
        return False
      return self.type in ('shared_library', 'loadable_module')
function_tokens: def UsesToc ( self , flavor ) : # For bundles, the .TOC should be produced for the binary, not for # FinalOutput(). But the naive approach would put the TOC file into the # bundle, so don't do this for bundles for now. if flavor == 'win' or self . bundle : return False return self . type in ( 'shared_library' , 'loadable_module' )