Android 编译安装
-
安装depot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
-
depot_tools加入PATH
export PATH=`pwd`/depot_tools:"$PATH"
-
拉取代码
fetch --nohooks webrtc_android
gclient sync
-
ubuntu 安装依赖
sudo ./build/install-build-deps-android.sh
-
编译安装
gn gen out/Debug --args='target_os="android" target_cpu="arm"'
ninja -C out/Debug
网友评论