Index: webrtc/modules/BUILD.gn |
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn |
index dd8e54b68bd376aa8dc4fa8282a8e15bb7f49f99..ead7855755ee43e4becf87f6c3e8191c9d0eddcd 100644 |
--- a/webrtc/modules/BUILD.gn |
+++ b/webrtc/modules/BUILD.gn |
@@ -77,7 +77,13 @@ if (rtc_include_tests) { |
data = modules_tests_resources |
if (is_android) { |
- deps += [ "//testing/android/native_test:native_test_native_code" ] |
+ deps += [ |
+ # NOTE(brandtr): Including Java classes seems only to be possible from |
+ # rtc_test targets. Therefore we include this target here, instead of |
+ # in video_coding_modules_tests, where it is actually used. |
+ "../sdk/android:libjingle_peerconnection_java", |
+ "//testing/android/native_test:native_test_native_code", |
+ ] |
shard_timeout = 900 |
} |