def get_chrome_deps(revision):
    # Currently works only with SVN up to Chrome revision 293233.
    base_url = "http://src.chromium.org/svn/trunk/src" \
               "/chrome/installer/linux/debian"
    url = base_url+"/expected_deps?p=%s" % revision
    contents = fetch_url(url)
    if not contents:
        url = base_url+"/expected_deps_x64?p=%s" % revision
        contents = fetch_url(url)
        if not contents:
            raise Exception("Failed fetching url: %s" % url)
    contents = contents.strip()
    deps = contents.splitlines()
    for i, dep in enumerate(deps):
        deps[i] = dep.strip()
    deps.sort(key = lambda s: s.lower());
    log("Found %d Chrome deps" % len(deps))
    print("-" * 80)
    print("\n".join(deps))
    print("-" * 80)
    return deps
dataset/ETHPy150Open cztomczak/cefpython/cefpython/cef3/linux/installer/find-deps.py/get_chrome_deps/original