(self, flavor)
return self.type in ('shared_library', 'loadable_module')
Return true if the target should produce a restat rule based on a TOC
    file.
Return true if the target should produce a restat rule based on a TOC
    file.
Return true if the target should produce a restat rule based on a TOC file .
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')
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' )