webrtc编译过程

来源:互联网 发布:农村网络信息 编辑:程序博客网 时间:2024/06/06 08:14

1  $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

$ export PATH=`pwd`/depot_tools:"$PATH"

./build/install-build-deps.sh

4. build/android/envsetup.sh

5

fetch --nohooks webrtc_androidgclient sync

. build/android/envsetup.sh

6

gn gen out/Debug --args='target_os="android" target_cpu="arm"'

You can specify a directory of your own choice instead of out/Debug, to enable managing multiple configurations in parallel.

  • To build for ARM64: use target_cpu="arm64"
  • To build for 32-bit x86: use target_cpu="x86"
  • To build for 64-bit x64: use target_cpu="x64"

7

ninja -C out/Debug

0 0