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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 ] | 549 ] |
551 } | 550 } |
552 | 551 |
553 if (rtc_desktop_capture_supported) { | 552 if (rtc_desktop_capture_supported) { |
554 deps += [ "desktop_capture:desktop_capture_mock" ] | 553 deps += [ "desktop_capture:desktop_capture_mock" ] |
555 sources += [ | 554 sources += [ |
556 "desktop_capture/desktop_and_cursor_composer_unittest.cc", | 555 "desktop_capture/desktop_and_cursor_composer_unittest.cc", |
557 "desktop_capture/desktop_capturer_differ_wrapper_unittest.cc", | 556 "desktop_capture/desktop_capturer_differ_wrapper_unittest.cc", |
558 "desktop_capture/mouse_cursor_monitor_unittest.cc", | 557 "desktop_capture/mouse_cursor_monitor_unittest.cc", |
559 "desktop_capture/rgba_color_unittest.cc", | 558 "desktop_capture/rgba_color_unittest.cc", |
560 "desktop_capture/screen_capturer_differ_wrapper_unittest.cc", | |
561 "desktop_capture/screen_capturer_helper_unittest.cc", | 559 "desktop_capture/screen_capturer_helper_unittest.cc", |
562 "desktop_capture/screen_capturer_mac_unittest.cc", | 560 "desktop_capture/screen_capturer_mac_unittest.cc", |
563 "desktop_capture/screen_capturer_mock_objects.h", | 561 "desktop_capture/screen_capturer_mock_objects.h", |
564 "desktop_capture/screen_capturer_unittest.cc", | 562 "desktop_capture/screen_capturer_unittest.cc", |
565 "desktop_capture/win/cursor_unittest.cc", | 563 "desktop_capture/win/cursor_unittest.cc", |
566 "desktop_capture/win/cursor_unittest_resources.h", | 564 "desktop_capture/win/cursor_unittest_resources.h", |
567 "desktop_capture/win/cursor_unittest_resources.rc", | 565 "desktop_capture/win/cursor_unittest_resources.rc", |
568 "desktop_capture/window_capturer_unittest.cc", | 566 "desktop_capture/window_capturer_unittest.cc", |
569 ] | 567 ] |
570 } | 568 } |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 "../test:test_common", | 739 "../test:test_common", |
742 "../test:test_support_main", | 740 "../test:test_support_main", |
743 "remote_bitrate_estimator:bwe_simulator_lib", | 741 "remote_bitrate_estimator:bwe_simulator_lib", |
744 "video_capture", | 742 "video_capture", |
745 "//testing/gmock", | 743 "//testing/gmock", |
746 "//testing/gtest", | 744 "//testing/gtest", |
747 "//third_party/gflags", | 745 "//third_party/gflags", |
748 ] | 746 ] |
749 } | 747 } |
750 } | 748 } |
OLD | NEW |