Use WebRTC's Java VM initialization in tests.
WebRTC should not depend on chromium's //base. Bug: webrtc:13662 Change-Id: Ie660aa0f2477cc747830bba611aa23ed5e732385 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256364 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Xavier Lepaul <xalep@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36581}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
b1dc4e43f0
commit
0c68a7aaa7
@ -1543,7 +1543,12 @@ if (rtc_include_tests) {
|
||||
data = audio_decoder_unittests_resources
|
||||
|
||||
if (is_android) {
|
||||
deps += [ "//testing/android/native_test:native_test_native_code" ]
|
||||
use_default_launcher = false
|
||||
deps += [
|
||||
"//build/android/gtest_apk:native_test_instrumentation_test_runner_java",
|
||||
"//testing/android/native_test:native_test_java",
|
||||
"//testing/android/native_test:native_test_support",
|
||||
]
|
||||
shard_timeout = 900
|
||||
}
|
||||
if (is_ios) {
|
||||
@ -1634,7 +1639,12 @@ if (rtc_include_tests) {
|
||||
data = audio_codec_speed_tests_resources
|
||||
|
||||
if (is_android) {
|
||||
deps += [ "//testing/android/native_test:native_test_native_code" ]
|
||||
use_default_launcher = false
|
||||
deps += [
|
||||
"//build/android/gtest_apk:native_test_instrumentation_test_runner_java",
|
||||
"//testing/android/native_test:native_test_java",
|
||||
"//testing/android/native_test:native_test_support",
|
||||
]
|
||||
shard_timeout = 900
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user