tools/binary_size/diagnose_bloat.py
def Run(self):
    """Run GN gen/ninja build and return the process returncode."""
    logging.info('Building %s within %s (this might take a while).',
                 self.target, os.path.relpath(self.output_directory))
    if self.clean:
      _RunCmd([_GN_PATH, 'clean', self.output_directory], cwd=_SRC_ROOT)
    retcode = _RunCmd(self._GenGnCmd(),
                      cwd=_SRC_ROOT,
                      verbose=True,
                      exit_on_failure=False)[1]
    if retcode:
      return retcode
    return _RunCmd(
        self._GenNinjaCmd(), verbose=True, exit_on_failure=False)[1]
Run GN gen/ninja build and return the process returncode.
Run GN gen/ninja build and return the process returncode.
Run GN gen / ninja build and return the process returncode .
def Run(self):
    logging.info('Building %s within %s (this might take a while).',
                 self.target, os.path.relpath(self.output_directory))
    if self.clean:
      _RunCmd([_GN_PATH, 'clean', self.output_directory], cwd=_SRC_ROOT)
    retcode = _RunCmd(self._GenGnCmd(),
                      cwd=_SRC_ROOT,
                      verbose=True,
                      exit_on_failure=False)[1]
    if retcode:
      return retcode
    return _RunCmd(
        self._GenNinjaCmd(), verbose=True, exit_on_failure=False)[1]
def Run ( self ) : logging . info ( 'Building %s within %s (this might take a while).' , self . target , os . path . relpath ( self . output_directory ) ) if self . clean : _RunCmd ( [ _GN_PATH , 'clean' , self . output_directory ] , cwd = _SRC_ROOT ) retcode = _RunCmd ( self . _GenGnCmd ( ) , cwd = _SRC_ROOT , verbose = True , exit_on_failure = False ) [ 1 ] if retcode : return retcode return _RunCmd ( self . _GenNinjaCmd ( ) , verbose = True , exit_on_failure = False ) [ 1 ]
Run GN gen/ninja build and return the process returncode.
Run GN gen / ninja build and return the process returncode .
"""Run GN gen/ninja build and return the process returncode."""
self