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..571323a6272e37bf9edf0852cd51aaf00bc32a27 100644 |
--- a/webrtc/modules/audio_device/BUILD.gn |
+++ b/webrtc/modules/audio_device/BUILD.gn |
@@ -346,9 +346,9 @@ if (rtc_include_tests) { |
} |
} |
-if (!build_with_chromium && is_android) { |
kjellander_webrtc
2017/01/20 07:58:50
Why remove !build_with_chromium ? We don't want to
mbonadei
2017/01/20 09:30:37
Done, I don't exactly remember why I removed that.
|
- android_shared_srcjar("audio_device_java") { |
kjellander_webrtc
2017/01/20 07:58:50
Please remove the template from webrtc/build/webrt
mbonadei
2017/01/20 09:30:37
Done.
|
- sources = [ |
+if (is_android) { |
+ 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", |
+ ] |
} |
} |