• Home
  • Raw
  • Download

Lines Matching +full:in +full:- +full:development

1 # WebRTC Android development
5 Android development is only supported on Linux.
7 1. Install [prerequisite software][webrtc-prerequisite-sw]
12 $ fetch --nohooks webrtc_android
16 This will fetch a regular WebRTC checkout with the Android-specific parts
19 The same checkout can be used for both Linux and Android development since you
20 can generate your [Ninja][ninja] project files in different directories for each
23 See [Development][webrtc-development] for instructions on how to update
35 $ gn gen out/Debug --args='target_os="android" target_cpu="arm"'
39 to enable managing multiple configurations in parallel.
42 * To build for 32-bit x86: use `target_cpu="x86"`
43 * To build for 64-bit x64: use `target_cpu="x64"`
48 $ autoninja -C out/Debug
51 (To list all available targets, run `autoninja -C out/Debug -t targets all`.)
56 In order to use the Android SDK and NDK that is bundled in
57 `third_party/android_tools`, run this to get it included in your `PATH` (from
64 Then you'll have `adb` and all the other Android tools in your `PATH`.
70 wrapper is documented [here][webrtc-jni-doc]).
73 [examples/androidapp/README][apprtc-doc].
85 $ autoninja -C out/Debug AppRTCMobile
91 $ build/android/gradle/generate_gradle.py --output-directory $PWD/out/Debug \
92 --target "//examples:AppRTCMobile" --use-gradle-process-resources \
93 --split-projects --canary
96 3. *Import* the project in Android Studio. (Do not just open it.) The project
97 is located in `out/Debug/gradle`. If asked which SDK to use, choose to use
108 still allows you to run the application on 64-bit ARM devices. x86-based devices
116 1. Ensure you have an Android device set in Developer mode connected via USB.
121 $ autoninja -C out/Debug android_instrumentation_test_apk
122 $ autoninja -C out/Debug rtc_unittests
125 3. You can find the generated test binaries in `out/Debug/bin`. To run instrumentation tests:
128 $ out/Debug/bin/run_android_instrumentation_test_apk -v
134 $ out/Debug/bin/run_rtc_unittests -v
137 Show verbose output with `-v` and filter tests with `--gtest-filter=SomeTest.*`. For example:
140 $ out/Debug/bin/run_android_instrumentation_test_apk -v \
141 --gtest_filter=VideoFrameBufferTest.*
144 For a full list of command line arguments, use `--help`.
151 Then use the scripts generated in `out/Release/bin` instead.
153 [webrtc-prerequisite-sw]: https://webrtc.googlesource.com/src/+/main/docs/native-code/development/p…
154 [webrtc-jni-doc]: https://webrtc.googlesource.com/src/+/main/sdk/android/README
155 [apprtc-doc]: https://webrtc.googlesource.com/src/+/main/examples/androidapp/README
156 [ninja]: https://ninja-build.org/
157 [prebuilt-libraries]: https://bintray.com/google/webrtc/google-webrtc
158 [webrtc-development]: https://webrtc.googlesource.com/src/+/main/docs/native-code/development/index…