third_party/android_deps/fetch_all.py
def ParseDeps(root_dir, libs_dir):
    """Parse an android_deps/libs and retrieve package information.

  Args:
    root_dir: Path to a root Chromium or build directory.
  Returns:
    A directory mapping package names to tuples of
    (cipd_yaml_file, package_name, package_tag), where |cipd_yaml_file|
    is the path to the cipd.yaml file, related to |libs_dir|,
    and |package_name| and |package_tag| are the extracted from it.
  """
    result = {}
    root_dir = os.path.abspath(root_dir)
    libs_dir = os.path.abspath(os.path.join(root_dir, libs_dir))
    for cipd_file in FindInDirectory(libs_dir, 'cipd.yaml'):
        pkg_name, pkg_tag = GetCipdPackageInfo(cipd_file)
        cipd_path = os.path.dirname(cipd_file)
        cipd_path = cipd_path[len(root_dir) + 1:]
        result[pkg_name] = CipdPackageInfo(cipd_path, pkg_name, pkg_tag)

    return result
Parse an android_deps/libs and retrieve package information.

  Args:
    root_dir: Path to a root Chromium or build directory.
  Returns:
    A directory mapping package names to tuples of
    (cipd_yaml_file, package_name, package_tag), where |cipd_yaml_file|
    is the path to the cipd.yaml file, related to |libs_dir|,
    and |package_name| and |package_tag| are the extracted from it.
  
Parse an android_deps/libs and retrieve package information.
Parse an android_deps / libs and retrieve package information .
def ParseDeps(root_dir, libs_dir):
    result = {}
    root_dir = os.path.abspath(root_dir)
    libs_dir = os.path.abspath(os.path.join(root_dir, libs_dir))
    for cipd_file in FindInDirectory(libs_dir, 'cipd.yaml'):
        pkg_name, pkg_tag = GetCipdPackageInfo(cipd_file)
        cipd_path = os.path.dirname(cipd_file)
        cipd_path = cipd_path[len(root_dir) + 1:]
        result[pkg_name] = CipdPackageInfo(cipd_path, pkg_name, pkg_tag)
    return result
def ParseDeps ( root_dir , libs_dir ) : result = { } root_dir = os . path . abspath ( root_dir ) libs_dir = os . path . abspath ( os . path . join ( root_dir , libs_dir ) ) for cipd_file in FindInDirectory ( libs_dir , 'cipd.yaml' ) : pkg_name , pkg_tag = GetCipdPackageInfo ( cipd_file ) cipd_path = os . path . dirname ( cipd_file ) cipd_path = cipd_path [ len ( root_dir ) + 1 : ] result [ pkg_name ] = CipdPackageInfo ( cipd_path , pkg_name , pkg_tag ) return result
Parse an android_deps/libs and retrieve package information.
Parse an android_deps / libs and retrieve package information .
"""Parse an android_deps/libs and retrieve package information.

  Args:
    root_dir: Path to a root Chromium or build directory.
  Returns:
    A directory mapping package names to tuples of
    (cipd_yaml_file, package_name, package_tag), where |cipd_yaml_file|
    is the path to the cipd.yaml file, related to |libs_dir|,
    and |package_name| and |package_tag| are the extracted from it.
  """
A directory mapping package names to tuples of
(cipd_yaml_file, package_name, package_tag), where |cipd_yaml_file|
is the path to the cipd.yaml file, related to |libs_dir|,
and |package_name| and |package_tag| are the extracted from it.
A directory mapping package names to tuples of ( cipd_yaml_file package_name package_tag ) where |cipd_yaml_file| is the path to the cipd . yaml file related to |libs_dir| and |package_name| and |package_tag| are the extracted from it .
root_dir
Path to a root Chromium or build directory.
Path to a root Chromium or build directory .
libs_dir