Libwebrtc GYP generated Java files

From MozillaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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?