Switch from junit_binary to robolectric_binary.

This was done in:
https://chromium-review.googlesource.com/c/chromium/src/+/3709093
https://chromium-review.googlesource.com/c/chromium/src/+/3732850

Bug: chromium:1336818, b/237612564
Change-Id: Ie1394ffa16a7c3322aa774e94aee93e6b1ac6ed6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267167
Reviewed-by: Andrey Logvin <landrey@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Andrey Logvin <landrey@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37376}
This commit is contained in:
Mirko Bonadei
2022-06-30 09:39:44 +02:00
committed by WebRTC LUCI CQ
parent d69a726989
commit 9ea1ef649f
2 changed files with 2 additions and 2 deletions

View File

@ -904,7 +904,7 @@ if (is_android) {
]
}
junit_binary("android_examples_junit_tests") {
robolectric_binary("android_examples_junit_tests") {
sources = [
"androidjunit/src/org/appspot/apprtc/BluetoothManagerTest.java",
"androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java",

View File

@ -1712,7 +1712,7 @@ if (is_android) {
jni_generator_include = "//sdk/android/src/jni/jni_generator_helper.h"
}
junit_binary("android_sdk_junit_tests") {
robolectric_binary("android_sdk_junit_tests") {
sources = [
"tests/src/org/webrtc/AndroidVideoDecoderTest.java",
"tests/src/org/webrtc/CameraEnumerationTest.java",