| 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/webrtc.gni") | 9 import("//webrtc/webrtc.gni") |
| 10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 rtc_static_library("media_jni") { | 176 rtc_static_library("media_jni") { |
| 177 sources = [ | 177 sources = [ |
| 178 "src/jni/media_jni.cc", | 178 "src/jni/media_jni.cc", |
| 179 ] | 179 ] |
| 180 | 180 |
| 181 deps = [ | 181 deps = [ |
| 182 ":base_jni", | 182 ":base_jni", |
| 183 "//webrtc/call:call_interfaces", | 183 "//webrtc/call:call_interfaces", |
| 184 "//webrtc/logging:rtc_event_log_api", | 184 "//webrtc/logging:rtc_event_log_api", |
| 185 "//webrtc/media:rtc_audio_video", | 185 "//webrtc/media:rtc_audio_video", |
| 186 "//webrtc/modules/audio_processing:audio_processing", |
| 186 ] | 187 ] |
| 187 | 188 |
| 188 if (is_clang) { | 189 if (is_clang) { |
| 189 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 190 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 190 suppressed_configs += [ | 191 suppressed_configs += [ |
| 191 "//build/config/clang:extra_warnings", | 192 "//build/config/clang:extra_warnings", |
| 192 "//build/config/clang:find_bad_constructs", | 193 "//build/config/clang:find_bad_constructs", |
| 193 ] | 194 ] |
| 194 } | 195 } |
| 195 } | 196 } |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 } | 319 } |
| 319 | 320 |
| 320 dist_jar("libwebrtc") { | 321 dist_jar("libwebrtc") { |
| 321 _target_dir_name = get_label_info(":$target_name", "dir") | 322 _target_dir_name = get_label_info(":$target_name", "dir") |
| 322 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" | 323 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" |
| 323 direct_deps_only = true | 324 direct_deps_only = true |
| 324 use_interface_jars = false | 325 use_interface_jars = false |
| 325 deps = [ | 326 deps = [ |
| 326 ":libjingle_peerconnection_java", | 327 ":libjingle_peerconnection_java", |
| 327 ":libjingle_peerconnection_metrics_default_java", | 328 ":libjingle_peerconnection_metrics_default_java", |
| 329 "//webrtc/modules/audio_device:audio_device_java", |
| 328 "//webrtc/rtc_base:base_java", | 330 "//webrtc/rtc_base:base_java", |
| 329 "//webrtc/modules/audio_device:audio_device_java", | |
| 330 ] | 331 ] |
| 331 } | 332 } |
| 332 | 333 |
| 333 android_library("libjingle_peerconnection_java") { | 334 android_library("libjingle_peerconnection_java") { |
| 334 java_files = [ | 335 java_files = [ |
| 335 "api/org/webrtc/AudioSource.java", | 336 "api/org/webrtc/AudioSource.java", |
| 336 "api/org/webrtc/AudioTrack.java", | 337 "api/org/webrtc/AudioTrack.java", |
| 337 "api/org/webrtc/CallSessionFileRotatingLogSink.java", | 338 "api/org/webrtc/CallSessionFileRotatingLogSink.java", |
| 338 "api/org/webrtc/Camera1Capturer.java", | 339 "api/org/webrtc/Camera1Capturer.java", |
| 339 "api/org/webrtc/Camera1Enumerator.java", | 340 "api/org/webrtc/Camera1Enumerator.java", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 "src/java/org/webrtc/Histogram.java", | 408 "src/java/org/webrtc/Histogram.java", |
| 408 "src/java/org/webrtc/I420BufferImpl.java", | 409 "src/java/org/webrtc/I420BufferImpl.java", |
| 409 "src/java/org/webrtc/VideoDecoderWrapperCallback.java", | 410 "src/java/org/webrtc/VideoDecoderWrapperCallback.java", |
| 410 "src/java/org/webrtc/MediaCodecUtils.java", | 411 "src/java/org/webrtc/MediaCodecUtils.java", |
| 411 "src/java/org/webrtc/VideoCodecType.java", | 412 "src/java/org/webrtc/VideoCodecType.java", |
| 412 "src/java/org/webrtc/WrappedNativeI420Buffer.java", | 413 "src/java/org/webrtc/WrappedNativeI420Buffer.java", |
| 413 "src/java/org/webrtc/YuvConverter.java", | 414 "src/java/org/webrtc/YuvConverter.java", |
| 414 ] | 415 ] |
| 415 | 416 |
| 416 deps = [ | 417 deps = [ |
| 418 "//webrtc/modules/audio_device:audio_device_java", |
| 417 "//webrtc/rtc_base:base_java", | 419 "//webrtc/rtc_base:base_java", |
| 418 "//webrtc/modules/audio_device:audio_device_java", | |
| 419 ] | 420 ] |
| 420 } | 421 } |
| 421 | 422 |
| 422 android_library("libjingle_peerconnection_metrics_default_java") { | 423 android_library("libjingle_peerconnection_metrics_default_java") { |
| 423 java_files = [ "api/org/webrtc/Metrics.java" ] | 424 java_files = [ "api/org/webrtc/Metrics.java" ] |
| 424 | 425 |
| 425 deps = [ | 426 deps = [ |
| 426 "//webrtc/rtc_base:base_java", | 427 "//webrtc/rtc_base:base_java", |
| 427 ] | 428 ] |
| 428 } | 429 } |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 "//third_party/android_support_test_runner:runner_java", | 464 "//third_party/android_support_test_runner:runner_java", |
| 464 "//third_party/junit", | 465 "//third_party/junit", |
| 465 "//webrtc/rtc_base:base_java", | 466 "//webrtc/rtc_base:base_java", |
| 466 "//webrtc/sdk/android:libjingle_peerconnection_java", | 467 "//webrtc/sdk/android:libjingle_peerconnection_java", |
| 467 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", | 468 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", |
| 468 ] | 469 ] |
| 469 | 470 |
| 470 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] | 471 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] |
| 471 } | 472 } |
| 472 } | 473 } |
| OLD | NEW |