先安裝depot_tools,這裏略去。
1、mkdir webrtc && cd webrtc
2、fetch --nohooks webrtc
3、gclient sync
4、./build/install-build-deps.sh
5、gn gen out/Default
6、ninja -C out/Default
------------------------------------------
網上說第2步使用:fetch --nohooks webrtc_android,但我這樣也行:fetch --nohooks webrtc
下載和編譯都能成功。