(self, path)
return self.RelPath(path, self.chromium_src_dir)
Returns a relative path from the top of the repo.
Returns a relative path from the top of the repo.
Returns a relative path from the top of the repo .
def ToSrcRelPath(self, path):
    """Returns a relative path from the top of the repo."""
    if path.startswith('//'):
      return path[2:].replace('/', self.sep)
    return self.RelPath(path, self.chromium_src_dir)
def ToSrcRelPath ( self , path ) : if path . startswith ( '//' ) : return path [ 2 : ] . replace ( '/' , self . sep ) return self . RelPath ( path , self . chromium_src_dir )