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}
This commit is contained in:
Sami Kalliomäki
2018-08-03 13:23:05 +02:00
committed by Commit Bot
parent 0cbe05cc86
commit d54f5f5c76
6 changed files with 16 additions and 16 deletions

View File

@ -4,11 +4,11 @@ Example of building & using the app:
- 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
adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner

View File

@ -170,7 +170,7 @@ def RunTest(android_device, adb_path, build_dir, temp_dir, num_retries,
# 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])