Linux平臺webrtc源碼下載和編譯

先安裝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

下載和編譯都能成功。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章