Chromium Code Reviews| 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_java_with_deps") { | |
|
sakal
2017/01/18 13:21:44
Maybe a simpler name? I think this could even be c
mbonadei
2017/01/19 08:30:45
Yep, I agree.
I renamed the target to libwebrtc ev
sakal
2017/01/19 09:06:21
I think the surrounding target names have just som
| |
| 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", | |
|
sakal
2017/01/18 13:21:44
I think libjingle_peerconnection_metrics_default_j
mbonadei
2017/01/19 08:30:45
I see what you mean. I can include it but I have a
sakal
2017/01/19 09:06:21
The reason this target exists is to allow clients
mbonadei
2017/01/19 21:20:03
Ok, thanks for the explanation.
| |
| 120 "//webrtc/base:base_java", | |
| 121 "//webrtc/modules/audio_device:audio_device_java", | |
| 122 ] | |
| 123 } | |
| 124 | |
| 113 android_library("libjingle_peerconnection_java") { | 125 android_library("libjingle_peerconnection_java") { |
| 114 java_files = [ | 126 java_files = [ |
| 115 "api/org/webrtc/AudioSource.java", | 127 "api/org/webrtc/AudioSource.java", |
| 116 "api/org/webrtc/AudioTrack.java", | 128 "api/org/webrtc/AudioTrack.java", |
| 117 "api/org/webrtc/CallSessionFileRotatingLogSink.java", | 129 "api/org/webrtc/CallSessionFileRotatingLogSink.java", |
| 118 "api/org/webrtc/Camera1Capturer.java", | 130 "api/org/webrtc/Camera1Capturer.java", |
| 119 "api/org/webrtc/Camera1Enumerator.java", | 131 "api/org/webrtc/Camera1Enumerator.java", |
| 120 "api/org/webrtc/Camera1Session.java", | 132 "api/org/webrtc/Camera1Session.java", |
| 121 "api/org/webrtc/Camera2Capturer.java", | 133 "api/org/webrtc/Camera2Capturer.java", |
| 122 "api/org/webrtc/Camera2Enumerator.java", | 134 "api/org/webrtc/Camera2Enumerator.java", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 164 "api/org/webrtc/VideoFileRenderer.java", | 176 "api/org/webrtc/VideoFileRenderer.java", |
| 165 "api/org/webrtc/VideoRenderer.java", | 177 "api/org/webrtc/VideoRenderer.java", |
| 166 "api/org/webrtc/VideoRendererGui.java", | 178 "api/org/webrtc/VideoRendererGui.java", |
| 167 "api/org/webrtc/VideoSource.java", | 179 "api/org/webrtc/VideoSource.java", |
| 168 "api/org/webrtc/VideoTrack.java", | 180 "api/org/webrtc/VideoTrack.java", |
| 169 "api/org/webrtc/YuvConverter.java", | 181 "api/org/webrtc/YuvConverter.java", |
| 170 ] | 182 ] |
| 171 | 183 |
| 172 deps = [ | 184 deps = [ |
| 173 "//webrtc/base:base_java", | 185 "//webrtc/base:base_java", |
| 186 "//webrtc/modules/audio_device:audio_device_java", | |
| 174 ] | 187 ] |
| 175 | |
| 176 srcjar_deps = [ "//webrtc/modules/audio_device:audio_device_java" ] | |
| 177 } | 188 } |
| 178 | 189 |
| 179 android_library("libjingle_peerconnection_metrics_default_java") { | 190 android_library("libjingle_peerconnection_metrics_default_java") { |
| 180 java_files = [ "api/org/webrtc/Metrics.java" ] | 191 java_files = [ "api/org/webrtc/Metrics.java" ] |
| 181 | 192 |
| 182 deps = [ | 193 deps = [ |
| 183 "//webrtc/base:base_java", | 194 "//webrtc/base:base_java", |
| 184 ] | 195 ] |
| 185 } | 196 } |
| 186 | 197 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 218 "//third_party/android_support_test_runner:runner_java", | 229 "//third_party/android_support_test_runner:runner_java", |
| 219 "//third_party/junit", | 230 "//third_party/junit", |
| 220 "//webrtc/base:base_java", | 231 "//webrtc/base:base_java", |
| 221 "//webrtc/sdk/android:libjingle_peerconnection_java", | 232 "//webrtc/sdk/android:libjingle_peerconnection_java", |
| 222 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", | 233 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", |
| 223 ] | 234 ] |
| 224 | 235 |
| 225 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] | 236 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] |
| 226 } | 237 } |
| 227 } | 238 } |
| OLD | NEW |