summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/examples/androidtests/README
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/examples/androidtests/README')
-rw-r--r--third_party/libwebrtc/examples/androidtests/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/libwebrtc/examples/androidtests/README b/third_party/libwebrtc/examples/androidtests/README
new file mode 100644
index 0000000000..0701b0e896
--- /dev/null
+++ b/third_party/libwebrtc/examples/androidtests/README
@@ -0,0 +1,14 @@
+This directory contains an example unit test for Android AppRTCMobile.
+
+Example of building & using the app:
+
+- Build Android AppRTCMobile and AppRTCMobile unit test:
+cd <path/to/webrtc>/src
+ninja -C out/Debug AppRTCMobile_test_apk
+
+- Install AppRTCMobile and AppRTCMobileTest:
+adb install -r out/Debug/apks/AppRTCMobile.apk
+adb install -r out/Debug/apks/AppRTCMobileTest.apk
+
+- Run unit tests:
+adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner