Rename rtc_instrumentation_test_apk targets to end with _test_apk.
This matches Chromium pattern of naming instrumentation test apks with
a name ending in _test_apk. The old naming confuses generate_gradle.py.
Renames:
- AppRTCMobileTest
-> AppRTCMobile_test_apk
- AppRTCMobileTestStubbedVideoIO
-> AppRTCMobile_stubbed_video_io_test_apk
- libjingle_peerconnection_android_unittest
-> android_instrumentation_test_apk
Bug: webrtc:9588
TBR: phoglund
Change-Id: Idb82dc4bd089bc7c90e9373f7c3d572f9fd2d95a
Reviewed-on: https://webrtc-review.googlesource.com/92380
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24184}
diff --git a/examples/androidtests/README b/examples/androidtests/README
index 49ae6c8..0701b0e 100644
--- a/examples/androidtests/README
+++ b/examples/androidtests/README
@@ -4,11 +4,11 @@
- Build Android AppRTCMobile and AppRTCMobile unit test:
cd <path/to/webrtc>/src
-ninja -C out/Debug AppRTCMobileTest
+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
\ No newline at end of file
+adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner
diff --git a/examples/androidtests/video_quality_loopback_test.py b/examples/androidtests/video_quality_loopback_test.py
index d5eb1e5..225f885 100755
--- a/examples/androidtests/video_quality_loopback_test.py
+++ b/examples/androidtests/video_quality_loopback_test.py
@@ -170,7 +170,7 @@
# Start loopback call and record video.
test_script = os.path.join(
- build_dir, 'bin', 'run_AppRTCMobileTestStubbedVideoIO')
+ build_dir, 'bin', 'run_AppRTCMobile_stubbed_video_io_test_apk')
_RunCommand([test_script, '--device', android_device,
'--num-retries', num_retries])