tools/code_coverage/coverage.py
def _GetBinaryPathsForAndroid(targets):
  """Return binary paths used when running android tests."""
  # TODO(crbug.com/899974): Implement approach that doesn't assume .so file is
  # based on the target's name.
  android_binaries = set()
  for target in targets:
    so_library_path = os.path.join(BUILD_DIR, 'lib.unstripped',
                                   'lib%s__library.so' % target)
    if os.path.exists(so_library_path):
      android_binaries.add(so_library_path)

  return list(android_binaries)
Return binary paths used when running android tests.
Return binary paths used when running android tests.
Return binary paths used when running android tests .
def _GetBinaryPathsForAndroid(targets):
  android_binaries = set()
  for target in targets:
    so_library_path = os.path.join(BUILD_DIR, 'lib.unstripped',
                                   'lib%s__library.so' % target)
    if os.path.exists(so_library_path):
      android_binaries.add(so_library_path)
  return list(android_binaries)
def _GetBinaryPathsForAndroid ( targets ) : android_binaries = set ( ) for target in targets : so_library_path = os . path . join ( BUILD_DIR , 'lib.unstripped' , 'lib%s__library.so' % target ) if os . path . exists ( so_library_path ) : android_binaries . add ( so_library_path ) return list ( android_binaries )
Return binary paths used when running android tests.
Return binary paths used when running android tests .
"""Return binary paths used when running android tests.""" # TODO(crbug.com/899974): Implement approach that doesn't assume .so file is # based on the target's name.
targets