tools/binary_size/diagnose_bloat.py
def ArchiveBuildResults(self, supersize_path, tool_prefix=None):
    """Save build artifacts necessary for diffing."""
    logging.info('Saving build results to: %s', self.dir)
    _EnsureDirsExist(self.dir)
    if self.build.IsAndroid():
      for path in self.build.abs_apk_paths:
        self._ArchiveFile(path)
      for path in self.build.abs_mapping_paths:
        self._ArchiveFile(path)
      self._ArchiveResourceSizes()
    self._ArchiveSizeFile(supersize_path, tool_prefix)
    if self._save_unstripped:
      self._ArchiveFile(self.build.abs_main_lib_path)
    self.metadata.Write()
    assert self.Exists()
Save build artifacts necessary for diffing.
Save build artifacts necessary for diffing.
Save build artifacts necessary for diffing .
def ArchiveBuildResults(self, supersize_path, tool_prefix=None):
    logging.info('Saving build results to: %s', self.dir)
    _EnsureDirsExist(self.dir)
    if self.build.IsAndroid():
      for path in self.build.abs_apk_paths:
        self._ArchiveFile(path)
      for path in self.build.abs_mapping_paths:
        self._ArchiveFile(path)
      self._ArchiveResourceSizes()
    self._ArchiveSizeFile(supersize_path, tool_prefix)
    if self._save_unstripped:
      self._ArchiveFile(self.build.abs_main_lib_path)
    self.metadata.Write()
    assert self.Exists()
def ArchiveBuildResults ( self , supersize_path , tool_prefix = None ) : logging . info ( 'Saving build results to: %s' , self . dir ) _EnsureDirsExist ( self . dir ) if self . build . IsAndroid ( ) : for path in self . build . abs_apk_paths : self . _ArchiveFile ( path ) for path in self . build . abs_mapping_paths : self . _ArchiveFile ( path ) self . _ArchiveResourceSizes ( ) self . _ArchiveSizeFile ( supersize_path , tool_prefix ) if self . _save_unstripped : self . _ArchiveFile ( self . build . abs_main_lib_path ) self . metadata . Write ( ) assert self . Exists ( )
Save build artifacts necessary for diffing.
Save build artifacts necessary for diffing .
"""Save build artifacts necessary for diffing."""
self
supersize_path
tool_prefix