chrome/android/features/create_stripped_java_factory.py
def _ParseImports(imports):
  """Returns dict mapping from type name to import path."""
  import_dict = {}
  for import_ in imports:
    if import_.static:
      continue
    assert not import_.wildcard
    name = import_.path.split('.')[-1]
    import_dict[name] = import_.path
  return import_dict
Returns dict mapping from type name to import path.
Returns dict mapping from type name to import path.
Returns dict mapping from type name to import path .
def _ParseImports(imports):
  import_dict = {}
  for import_ in imports:
    if import_.static:
      continue
    assert not import_.wildcard
    name = import_.path.split('.')[-1]
    import_dict[name] = import_.path
  return import_dict
def _ParseImports ( imports ) : import_dict = { } for import_ in imports : if import_ . static : continue assert not import_ . wildcard name = import_ . path . split ( '.' ) [ - 1 ] import_dict [ name ] = import_ . path return import_dict
Returns dict mapping from type name to import path.
Returns dict mapping from type name to import path .
"""Returns dict mapping from type name to import path."""
imports