| 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("libwebrtc") { | |
| 114 _target_dir_name = get_label_info(":$target_name", "dir") | |
| 115 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" | |
| 116 direct_deps_only = true | |
| 117 use_interface_jars = false | |
| 118 deps = [ | |
| 119 ":libjingle_peerconnection_java", | |
| 120 ":libjingle_peerconnection_metrics_default_java", | |
| 121 "//webrtc/base:base_java", | |
| 122 "//webrtc/modules/audio_device:audio_device_java", | |
| 123 ] | |
| 124 } | |
| 125 | |
| 126 android_library("libjingle_peerconnection_java") { | 113 android_library("libjingle_peerconnection_java") { |
| 127 java_files = [ | 114 java_files = [ |
| 128 "api/org/webrtc/AudioSource.java", | 115 "api/org/webrtc/AudioSource.java", |
| 129 "api/org/webrtc/AudioTrack.java", | 116 "api/org/webrtc/AudioTrack.java", |
| 130 "api/org/webrtc/CallSessionFileRotatingLogSink.java", | 117 "api/org/webrtc/CallSessionFileRotatingLogSink.java", |
| 131 "api/org/webrtc/Camera1Capturer.java", | 118 "api/org/webrtc/Camera1Capturer.java", |
| 132 "api/org/webrtc/Camera1Enumerator.java", | 119 "api/org/webrtc/Camera1Enumerator.java", |
| 133 "api/org/webrtc/Camera1Session.java", | 120 "api/org/webrtc/Camera1Session.java", |
| 134 "api/org/webrtc/Camera2Capturer.java", | 121 "api/org/webrtc/Camera2Capturer.java", |
| 135 "api/org/webrtc/Camera2Enumerator.java", | 122 "api/org/webrtc/Camera2Enumerator.java", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 "api/org/webrtc/VideoFileRenderer.java", | 164 "api/org/webrtc/VideoFileRenderer.java", |
| 178 "api/org/webrtc/VideoRenderer.java", | 165 "api/org/webrtc/VideoRenderer.java", |
| 179 "api/org/webrtc/VideoRendererGui.java", | 166 "api/org/webrtc/VideoRendererGui.java", |
| 180 "api/org/webrtc/VideoSource.java", | 167 "api/org/webrtc/VideoSource.java", |
| 181 "api/org/webrtc/VideoTrack.java", | 168 "api/org/webrtc/VideoTrack.java", |
| 182 "api/org/webrtc/YuvConverter.java", | 169 "api/org/webrtc/YuvConverter.java", |
| 183 ] | 170 ] |
| 184 | 171 |
| 185 deps = [ | 172 deps = [ |
| 186 "//webrtc/base:base_java", | 173 "//webrtc/base:base_java", |
| 187 "//webrtc/modules/audio_device:audio_device_java", | |
| 188 ] | 174 ] |
| 175 |
| 176 srcjar_deps = [ "//webrtc/modules/audio_device:audio_device_java" ] |
| 189 } | 177 } |
| 190 | 178 |
| 191 android_library("libjingle_peerconnection_metrics_default_java") { | 179 android_library("libjingle_peerconnection_metrics_default_java") { |
| 192 java_files = [ "api/org/webrtc/Metrics.java" ] | 180 java_files = [ "api/org/webrtc/Metrics.java" ] |
| 193 | 181 |
| 194 deps = [ | 182 deps = [ |
| 195 "//webrtc/base:base_java", | 183 "//webrtc/base:base_java", |
| 196 ] | 184 ] |
| 197 } | 185 } |
| 198 | 186 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 "//third_party/android_support_test_runner:runner_java", | 218 "//third_party/android_support_test_runner:runner_java", |
| 231 "//third_party/junit", | 219 "//third_party/junit", |
| 232 "//webrtc/base:base_java", | 220 "//webrtc/base:base_java", |
| 233 "//webrtc/sdk/android:libjingle_peerconnection_java", | 221 "//webrtc/sdk/android:libjingle_peerconnection_java", |
| 234 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", | 222 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", |
| 235 ] | 223 ] |
| 236 | 224 |
| 237 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] | 225 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] |
| 238 } | 226 } |
| 239 } | 227 } |
| OLD | NEW |