您的位置:首页 > 产品设计 > UI/UE

require for build webrtc

2014-07-09 15:58 155 查看

Depot Tools

1. You'll need to have the depot tools installed:
https://sites.google.com/a/chromium.org/dev/developers/how-tos/depottools

2. You need git installed (needed for getting WebM source):
http://git-scm.com/

Linux (Ubuntu/Debian)

This, and more, is described on the Chromium site:
http://code.google.com/p/chromium/wiki/LinuxBuildInstructions

A script is provided for Ubuntu, which is available after your first gclient sync:
$ ./build/install-build-deps.sh


Pulse Audio is missing from the script. On Ubuntu, this is provided by the libpulse-dev package.

Although the install-build-deps.sh script is the recommended method, it will install much more than you need. Here is a (hopefully complete) minimal list of packages to install (sudo apt-get install...):

g++ (>= 4.2)
python (>= 2.4)
libnss3-dev >= 3.12
libasound2-dev
libpulse-dev
libjpeg62-dev
libxv-dev
libgtk2.0-dev
libexpat1-dev

For 32-bit builds on a 64-bit system:
lib32asound2-dev
ia32-libs

Tips for other distributions are available on the Chromium page.

Windows

Follow step 1 in Chromium's build instructions: http://www.chromium.org/developers/how-tos/build-instructions-windows

OS X

XCode 3.0 or higher

Android

These instructions are tested on a Linux development machine.
In WebRTC, we're using the same Android toolchain as Chrome (the one that is downloaded into third_party/android_tools if you follow
AndroidBuildInstructions).
So you don't need to install NDK/SDK separately.

Install chrome prereq's
Install depot_tools
Install android-specific-prereqa
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: