Index: webrtc/modules/audio_device/BUILD.gn |
diff --git a/webrtc/modules/audio_device/BUILD.gn b/webrtc/modules/audio_device/BUILD.gn |
index e2b510cd7203f1df956f2d9a81d06fef30361014..4dc676014410a71ed5ac0ee2b6358112fc69751e 100644 |
--- a/webrtc/modules/audio_device/BUILD.gn |
+++ b/webrtc/modules/audio_device/BUILD.gn |
@@ -347,8 +347,8 @@ if (rtc_include_tests) { |
} |
if (!build_with_chromium && is_android) { |
- android_shared_srcjar("audio_device_java") { |
- sources = [ |
+ android_library("audio_device_java") { |
+ java_files = [ |
"android/java/src/org/webrtc/voiceengine/BuildInfo.java", |
"android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java", |
"android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", |
@@ -356,5 +356,8 @@ if (!build_with_chromium && is_android) { |
"android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", |
"android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", |
] |
+ deps = [ |
+ "//webrtc/base:base_java", |
+ ] |
} |
} |