Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: webrtc/modules/audio_device/BUILD.gn

Issue 2610823002: Fixing package-boundary violation with srjar_deps (Closed)
Patch Set: Addressing comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_device/BUILD.gn
diff --git a/webrtc/modules/audio_device/BUILD.gn b/webrtc/modules/audio_device/BUILD.gn
index 22941484b2df4dec5bdb5a17f7f7fd095e7141be..28a8a795b63bab76331707aeb8a1511fd5f87704 100644
--- a/webrtc/modules/audio_device/BUILD.gn
+++ b/webrtc/modules/audio_device/BUILD.gn
@@ -7,6 +7,8 @@
# be found in the AUTHORS file in the root of the source tree.
import("../../build/webrtc.gni")
+import("//build/config/android/config.gni")
+import("//build/config/android/rules.gni")
config("audio_device_config") {
include_dirs = [
@@ -296,3 +298,16 @@ if (rtc_include_tests && !is_ios) {
public_configs = [ ":audio_device_config" ]
}
}
+
+if (is_android) {
+ android_shared_srcjar("audio_device_java") {
+ sources = [
+ "android/java/src/org/webrtc/voiceengine/BuildInfo.java",
+ "android/java/src/org/webrtc/voiceengine/WebRtcAudioEffects.java",
+ "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
+ "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
+ "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
+ "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698