1、源码下载
fetch --nohooks webrtc
如果失败,直接执行gclient sync --nohooks进行同步
2、分支的切换
cd src
git checkout -b M120/6099 branch-heads/6099
注意:只是执行这步的话,经常会导致编译失败,因为WebRTC的版本不断更新变化,一些依赖库没有pull完整,所以需要执行以下指令
cd ..
gclient sync --nohooks
gclient runhooks
fetch --nohooks webrtc
如果失败,直接执行gclient sync --nohooks进行同步
cd src
git checkout -b M120/6099 branch-heads/6099
注意:只是执行这步的话,经常会导致编译失败,因为WebRTC的版本不断更新变化,一些依赖库没有pull完整,所以需要执行以下指令
cd ..
gclient sync --nohooks
gclient runhooks