赞
踩
sudo apt-get update
sudo apt-get install -y git python2.7 python3 pkg-config g++ libnss3-dev libnspr4-dev libssl-dev libasound2-dev
cd ~
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
vi ~/.bashrc
# .bashrc末尾添加如下一行:
export PATH="$PATH:/home/ubuntu/depot_tools"
source ~/.bashrc
mkdir webrtc-checkout
cd webrtc-checkout
fetch --nohooks webrtc
gclient sync
cd src
./build/install-build-deps.sh
gn gen out/Default
gn gen out/Default --args='is_debug=false'
ninja -C out/Default
ninja -C out/Release
git pull
gclient sync
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。