Ubuntu 16.04下编译WebRTC

安装depot_tools

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

export PATH=$PATH:`pwd`/depot_tools

export GIT_SSL_NO_VERIFY=1

同步代码

mkdir webrtc-checkout
cd webrtc-checkout
fetch --nohooks webrtc
gclient sync

安装编译环境

./src/build/install-build-deps.sh

生成ninja项目文件夹

gn gen out/Default

编译

ninja -C out/Default   

猜你喜欢

转载自blog.csdn.net/qq_31231915/article/details/122580159