Libwebrtc GYP generated Java files

From MozillaWiki
Jump to: navigation, search

Building on Ubuntu 20.04 LTS

See: https://webrtc.googlesource.com/src/+/main/docs/native-code/android/index.md

mkdir -p ~/dev/google
cd ~/dev/google/
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
cd depot_tools/
export PATH=`pwd`:$PATH
cd ~/dev/google/
mkdir webrtc_android
cd webrtc_android/
# Warning fetch takes a __long__ time
# This is much longer than fetch for the webrtc target
fetch --nohooks webrtc_android
gclient sync
cd src/build/
./install-build-deps-android.sh
cd ~/dev/google/webrtc_android/src/
OUTPUT_DIR=out/Debug
gn gen ${OUTPUT_DIR} --args='target_os="android" target_cpu="arm"'
autoninja -C out/Debug

Where do the generated files end up in the upstream libwebrtc build?

${OUTPUT_DIR}/gen/sdk/android/video_api_java/generated_java/input_srcjars/org/webrtc/

Which files are generated this way?