summaryrefslogtreecommitdiffstats
path: root/media/capture.gypi
blob: 09f6fb9567cdc2e0d86914b568aa03e4d195cade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'defines': [
    'MEDIA_IMPLEMENTATION',
  ],
  'variables': {
    # GN version: //media/capture:capture
    'capture_sources': [
      'capture/content/animated_content_sampler.cc',
      'capture/content/animated_content_sampler.h',
      'capture/content/capture_resolution_chooser.cc',
      'capture/content/capture_resolution_chooser.h',
      'capture/content/feedback_signal_accumulator.cc',
      'capture/content/feedback_signal_accumulator.h',
      'capture/content/screen_capture_device_core.cc',
      'capture/content/screen_capture_device_core.h',
      'capture/content/thread_safe_capture_oracle.cc',
      'capture/content/thread_safe_capture_oracle.h',
      'capture/content/smooth_event_sampler.cc',
      'capture/content/smooth_event_sampler.h',
      'capture/content/video_capture_oracle.cc',
      'capture/content/video_capture_oracle.h',
      'capture/device_monitor_mac.h',
      'capture/device_monitor_mac.mm',
      'capture/system_message_window_win.cc',
      'capture/system_message_window_win.h',
      'capture/video/android/video_capture_device_android.cc',
      'capture/video/android/video_capture_device_android.h',
      'capture/video/android/video_capture_device_factory_android.cc',
      'capture/video/android/video_capture_device_factory_android.h',
      'capture/video/fake_video_capture_device.cc',
      'capture/video/fake_video_capture_device.h',
      'capture/video/fake_video_capture_device_factory.cc',
      'capture/video/fake_video_capture_device_factory.h',
      'capture/video/file_video_capture_device.cc',
      'capture/video/file_video_capture_device.h',
      'capture/video/file_video_capture_device_factory.cc',
      'capture/video/file_video_capture_device_factory.h',
      'capture/video/linux/v4l2_capture_delegate.cc',
      'capture/video/linux/v4l2_capture_delegate.h',
      'capture/video/linux/video_capture_device_chromeos.cc',
      'capture/video/linux/video_capture_device_chromeos.h',
      'capture/video/linux/video_capture_device_factory_linux.cc',
      'capture/video/linux/video_capture_device_factory_linux.h',
      'capture/video/linux/video_capture_device_linux.cc',
      'capture/video/linux/video_capture_device_linux.h',
      'capture/video/mac/platform_video_capturing_mac.h',
      'capture/video/mac/video_capture_device_avfoundation_mac.h',
      'capture/video/mac/video_capture_device_avfoundation_mac.mm',
      'capture/video/mac/video_capture_device_decklink_mac.h',
      'capture/video/mac/video_capture_device_decklink_mac.mm',
      'capture/video/mac/video_capture_device_factory_mac.h',
      'capture/video/mac/video_capture_device_factory_mac.mm',
      'capture/video/mac/video_capture_device_mac.h',
      'capture/video/mac/video_capture_device_mac.mm',
      'capture/video/mac/video_capture_device_qtkit_mac.h',
      'capture/video/mac/video_capture_device_qtkit_mac.mm',
      'capture/video/video_capture_device.cc',
      'capture/video/video_capture_device.h',
      'capture/video/video_capture_device_factory.cc',
      'capture/video/video_capture_device_factory.h',
      'capture/video/video_capture_device_info.cc',
      'capture/video/video_capture_device_info.h',
      'capture/video/win/capability_list_win.cc',
      'capture/video/win/capability_list_win.h',
      'capture/video/win/filter_base_win.cc',
      'capture/video/win/filter_base_win.h',
      'capture/video/win/pin_base_win.cc',
      'capture/video/win/pin_base_win.h',
      'capture/video/win/sink_filter_observer_win.h',
      'capture/video/win/sink_filter_win.cc',
      'capture/video/win/sink_filter_win.h',
      'capture/video/win/sink_input_pin_win.cc',
      'capture/video/win/sink_input_pin_win.h',
      'capture/video/win/video_capture_device_factory_win.cc',
      'capture/video/win/video_capture_device_factory_win.h',
      'capture/video/win/video_capture_device_mf_win.cc',
      'capture/video/win/video_capture_device_mf_win.h',
      'capture/video/win/video_capture_device_win.cc',
      'capture/video/win/video_capture_device_win.h'
    ],

    # GN version: //media/capture:unittests
    'capture_unittests_sources': [
      'capture/content/animated_content_sampler_unittest.cc',
      'capture/content/capture_resolution_chooser_unittest.cc',
      'capture/content/feedback_signal_accumulator_unittest.cc',
      'capture/content/smooth_event_sampler_unittest.cc',
      'capture/content/video_capture_oracle_unittest.cc',
      'capture/video/fake_video_capture_device_unittest.cc',
      'capture/video/mac/video_capture_device_factory_mac_unittest.mm',
      'capture/system_message_window_win_unittest.cc',
      'capture/video/video_capture_device_unittest.cc'
    ],

    # The following files lack appropriate platform suffixes.
    'conditions': [
      ['OS=="linux" and use_udev==1', {
        'capture_sources': [
          'capture/device_monitor_udev.cc',
          'capture/device_monitor_udev.h',
        ],
      }],
    ],
  },
}