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