| 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("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 import("audio_coding/audio_coding.gni") | 10 import("audio_coding/audio_coding.gni") |
| 11 import("desktop_capture/desktop_capture.gni") | |
| 12 | 11 |
| 13 declare_args() { | 12 declare_args() { |
| 14 # Desktop capturer is supported only on Windows, OSX and Linux. | 13 # Desktop capturer is supported only on Windows, OSX and Linux. |
| 15 rtc_desktop_capture_supported = rtc_desktop_capture_supported | 14 rtc_desktop_capture_supported = is_win || is_mac || is_linux |
| 16 } | 15 } |
| 17 | 16 |
| 18 group("modules") { | 17 group("modules") { |
| 19 public_deps = [ | 18 public_deps = [ |
| 20 "audio_coding", | 19 "audio_coding", |
| 21 "audio_conference_mixer", | 20 "audio_conference_mixer", |
| 22 "audio_device", | 21 "audio_device", |
| 23 "audio_mixer", | 22 "audio_mixer", |
| 24 "audio_processing", | 23 "audio_processing", |
| 25 "bitrate_controller", | 24 "bitrate_controller", |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 "audio_coding/test/iSACTest.cc", | 95 "audio_coding/test/iSACTest.cc", |
| 97 "audio_coding/test/opus_test.cc", | 96 "audio_coding/test/opus_test.cc", |
| 98 "audio_coding/test/target_delay_unittest.cc", | 97 "audio_coding/test/target_delay_unittest.cc", |
| 99 "audio_coding/test/utility.cc", | 98 "audio_coding/test/utility.cc", |
| 100 "rtp_rtcp/test/testFec/test_fec.cc", | 99 "rtp_rtcp/test/testFec/test_fec.cc", |
| 101 "video_coding/codecs/test/videoprocessor_integrationtest.cc", | 100 "video_coding/codecs/test/videoprocessor_integrationtest.cc", |
| 102 "video_coding/codecs/vp8/test/vp8_impl_unittest.cc", | 101 "video_coding/codecs/vp8/test/vp8_impl_unittest.cc", |
| 103 ] | 102 ] |
| 104 | 103 |
| 105 if (rtc_desktop_capture_supported) { | 104 if (rtc_desktop_capture_supported) { |
| 106 deps += [ "desktop_capture:screen_drawer" ] | 105 deps += [ "desktop_capture:desktop_capture_test_tools" ] |
| 107 sources += [ | 106 sources += [ "desktop_capture/screen_capturer_integration_test.cc" ] |
| 108 "desktop_capture/screen_capturer_integration_test.cc", | |
| 109 "desktop_capture/screen_drawer_unittest.cc", | |
| 110 ] | |
| 111 } | 107 } |
| 112 | 108 |
| 113 data = modules_tests_resources | 109 data = modules_tests_resources |
| 114 | 110 |
| 115 if (is_android) { | 111 if (is_android) { |
| 116 deps += [ "//testing/android/native_test:native_test_native_code" ] | 112 deps += [ "//testing/android/native_test:native_test_native_code" ] |
| 117 shard_timeout = 900 | 113 shard_timeout = 900 |
| 118 } | 114 } |
| 119 | 115 |
| 120 if (is_ios) { | 116 if (is_ios) { |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 | 537 |
| 542 if (rtc_desktop_capture_supported || is_android) { | 538 if (rtc_desktop_capture_supported || is_android) { |
| 543 deps += [ "desktop_capture" ] | 539 deps += [ "desktop_capture" ] |
| 544 sources += [ | 540 sources += [ |
| 545 "desktop_capture/desktop_region_unittest.cc", | 541 "desktop_capture/desktop_region_unittest.cc", |
| 546 "desktop_capture/differ_block_unittest.cc", | 542 "desktop_capture/differ_block_unittest.cc", |
| 547 ] | 543 ] |
| 548 } | 544 } |
| 549 | 545 |
| 550 if (rtc_desktop_capture_supported) { | 546 if (rtc_desktop_capture_supported) { |
| 551 deps += [ "desktop_capture:desktop_capture_mock" ] | 547 deps += [ "desktop_capture:desktop_capture_test_tools" ] |
| 552 sources += [ | 548 sources += [ |
| 553 "desktop_capture/desktop_and_cursor_composer_unittest.cc", | 549 "desktop_capture/desktop_and_cursor_composer_unittest.cc", |
| 554 "desktop_capture/desktop_capturer_differ_wrapper_unittest.cc", | 550 "desktop_capture/desktop_frame_generator.cc", |
| 551 "desktop_capture/desktop_frame_generator.h", |
| 552 "desktop_capture/fake_desktop_capturer.h", |
| 553 "desktop_capture/fake_screen_capturer.cc", |
| 554 "desktop_capture/fake_screen_capturer.h", |
| 555 "desktop_capture/mouse_cursor_monitor_unittest.cc", | 555 "desktop_capture/mouse_cursor_monitor_unittest.cc", |
| 556 "desktop_capture/rgba_color_unittest.cc", | 556 "desktop_capture/rgba_color_unittest.cc", |
| 557 "desktop_capture/screen_capturer_differ_wrapper_unittest.cc", | 557 "desktop_capture/screen_capturer_differ_wrapper_unittest.cc", |
| 558 "desktop_capture/screen_capturer_helper_unittest.cc", | 558 "desktop_capture/screen_capturer_helper_unittest.cc", |
| 559 "desktop_capture/screen_capturer_mac_unittest.cc", | 559 "desktop_capture/screen_capturer_mac_unittest.cc", |
| 560 "desktop_capture/screen_capturer_mock_objects.h", | 560 "desktop_capture/screen_capturer_mock_objects.h", |
| 561 "desktop_capture/screen_capturer_unittest.cc", | 561 "desktop_capture/screen_capturer_unittest.cc", |
| 562 "desktop_capture/screen_drawer_unittest.cc", |
| 562 "desktop_capture/win/cursor_unittest.cc", | 563 "desktop_capture/win/cursor_unittest.cc", |
| 563 "desktop_capture/win/cursor_unittest_resources.h", | 564 "desktop_capture/win/cursor_unittest_resources.h", |
| 564 "desktop_capture/win/cursor_unittest_resources.rc", | 565 "desktop_capture/win/cursor_unittest_resources.rc", |
| 565 "desktop_capture/window_capturer_unittest.cc", | 566 "desktop_capture/window_capturer_unittest.cc", |
| 566 ] | 567 ] |
| 567 } | 568 } |
| 568 | 569 |
| 569 if (rtc_prefer_fixed_point) { | 570 if (rtc_prefer_fixed_point) { |
| 570 defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ] | 571 defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ] |
| 571 } else { | 572 } else { |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 "../test:test_common", | 742 "../test:test_common", |
| 742 "../test:test_support_main", | 743 "../test:test_support_main", |
| 743 "remote_bitrate_estimator:bwe_simulator_lib", | 744 "remote_bitrate_estimator:bwe_simulator_lib", |
| 744 "video_capture", | 745 "video_capture", |
| 745 "//testing/gmock", | 746 "//testing/gmock", |
| 746 "//testing/gtest", | 747 "//testing/gtest", |
| 747 "//third_party/gflags", | 748 "//third_party/gflags", |
| 748 ] | 749 ] |
| 749 } | 750 } |
| 750 } | 751 } |
| OLD | NEW |