Пример #1
0
def GetLastModified(self):
    """Get timestamp of this target."""
    stamp = files.GetLastModifiedUnder(self.src_dir)
    if self.project.library_dir is not None:
        stamp = max(stamp,
                    files.GetLastModifiedUnder(self.project.library_dir))
    return stamp
Пример #2
0
 def GetLastModified(self):
     """Get timestamp of this target."""
     stamp = files.GetLastModifiedUnder(self.src_dir)
     return stamp