编译webRTC

2017-08-30  本文已影响34人  Amy莫莫

1)解压
2)安装dpot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=pwd/depot_tools:"$PATH"
3)进入webrtc-ios目录
cd webrtc-ios
4)删除llvm目录,重新sync
rm -rf src/third_party/llvm-build/
gclient sync
gclient runhooks

5)编译
cd src
gn gen out/ios_64 --args='target_os="ios" target_cpu="arm64"'

ninja -C out/ios_64 AppRTCMobile

上一篇 下一篇

猜你喜欢

热点阅读