WebRTC 源码国内镜像

介绍

这是由声网 Agora 提供的 WebRTC 国内镜像源。你可以用它来替代 Google 官方版本。

项目起源

当需要下载 WebRTC 官方源码,编译需要的版本时,不仅需要下载很多相关依赖库,在目前的网络环境下,还可能会遇到下载缓慢,甚至下载失败的情况。更新一次 WebRTC,可能要用一周,甚至更久。更不要说,有些人可能都无法连接到 WebRTC 官方的服务器。

声网的 Web SDK 是基于 WebRTC 研发的,Web SDK 组的同事需要经常性地在本地部署和更新WebRTC,于是就是维护了这样一个镜像。现在,我们将它开放给社区的开发者们使用。

所以,在修改了几十个 WebRTC 官方下载脚本后,我们为国内的开发者们做了一份 WebRTC 镜像源。大家可以更快速地下载、编译 WebRTC,希望能让大家的开发变得更简单。

镜像说明

  • 支持编译版本包括:Linux、Android、iOS、Windows
  • 本镜像将根据官方版本动向,不定期更新

镜像地址

https://webrtc.org.cn/mirror/

配置与使用指南,也在该页面中,按照步骤操作即可。

如遇到问题,请在本主题下回帖留言。

1赞

为什么我下载下来的源码,出现这个编译错误,应该是build目录下缺少文件。

发一份上图截屏的文本给我

root@ubuntu:/home/skx/webrtc/src# cd $WORKSPACE/webrtc
root@ubuntu:/home/skx/webrtc# export PATH=$PATH:$WORKSPACE/depot_tools
root@ubuntu:/home/skx/webrtc# export CDS_CLANG_BUCKET_OVERRIDE=http://120.92.49.206:3232/chromiumsrc/commondatastorage/raw/master/public/chromium-browser-clang
root@ubuntu:/home/skx/webrtc# cd $WORKSPACE/webrtc && gclient sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab
/home/skx/depot_tools/update_depot_tools sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/gn/gn/linux-amd64@64b846c96daeb3eaf08e26d8a84d8451c6cb712b | tar -xzf - -C src/buildtools/linux64
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/gn/gn/linux-amd64@64b846c96daeb3eaf08e26d8a84d8451c6cb712b | tar -xzf - -C src/buildtools/linux64
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/swarming/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolated/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolate/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolate/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/swarming/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolated/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
Syncing projects: 100% (37/37), done.                                                 

________ running 'cipd ensure -log-level error -root /home/skx/webrtc -ensure-file /tmp/tmpw4UAfZ.ensure' in '.'
/home/skx/depot_tools/.cipd_client selfupdate -version-file /home/skx/depot_tools/cipd_client_version -service-url https://chrome-infra-packages.appspot.com
exec /home/skx/depot_tools/.cipd_client ensure -log-level error -root /home/skx/webrtc -ensure-file /tmp/tmpw4UAfZ.ensure
Running hooks:  50% (11/22) binutils     
________ running '/usr/bin/python src/third_party/binutils/download.py' in '/home/skx/webrtc'
curl -s http://120.92.49.206:3232/chromiumsrc/google-storage/raw/master/public/chromium-binutils/binutils.tar.bz2@69bedb1192a03126687f75cb6cf1717758a1a59f -o /home/skx/webrtc/src/third_party/binutils/Linux_x64/binutils.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Downloading /home/skx/webrtc/src/third_party/binutils/Linux_x64/binutils.tar.bz2
Extracting /home/skx/webrtc/src/third_party/binutils/Linux_x64/binutils.tar.bz2
Traceback (most recent call last):
  File "src/third_party/binutils/download.py", line 120, in <module>
    sys.exit(main(sys.argv[1:]))
  File "src/third_party/binutils/download.py", line 107, in main
    return FetchAndExtract(arch)
  File "src/third_party/binutils/download.py", line 82, in FetchAndExtract
    subprocess.check_call(['tar', 'axf', tarball], cwd=outdir)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['tar', 'axf', '/home/skx/webrtc/src/third_party/binutils/Linux_x64/binutils.tar.bz2']' returned non-zero exit status 2
Error: Command '/usr/bin/python src/third_party/binutils/download.py' returned non-zero exit status 1 in /home/skx/webrtc
root@ubuntu:/home/skx/webrtc# cd $WORKSPACE/webrtc/src
root@ubuntu:/home/skx/webrtc/src# gn gen android/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"arm64\""
ERROR at //build/timestamp.gni:31:19: Script returned non-zero exit code.
build_timestamp = exec_script(compute_build_timestamp,
                  ^----------
Current dir: /home/skx/webrtc/src/android/Release/
Command: python /home/skx/webrtc/src/build/compute_build_timestamp.py default
Returned 1.
stderr:

Traceback (most recent call last):
  File "/home/skx/webrtc/src/build/compute_build_timestamp.py", line 122, in <module>
    sys.exit(main())
  File "/home/skx/webrtc/src/build/compute_build_timestamp.py", line 106, in main
    last_commit_timestamp = int(open(lastchange_file).read())
IOError: [Errno 2] No such file or directory: '/home/skx/webrtc/src/build/util/LASTCHANGE.committime'

See //base/BUILD.gn:32:1: whence it was imported.
import("//build/timestamp.gni")
^-----------------------------
See //build/config/android/rules.gni:3557:9: which caused the file to be included.
        "//base:base_java",
        ^-----------------


我也是同样的问题,请问你解决了吗

没有呢~~正在看原因

是缺少一个文件,我们正在上传,好了告诉你

是缺少一个文件,我们正在上传,好了告诉你

搞定了,你们重新试试。

已经可以下载了,正常尝试编译,感谢大佬

是不是Android编译的ndk 和 sdk 没有链接?按照那个文档,行不通。需要我自己把那些下载到相应目录?

Linux的编译过了。


这两个步骤都跑了吗
第一个步骤是安卓必须的,不应该被注释掉,我们改一下文档。

我以为是注释,没有跑。跑了以后代码是拉下拉了。但编译的时候报错了。

root@ubuntu:/home/skx/webrtc# cd $WORKSPACE/webrtc/src
root@ubuntu:/home/skx/webrtc/src# gn gen android/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"arm64\""
Done. Made 4496 targets from 274 files in 19209ms
root@ubuntu:/home/skx/webrtc/src# ninja -C android/Release
ninja: Entering directory `android/Release'
[1/1] Regenerating ninja files
[1971/9675] ACTION //sdk/android:generated_external_classes_jni__jni_BigInteger(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/BigInteger_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/math/BigInteger.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1972/9675] ACTION //sdk/android:generated_external_classes_jni__jni_Double(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/Double_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/lang/Double.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1973/9675] ACTION //sdk/android:generated_external_classes_jni__jni_Iterable(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/Iterable_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/lang/Iterable.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1974/9675] ACTION //sdk/android:generated_external_classes_jni__jni_Enum(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/Enum_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/lang/Enum.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1975/9675] ACTION //sdk/android:generated_external_classes_jni__jni_Boolean(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/Boolean_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/lang/Boolean.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1976/9675] ACTION //sdk/android:generated_external_classes_jni__jni_ArrayList(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/ArrayList_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/util/ArrayList.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1977/9675] ACTION //sdk/android:generated_external_classes_jni__jni_Integer(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/Integer_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/lang/Integer.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1979/9675] ACTION //sdk/android:generated_external_classes_jni__jni_Iterator(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/Iterator_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/util/Iterator.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1980/9675] LINK clang_x64/ijar
ninja: build stopped: subcommand failed.

能确定少哪个文件吗?(OSError: [Errno 2] No such file or directory )

直接跑一下这个试试

python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/lang/Integer.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h

https://blog.csdn.net/tkd_540/article/details/89350934

python: can’t open file ‘…/…/base/android/jni_generator/jni_generator.py’: [Errno 2] No such file or directory

我们测试是没问题的,你把gclient sync 重新跑一下看看,或者重头跑一边。

好的,我再试下。

> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_deps/libs/net_sf_kxml_kxml2@2.3.0-cr0 | tar -xzf - -C src/third_party/android_deps/libs/net_sf_kxml_kxml2
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_deps/libs/com_google_dagger_dagger@2.17-cr0 | tar -xzf - -C src/third_party/android_deps/libs/com_google_dagger_dagger
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_deps/libs/com_google_dagger_dagger@2.17-cr0 | tar -xzf - -C src/third_party/android_deps/libs/com_google_dagger_dagger
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/patcher@I6FNMhrXlpB-E1lOhMlvld7xt9lBVNOO83KIluXDyA0C | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/patcher@I6FNMhrXlpB-E1lOhMlvld7xt9lBVNOO83KIluXDyA0C | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/platform-tools@4Y2Cb2LGzoc-qt-oIUIlhySotJaKeE3ELFedSVe6Uk8C | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/platform-tools@4Y2Cb2LGzoc-qt-oIUIlhySotJaKeE3ELFedSVe6Uk8C | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/sources@K9uEn3JvNELEVjjVK_GQD3ZQD3rqAnJSxCWxjmUmRkgC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/build-tools@DLK621q5_Bga5EsOr7cp6bHWWxFKx6UHLu_Ix_m3AckC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/sources@K9uEn3JvNELEVjjVK_GQD3ZQD3rqAnJSxCWxjmUmRkgC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_support_test_runner@96d4bf848cd210fdcbca6bcc8c1b4b39cbd93141 | tar -xzf - -C src/third_party/android_support_test_runner
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_support_test_runner@96d4bf848cd210fdcbca6bcc8c1b4b39cbd93141 | tar -xzf - -C src/third_party/android_support_test_runner
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/platforms@Kg2t9p0YnQk8bldUv4VA3o156uPXLUfIFAmVZ-Gm5ewC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/build-tools@DLK621q5_Bga5EsOr7cp6bHWWxFKx6UHLu_Ix_m3AckC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/androidx@BgU0HKOH7unGo87kXkIKJlPMmaSOCFhvUKcIr9aborwC | tar -xzf - -C src/third_party/androidx
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/androidx@BgU0HKOH7unGo87kXkIKJlPMmaSOCFhvUKcIr9aborwC | tar -xzf - -C src/third_party/androidx
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/apk-patch-size-estimator@b603e99dca9b90d6a99519c232cd811878283b08 | tar -xzf - -C src/third_party/apk-patch-size-estimator
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/apk-patch-size-estimator@b603e99dca9b90d6a99519c232cd811878283b08 | tar -xzf - -C src/third_party/apk-patch-size-estimator
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/tools-lint@89hXqZYzCum3delB5RV7J_QyWkaRodqdtQS0s3LMh3wC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/platforms@Kg2t9p0YnQk8bldUv4VA3o156uPXLUfIFAmVZ-Gm5ewC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/bazel@1794576f65a721eb0af320a0701e48d31f1b2415 | tar -xzf - -C src/third_party/bazel
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/bazel@1794576f65a721eb0af320a0701e48d31f1b2415 | tar -xzf - -C src/third_party/bazel
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/tools@wYcRQC2WHsw2dKWs4EA7fw9Qsyzu1ds1_fRjKmGxe5QC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/emulator@ki7EDQRAiZAUYlnTWR1XmI6cJTk65fJ-DNZUU1zrtS8C | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/bouncycastle@c078e87552ba26e776566fdaf0f22cd8712743d0 | tar -xzf - -C src/third_party/bouncycastle
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/bouncycastle@c078e87552ba26e776566fdaf0f22cd8712743d0 | tar -xzf - -C src/third_party/bouncycastle
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/byte_buddy@c9b53316603fc2d997c899c7ca1707f809b918cd | tar -xzf - -C src/third_party/byte_buddy
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/byte_buddy@c9b53316603fc2d997c899c7ca1707f809b918cd | tar -xzf - -C src/third_party/byte_buddy
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/espresso@c92dcfc4e894555a0b3c309f2b7939640eb1fee4 | tar -xzf - -C src/third_party/espresso
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/espresso@c92dcfc4e894555a0b3c309f2b7939640eb1fee4 | tar -xzf - -C src/third_party/espresso
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/google-truth@4d6fe892fc3150ab40ef1d619baf0038859eb6d2 | tar -xzf - -C src/third_party/google-truth
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/google-truth@4d6fe892fc3150ab40ef1d619baf0038859eb6d2 | tar -xzf - -C src/third_party/google-truth
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/gson@681931c9778045903a0ed59856ce2dd8dd7bf7ca | tar -xzf - -C src/third_party/gson
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/gson@681931c9778045903a0ed59856ce2dd8dd7bf7ca | tar -xzf - -C src/third_party/gson
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/hamcrest@37eccfc658fe79695d6abb6dd497463c4372032f | tar -xzf - -C src/third_party/hamcrest
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/hamcrest@37eccfc658fe79695d6abb6dd497463c4372032f | tar -xzf - -C src/third_party/hamcrest
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/guava@a6fba501f3a0de88b9be1daa2052632de5b96a46 | tar -xzf - -C src/third_party/guava
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/guava@a6fba501f3a0de88b9be1daa2052632de5b96a46 | tar -xzf - -C src/third_party/guava
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/icu4j@e87e5bed2b4935913ee26a3ebd0b723ee2344354 | tar -xzf - -C src/third_party/icu4j
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/icu4j@e87e5bed2b4935913ee26a3ebd0b723ee2344354 | tar -xzf - -C src/third_party/icu4j
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/intellij@77c2721b024b36ee073402c08e6d8428c0295336 | tar -xzf - -C src/third_party/intellij
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/intellij@77c2721b024b36ee073402c08e6d8428c0295336 | tar -xzf - -C src/third_party/intellij
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/objenesis@9e367f55e5a65781ee77bfcbaa88fb82b30e75c0 | tar -xzf - -C src/third_party/objenesis
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/objenesis@9e367f55e5a65781ee77bfcbaa88fb82b30e75c0 | tar -xzf - -C src/third_party/objenesis
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/ow2_asm@NNAhdJzMdnutUVqfSJm5v0tVazA9l3Dd6CRwH6N4Q5kC | tar -xzf - -C src/third_party/ow2_asm
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/ow2_asm@NNAhdJzMdnutUVqfSJm5v0tVazA9l3Dd6CRwH6N4Q5kC | tar -xzf - -C src/third_party/ow2_asm
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/proguard@3bd778c422ea5496de2ef25c007a517dbb5ce5ca | tar -xzf - -C src/third_party/proguard
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/proguard@3bd778c422ea5496de2ef25c007a517dbb5ce5ca | tar -xzf - -C src/third_party/proguard
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/r8@SlcbUnEufAQ-iuOwGOl8yYQuctmpf7bMqh59kBfpil0C | tar -xzf - -C src/third_party/r8
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/r8@SlcbUnEufAQ-iuOwGOl8yYQuctmpf7bMqh59kBfpil0C | tar -xzf - -C src/third_party/r8
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/robolectric@iRFT1e5YFmRn5cbV0cAkQ5vDUXFmQ4qPYqStmmDfiMMC | tar -xzf - -C src/third_party/robolectric
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/robolectric@iRFT1e5YFmRn5cbV0cAkQ5vDUXFmQ4qPYqStmmDfiMMC | tar -xzf - -C src/third_party/robolectric
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/sqlite4java@889660698187baa7c8b0d79f7bf58563125fbd66 | tar -xzf - -C src/third_party/sqlite4java
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/sqlite4java@889660698187baa7c8b0d79f7bf58563125fbd66 | tar -xzf - -C src/third_party/sqlite4java
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/xstream@4278b1b78b86ab7a1a29e64d5aec9a47a9aab0fe | tar -xzf - -C src/third_party/xstream
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/xstream@4278b1b78b86ab7a1a29e64d5aec9a47a9aab0fe | tar -xzf - -C src/third_party/xstream
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/tools-lint@89hXqZYzCum3delB5RV7J_QyWkaRodqdtQS0s3LMh3wC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/tools@wYcRQC2WHsw2dKWs4EA7fw9Qsyzu1ds1_fRjKmGxe5QC | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/emulator@ki7EDQRAiZAUYlnTWR1XmI6cJTk65fJ-DNZUU1zrtS8C | tar -xzf - -C src/third_party/android_sdk/public
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/extras@iIwhhDox5E-mHgwUhCz8JACWQCpUjdqt5KTY9VLugKQC | tar -xzf - -C src/third_party/android_sdk/public

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
> curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/chromium/third_party/android_sdk/public/extras@iIwhhDox5E-mHgwUhCz8JACWQCpUjdqt5KTY9VLugKQC | tar -xzf - -C src/third_party/android_sdk/public
Syncing projects: 100% (154/154), done.                                                                             

________ running 'cipd ensure -log-level error -root /home/skx/webrtc -ensure-file /tmp/tmpqA5LIo.ensure' in '.'
/home/skx/depot_tools/.cipd_client selfupdate -version-file /home/skx/depot_tools/cipd_client_version -service-url https://chrome-infra-packages.appspot.com
exec /home/skx/depot_tools/.cipd_client ensure -log-level error -root /home/skx/webrtc -ensure-file /tmp/tmpqA5LIo.ensure
Running hooks:  72% (16/22) clang_format_linux            
________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s src/buildtools/linux64/clang-format.sha1' in '/home/skx/webrtc'
curl -s http://120.92.49.206:3232/chromiumsrc/google-storage/raw/master/public/chromium-clang-format/linux/clang-format@942fc8b1789144b8071d3fc03ff0fcbe1cf81ac8 -o src/buildtools/linux64/clang-format
Running hooks:  90% (20/22) msan_chained_origins
________ running 'download_from_google_storage --no_resume --no_auth --bucket chromium-instrumented-libraries -s src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1' in '/home/skx/webrtc'
curl -s http://120.92.49.206:3232/chromiumsrc/google-storage/raw/master/public/chromium-instrumented-libraries/msan-chained-origins-trusty.tgz@0185d9b6c6fdfbcfffa61d8ac9f19e8879c4dee2 -o src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz
Running hooks:  95% (21/22) msan_no_origins     
________ running 'download_from_google_storage --no_resume --no_auth --bucket chromium-instrumented-libraries -s src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1' in '/home/skx/webrtc'
curl -s http://120.92.49.206:3232/chromiumsrc/google-storage/raw/master/public/chromium-instrumented-libraries/msan-no-origins-trusty.tgz@d429da145648e1795ad8b9005b219b8e6888b79f -o src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz
Hook 'download_from_google_storage --directory --recursive --num_threads=10 --no_auth --quiet --bucket chromium-webrtc-resources src/resources' took 45.04 secs
Running hooks: 100% (22/22), done.
root@ubuntu:/home/skx/webrtc# cd $WORKSPACE/webrtc/src
root@ubuntu:/home/skx/webrtc/src# gn gen android/Release "--args=is_debug=false target_os=\"android\" target_cpu=\"arm64\""
Done. Made 4496 targets from 274 files in 11039ms
root@ubuntu:/home/skx/webrtc/src# ninja -C android/Release
ninja: Entering directory `android/Release'
[1/1] Regenerating ninja files
[9/7644] ACTION //sdk/android:generated_external_classes_jni__jni_BigInteger(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/BigInteger_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/math/BigInteger.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[10/7644] ACTION //sdk/android:generated_external_classes_jni__jni_ArrayList(//build/toolchain/android:android_clang_arm64)
FAILED: gen/sdk/android/generated_external_classes_jni/jni/ArrayList_jni.h 
python ../../base/android/jni_generator/jni_generator.py --jar_file ../../third_party/android_sdk/public/platforms/android-28/android.jar --input_file java/util/ArrayList.class --ptr_type=long --output_dir gen/sdk/android/generated_external_classes_jni/jni --includes ../../../../../../../sdk/android/src/jni/jni_generator_helper.h
Traceback (most recent call last):
  File "../../base/android/jni_generator/jni_generator.py", line 1628, in <module>
    sys.exit(main(sys.argv))
  File "../../base/android/jni_generator/jni_generator.py", line 1624, in main
    GenerateJNIHeader(input_file, output_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 1532, in GenerateJNIHeader
    jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options)
  File "../../base/android/jni_generator/jni_generator.py", line 847, in CreateFromClass
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[18/7644] CXX obj/logging/rtc_event_log2_proto/rtc_event_log2.pb.o
ninja: build stopped: subcommand failed.