'Return true if the target should produce a restat rule based on a TOC
file.'

def UsesToc(self, flavor):

    if ((flavor == 'win') or self.bundle):
        return False
    return (self.type in ('shared_library', 'loadable_module'))
