问题:在使用gn gen out/Default编译webrtc源码时,出现了这行错误
原因:是因为在depot_tools下目录没有安装cipd
解决办法:
在depot_tools目录下输入以下命令,cipd需要sudo权限,建议给depot_tools加上777掩码,再执行以下命令:
ensure:可在depot_tools目录下输入cipd --help查看
-root:指定安装路径
-ensure-file:获得软件包安装信息
cipd ensure -root /home/xxx/depot_tools/ -ensure-file /home/xxx/depot_tools/cipd_manifest.txt