官网 下载webrtc需求软件准备

来源:互联网 发布:农村村淘宝服务站 编辑:程序博客网 时间:2024/06/06 12:55

Prerequisite software

Depot Tools

  1. You need to have the depot tools installed: See http://dev.chromium.org/developers/how-tos/install-depot-tools
  2. Git: On Windows it will install a special version of Git automatically on the first sync. On Mac and Linux, you need to install Git by yourself (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

To create 32-bit builds for Linux on a 64-bit system (not needed or Android builds):
lib32asound2-dev
lib32z1
lib32ncurses5
lib32bz2-1.0

Tips for other distributions are available on the Chromium page.

Windows

Follow Chromium's build instructions at: 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). So you don't need to install NDK/SDK separately.
  1. InstallChrome's Linux prerequisites
  2. Install depot_tools
  3. Install Java OpenJDK and the build dependencies as described atAndroid prerequisites
0 0
原创粉丝点击