| 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 } | 307 } |
| 308 | 308 |
| 309 dist_jar("libwebrtc") { | 309 dist_jar("libwebrtc") { |
| 310 _target_dir_name = get_label_info(":$target_name", "dir") | 310 _target_dir_name = get_label_info(":$target_name", "dir") |
| 311 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" | 311 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" |
| 312 direct_deps_only = true | 312 direct_deps_only = true |
| 313 use_interface_jars = false | 313 use_interface_jars = false |
| 314 deps = [ | 314 deps = [ |
| 315 ":libjingle_peerconnection_java", | 315 ":libjingle_peerconnection_java", |
| 316 ":libjingle_peerconnection_metrics_default_java", | 316 ":libjingle_peerconnection_metrics_default_java", |
| 317 "//webrtc/base:base_java", | 317 "//webrtc/rtc_base:base_java", |
| 318 "//webrtc/modules/audio_device:audio_device_java", | 318 "//webrtc/modules/audio_device:audio_device_java", |
| 319 ] | 319 ] |
| 320 } | 320 } |
| 321 | 321 |
| 322 android_library("libjingle_peerconnection_java") { | 322 android_library("libjingle_peerconnection_java") { |
| 323 java_files = [ | 323 java_files = [ |
| 324 "api/org/webrtc/AudioSource.java", | 324 "api/org/webrtc/AudioSource.java", |
| 325 "api/org/webrtc/AudioTrack.java", | 325 "api/org/webrtc/AudioTrack.java", |
| 326 "api/org/webrtc/CallSessionFileRotatingLogSink.java", | 326 "api/org/webrtc/CallSessionFileRotatingLogSink.java", |
| 327 "api/org/webrtc/Camera1Capturer.java", | 327 "api/org/webrtc/Camera1Capturer.java", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 "src/java/org/webrtc/HardwareVideoEncoder.java", | 395 "src/java/org/webrtc/HardwareVideoEncoder.java", |
| 396 "src/java/org/webrtc/Histogram.java", | 396 "src/java/org/webrtc/Histogram.java", |
| 397 "src/java/org/webrtc/I420BufferImpl.java", | 397 "src/java/org/webrtc/I420BufferImpl.java", |
| 398 "src/java/org/webrtc/MediaCodecUtils.java", | 398 "src/java/org/webrtc/MediaCodecUtils.java", |
| 399 "src/java/org/webrtc/VideoCodecType.java", | 399 "src/java/org/webrtc/VideoCodecType.java", |
| 400 "src/java/org/webrtc/WrappedNativeI420Buffer.java", | 400 "src/java/org/webrtc/WrappedNativeI420Buffer.java", |
| 401 "src/java/org/webrtc/YuvConverter.java", | 401 "src/java/org/webrtc/YuvConverter.java", |
| 402 ] | 402 ] |
| 403 | 403 |
| 404 deps = [ | 404 deps = [ |
| 405 "//webrtc/base:base_java", | 405 "//webrtc/rtc_base:base_java", |
| 406 "//webrtc/modules/audio_device:audio_device_java", | 406 "//webrtc/modules/audio_device:audio_device_java", |
| 407 ] | 407 ] |
| 408 } | 408 } |
| 409 | 409 |
| 410 android_library("libjingle_peerconnection_metrics_default_java") { | 410 android_library("libjingle_peerconnection_metrics_default_java") { |
| 411 java_files = [ "api/org/webrtc/Metrics.java" ] | 411 java_files = [ "api/org/webrtc/Metrics.java" ] |
| 412 | 412 |
| 413 deps = [ | 413 deps = [ |
| 414 "//webrtc/base:base_java", | 414 "//webrtc/rtc_base:base_java", |
| 415 ] | 415 ] |
| 416 } | 416 } |
| 417 | 417 |
| 418 if (rtc_include_tests) { | 418 if (rtc_include_tests) { |
| 419 instrumentation_test_apk("libjingle_peerconnection_android_unittest") { | 419 instrumentation_test_apk("libjingle_peerconnection_android_unittest") { |
| 420 apk_name = "libjingle_peerconnection_android_unittest" | 420 apk_name = "libjingle_peerconnection_android_unittest" |
| 421 android_manifest = "instrumentationtests/AndroidManifest.xml" | 421 android_manifest = "instrumentationtests/AndroidManifest.xml" |
| 422 | 422 |
| 423 java_files = [ | 423 java_files = [ |
| 424 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.ja
va", | 424 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.ja
va", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 443 data = [ | 443 data = [ |
| 444 "//webrtc/sdk/android/instrumentationtests/src/org/webrtc/capturetestvideo
.y4m", | 444 "//webrtc/sdk/android/instrumentationtests/src/org/webrtc/capturetestvideo
.y4m", |
| 445 ] | 445 ] |
| 446 | 446 |
| 447 deps = [ | 447 deps = [ |
| 448 "//base:base_java", | 448 "//base:base_java", |
| 449 "//base:base_java_test_support", | 449 "//base:base_java_test_support", |
| 450 "//third_party/android_support_test_runner:rules_java", | 450 "//third_party/android_support_test_runner:rules_java", |
| 451 "//third_party/android_support_test_runner:runner_java", | 451 "//third_party/android_support_test_runner:runner_java", |
| 452 "//third_party/junit", | 452 "//third_party/junit", |
| 453 "//webrtc/base:base_java", | 453 "//webrtc/rtc_base:base_java", |
| 454 "//webrtc/sdk/android:libjingle_peerconnection_java", | 454 "//webrtc/sdk/android:libjingle_peerconnection_java", |
| 455 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", | 455 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", |
| 456 ] | 456 ] |
| 457 | 457 |
| 458 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] | 458 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] |
| 459 } | 459 } |
| 460 } | 460 } |
| OLD | NEW |