diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn index e3e92a1417..21d0fdb532 100644 --- a/webrtc/modules/BUILD.gn +++ b/webrtc/modules/BUILD.gn @@ -480,7 +480,10 @@ if (rtc_include_tests) { ] if (is_android) { - deps += [ "//testing/android/native_test:native_test_support" ] + deps += [ + "//testing/android/native_test:native_test_support", + "//webrtc/api:libjingle_peerconnection_java", + ] # Need to disable error due to the line in # base/android/jni_android.h triggering it: