Index: webrtc/sdk/android/BUILD.gn |
diff --git a/webrtc/sdk/android/BUILD.gn b/webrtc/sdk/android/BUILD.gn |
index cff8c21457c6a4dc27bd6136743130faaacccc39..2adcdb5c02bd91b94d72dfa16c3ce9d934217fe7 100644 |
--- a/webrtc/sdk/android/BUILD.gn |
+++ b/webrtc/sdk/android/BUILD.gn |
@@ -110,6 +110,19 @@ rtc_shared_library("libjingle_peerconnection_so") { |
output_extension = "so" |
} |
+dist_jar("libwebrtc") { |
+ _target_dir_name = get_label_info(":$target_name", "dir") |
+ output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" |
+ direct_deps_only = true |
+ use_interface_jars = false |
+ deps = [ |
+ ":libjingle_peerconnection_java", |
+ ":libjingle_peerconnection_metrics_default_java", |
+ "//webrtc/base:base_java", |
+ "//webrtc/modules/audio_device:audio_device_java", |
+ ] |
+} |
+ |
android_library("libjingle_peerconnection_java") { |
java_files = [ |
"api/org/webrtc/AudioSource.java", |
@@ -171,9 +184,8 @@ android_library("libjingle_peerconnection_java") { |
deps = [ |
"//webrtc/base:base_java", |
+ "//webrtc/modules/audio_device:audio_device_java", |
] |
- |
- srcjar_deps = [ "//webrtc/modules/audio_device:audio_device_java" ] |
} |
android_library("libjingle_peerconnection_metrics_default_java") { |