OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//webrtc/build/webrtc.gni") | 9 import("//webrtc/build/webrtc.gni") |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 suppressed_configs += [ "//build/config/android:hide_native_jni_exports" ] | 103 suppressed_configs += [ "//build/config/android:hide_native_jni_exports" ] |
104 | 104 |
105 deps = [ | 105 deps = [ |
106 ":libjingle_peerconnection_jni", | 106 ":libjingle_peerconnection_jni", |
107 ":libjingle_peerconnection_metrics_default_jni", | 107 ":libjingle_peerconnection_metrics_default_jni", |
108 "//webrtc/api:libjingle_peerconnection", | 108 "//webrtc/api:libjingle_peerconnection", |
109 ] | 109 ] |
110 output_extension = "so" | 110 output_extension = "so" |
111 } | 111 } |
112 | 112 |
| 113 dist_jar("libjingle_peerconnection_jar") { |
| 114 direct_deps_only = true |
| 115 |
| 116 deps = [ |
| 117 ":libjingle_peerconnection_java", |
| 118 "//webrtc/base:base_java", |
| 119 ] |
| 120 |
| 121 output = "$target_out_dir/libjingle_peerconnection_java.jar" |
| 122 } |
| 123 |
113 android_library("libjingle_peerconnection_java") { | 124 android_library("libjingle_peerconnection_java") { |
114 java_files = [ | 125 java_files = [ |
115 "api/org/webrtc/AudioSource.java", | 126 "api/org/webrtc/AudioSource.java", |
116 "api/org/webrtc/AudioTrack.java", | 127 "api/org/webrtc/AudioTrack.java", |
117 "api/org/webrtc/CallSessionFileRotatingLogSink.java", | 128 "api/org/webrtc/CallSessionFileRotatingLogSink.java", |
118 "api/org/webrtc/Camera1Capturer.java", | 129 "api/org/webrtc/Camera1Capturer.java", |
119 "api/org/webrtc/Camera1Enumerator.java", | 130 "api/org/webrtc/Camera1Enumerator.java", |
120 "api/org/webrtc/Camera1Session.java", | 131 "api/org/webrtc/Camera1Session.java", |
121 "api/org/webrtc/Camera2Capturer.java", | 132 "api/org/webrtc/Camera2Capturer.java", |
122 "api/org/webrtc/Camera2Enumerator.java", | 133 "api/org/webrtc/Camera2Enumerator.java", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 deps = [ | 219 deps = [ |
209 "//base:base_java", | 220 "//base:base_java", |
210 "//webrtc/base:base_java", | 221 "//webrtc/base:base_java", |
211 "//webrtc/sdk/android:libjingle_peerconnection_java", | 222 "//webrtc/sdk/android:libjingle_peerconnection_java", |
212 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", | 223 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", |
213 ] | 224 ] |
214 | 225 |
215 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] | 226 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] |
216 } | 227 } |
217 } | 228 } |
OLD | NEW |