tools/binary_size/generate_commit_size_analysis.py
def _generate_supersize_archive(supersize_input_file, make_chromium_output_path,
                                make_staging_path):
  """Creates a .size file for the given .apk or .minimal.apks"""
  subprocess.run([_CLANG_UPDATE_PATH, '--package=objdump'], check=True)
  supersize_input_path = make_chromium_output_path(supersize_input_file)
  size_path = make_staging_path(supersize_input_file) + '.size'

  supersize_script_path = os.path.join(_BINARY_SIZE_DIR, 'supersize')

  subprocess.run(
      [
          supersize_script_path,
          'archive',
          size_path,
          '-f',
          supersize_input_path,
          '-v',
      ],
      check=True,
  )
Creates a .size file for the given .apk or .minimal.apks
Creates a .size file for the given .apk or .minimal.apks
Creates a . size file for the given . apk or . minimal . apks
def _generate_supersize_archive(supersize_input_file, make_chromium_output_path,
                                make_staging_path):
  subprocess.run([_CLANG_UPDATE_PATH, '--package=objdump'], check=True)
  supersize_input_path = make_chromium_output_path(supersize_input_file)
  size_path = make_staging_path(supersize_input_file) + '.size'
  supersize_script_path = os.path.join(_BINARY_SIZE_DIR, 'supersize')
  subprocess.run(
      [
          supersize_script_path,
          'archive',
          size_path,
          '-f',
          supersize_input_path,
          '-v',
      ],
      check=True,
  )
def _generate_supersize_archive ( supersize_input_file , make_chromium_output_path , make_staging_path ) : subprocess . run ( [ _CLANG_UPDATE_PATH , '--package=objdump' ] , check = True ) supersize_input_path = make_chromium_output_path ( supersize_input_file ) size_path = make_staging_path ( supersize_input_file ) + '.size' supersize_script_path = os . path . join ( _BINARY_SIZE_DIR , 'supersize' ) subprocess . run ( [ supersize_script_path , 'archive' , size_path , '-f' , supersize_input_path , '-v' , ] , check = True , )
Creates a .size file for the given .apk or .minimal.apks
Creates a . size file for the given . apk or . minimal . apks
"""Creates a .size file for the given .apk or .minimal.apks"""
supersize_input_file
make_chromium_output_path
make_staging_path