编译最新版webrtc源码和编译好的整个项目10多个G【分享】
参考https://webrtc.org/native-code/development/编译最新版webrtc源码:
git clone https://chromium.googlesource.com/external/webrtc
gclient config https://chromium.googlesource.com/external/webrtc --name=src
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_MSVS_VERSION=2015
set GYP_GENERATORS=ninja,msvs-ninja
gclient sync
cd src
python webrtc/build/gyp_webrtc.py
上图哈:
注:
1.depot_tools的使用参考:https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart#markdown-header-windows-setup
2.webrtc官方源码我copy到github上了:https://github.com/JumpingYang001/webrtc
3.webrtc编译好的整个项目我传到百度云了:http://pan.baidu.com/s/1nuT0MV3 (注:由于刚压缩好在上传中,有10多G,请稍等,等上传完成后再下载)
------------------------ 2016-9-29加入安装depot_tools说明(红色字体:python和其他工具会在运行gclinet时自己下载安装) -----------------------------------------
Install depot_tools
Chromium and Chromium OS use a package of scripts called
depot_tools to manage checkouts and code reviews.
The depot_tools package includes
gclient ,
gcl ,
git-cl ,
repo , and others.
Installing on Linux and Mac
Installing on WindowsPreamble
Chromium is mostly designed to be run using the native Windows tools and the
Msys (Git for Windows) toolchain. Cygwin is not recommended, and likely things will fail in cryptic ways.
Instructions
depot_tools to the start (not end!) of your PATH:
gclient from the cmd shell. The first time it is run, it will install its own copy of various tools. If you run gclient from a non-cmd shell, it may appear to run properly, but python, and other tools may not get installed correctly (while it should work fine from a msys bash shell, you may still trip over bugs from time to time).
See also Howto: depot tools ------------------------2016-9-29加入安装depot_tools说明----------------------------------------- |