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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 } | 318 } |
319 | 319 |
320 dist_jar("libwebrtc") { | 320 dist_jar("libwebrtc") { |
321 _target_dir_name = get_label_info(":$target_name", "dir") | 321 _target_dir_name = get_label_info(":$target_name", "dir") |
322 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" | 322 output = "${root_out_dir}/lib.java${_target_dir_name}/${target_name}.jar" |
323 direct_deps_only = true | 323 direct_deps_only = true |
324 use_interface_jars = false | 324 use_interface_jars = false |
325 deps = [ | 325 deps = [ |
326 ":libjingle_peerconnection_java", | 326 ":libjingle_peerconnection_java", |
327 ":libjingle_peerconnection_metrics_default_java", | 327 ":libjingle_peerconnection_metrics_default_java", |
328 "//webrtc/base:base_java", | 328 "//webrtc/rtc_base:base_java", |
329 "//webrtc/modules/audio_device:audio_device_java", | 329 "//webrtc/modules/audio_device:audio_device_java", |
330 ] | 330 ] |
331 } | 331 } |
332 | 332 |
333 android_library("libjingle_peerconnection_java") { | 333 android_library("libjingle_peerconnection_java") { |
334 java_files = [ | 334 java_files = [ |
335 "api/org/webrtc/AudioSource.java", | 335 "api/org/webrtc/AudioSource.java", |
336 "api/org/webrtc/AudioTrack.java", | 336 "api/org/webrtc/AudioTrack.java", |
337 "api/org/webrtc/CallSessionFileRotatingLogSink.java", | 337 "api/org/webrtc/CallSessionFileRotatingLogSink.java", |
338 "api/org/webrtc/Camera1Capturer.java", | 338 "api/org/webrtc/Camera1Capturer.java", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 "src/java/org/webrtc/Histogram.java", | 407 "src/java/org/webrtc/Histogram.java", |
408 "src/java/org/webrtc/I420BufferImpl.java", | 408 "src/java/org/webrtc/I420BufferImpl.java", |
409 "src/java/org/webrtc/VideoDecoderWrapperCallback.java", | 409 "src/java/org/webrtc/VideoDecoderWrapperCallback.java", |
410 "src/java/org/webrtc/MediaCodecUtils.java", | 410 "src/java/org/webrtc/MediaCodecUtils.java", |
411 "src/java/org/webrtc/VideoCodecType.java", | 411 "src/java/org/webrtc/VideoCodecType.java", |
412 "src/java/org/webrtc/WrappedNativeI420Buffer.java", | 412 "src/java/org/webrtc/WrappedNativeI420Buffer.java", |
413 "src/java/org/webrtc/YuvConverter.java", | 413 "src/java/org/webrtc/YuvConverter.java", |
414 ] | 414 ] |
415 | 415 |
416 deps = [ | 416 deps = [ |
417 "//webrtc/base:base_java", | 417 "//webrtc/rtc_base:base_java", |
418 "//webrtc/modules/audio_device:audio_device_java", | 418 "//webrtc/modules/audio_device:audio_device_java", |
419 ] | 419 ] |
420 } | 420 } |
421 | 421 |
422 android_library("libjingle_peerconnection_metrics_default_java") { | 422 android_library("libjingle_peerconnection_metrics_default_java") { |
423 java_files = [ "api/org/webrtc/Metrics.java" ] | 423 java_files = [ "api/org/webrtc/Metrics.java" ] |
424 | 424 |
425 deps = [ | 425 deps = [ |
426 "//webrtc/base:base_java", | 426 "//webrtc/rtc_base:base_java", |
427 ] | 427 ] |
428 } | 428 } |
429 | 429 |
430 if (rtc_include_tests) { | 430 if (rtc_include_tests) { |
431 instrumentation_test_apk("libjingle_peerconnection_android_unittest") { | 431 instrumentation_test_apk("libjingle_peerconnection_android_unittest") { |
432 apk_name = "libjingle_peerconnection_android_unittest" | 432 apk_name = "libjingle_peerconnection_android_unittest" |
433 android_manifest = "instrumentationtests/AndroidManifest.xml" | 433 android_manifest = "instrumentationtests/AndroidManifest.xml" |
434 | 434 |
435 java_files = [ | 435 java_files = [ |
436 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.ja
va", | 436 "instrumentationtests/src/org/webrtc/Camera1CapturerUsingByteBufferTest.ja
va", |
(...skipping 18 matching lines...) Expand all Loading... |
455 data = [ | 455 data = [ |
456 "//webrtc/sdk/android/instrumentationtests/src/org/webrtc/capturetestvideo
.y4m", | 456 "//webrtc/sdk/android/instrumentationtests/src/org/webrtc/capturetestvideo
.y4m", |
457 ] | 457 ] |
458 | 458 |
459 deps = [ | 459 deps = [ |
460 "//base:base_java", | 460 "//base:base_java", |
461 "//base:base_java_test_support", | 461 "//base:base_java_test_support", |
462 "//third_party/android_support_test_runner:rules_java", | 462 "//third_party/android_support_test_runner:rules_java", |
463 "//third_party/android_support_test_runner:runner_java", | 463 "//third_party/android_support_test_runner:runner_java", |
464 "//third_party/junit", | 464 "//third_party/junit", |
465 "//webrtc/base:base_java", | 465 "//webrtc/rtc_base:base_java", |
466 "//webrtc/sdk/android:libjingle_peerconnection_java", | 466 "//webrtc/sdk/android:libjingle_peerconnection_java", |
467 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", | 467 "//webrtc/sdk/android:libjingle_peerconnection_metrics_default_java", |
468 ] | 468 ] |
469 | 469 |
470 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] | 470 shared_libraries = [ "//webrtc/sdk/android:libjingle_peerconnection_so" ] |
471 } | 471 } |
472 } | 472 } |
OLD | NEW |