File: BUILD.gn

package info (click to toggle)
chromium 138.0.7204.183-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,071,908 kB
  • sloc: cpp: 34,937,088; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,953; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,806; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (189 lines) | stat: -rw-r--r-- 6,573 bytes parent folder | download | duplicates (3)
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//third_party/blink/renderer/modules/modules.gni")

blink_modules_sources("mediastream") {
  sources = [
    "apply_constraints_processor.cc",
    "apply_constraints_processor.h",
    "apply_constraints_request.cc",
    "apply_constraints_request.h",
    "browser_capture_media_stream_track.cc",
    "browser_capture_media_stream_track.h",
    "capture_controller.cc",
    "capture_controller.h",
    "captured_mouse_event.cc",
    "captured_mouse_event.h",
    "crop_target.cc",
    "crop_target.h",
    "dom_window_media_stream.h",
    "identifiability_metrics.cc",
    "identifiability_metrics.h",
    "image_capture_device_settings.h",
    "input_device_info.cc",
    "input_device_info.h",
    "local_media_stream_audio_source.cc",
    "local_media_stream_audio_source.h",
    "local_video_capturer_source.cc",
    "local_video_capturer_source.h",
    "low_latency_video_renderer_algorithm.cc",
    "low_latency_video_renderer_algorithm.h",
    "media_constraints.cc",
    "media_constraints.h",
    "media_constraints_impl.cc",
    "media_constraints_impl.h",
    "media_device_info.cc",
    "media_device_info.h",
    "media_devices.cc",
    "media_devices.h",
    "media_stream.cc",
    "media_stream.h",
    "media_stream_audio_processor.cc",
    "media_stream_audio_processor.h",
    "media_stream_audio_renderer.h",
    "media_stream_constraints_util.cc",
    "media_stream_constraints_util.h",
    "media_stream_constraints_util_audio.cc",
    "media_stream_constraints_util_audio.h",
    "media_stream_constraints_util_sets.cc",
    "media_stream_constraints_util_sets.h",
    "media_stream_constraints_util_video_content.cc",
    "media_stream_constraints_util_video_content.h",
    "media_stream_constraints_util_video_device.cc",
    "media_stream_constraints_util_video_device.h",
    "media_stream_device_observer.cc",
    "media_stream_device_observer.h",
    "media_stream_event.cc",
    "media_stream_event.h",
    "media_stream_local_frame_wrapper.cc",
    "media_stream_local_frame_wrapper.h",
    "media_stream_renderer_factory.cc",
    "media_stream_renderer_factory.h",
    "media_stream_set.cc",
    "media_stream_set.h",
    "media_stream_track.cc",
    "media_stream_track.h",
    "media_stream_track_audio_stats.cc",
    "media_stream_track_audio_stats.h",
    "media_stream_track_content_hint.h",
    "media_stream_track_event.cc",
    "media_stream_track_event.h",
    "media_stream_track_impl.cc",
    "media_stream_track_impl.h",
    "media_stream_track_video_stats.cc",
    "media_stream_track_video_stats.h",
    "media_stream_utils.cc",
    "media_stream_utils.h",
    "media_stream_video_capturer_source.cc",
    "media_stream_video_capturer_source.h",
    "media_stream_video_renderer.h",
    "media_stream_video_renderer_sink.cc",
    "media_stream_video_renderer_sink.h",
    "media_stream_video_sink.cc",
    "media_stream_video_source.cc",
    "media_stream_video_track.cc",
    "media_stream_video_track.h",
    "navigator_media_stream.cc",
    "navigator_media_stream.h",
    "overconstrained_error.cc",
    "overconstrained_error.h",
    "processed_local_audio_source.cc",
    "processed_local_audio_source.h",
    "remote_media_stream_track_adapter.cc",
    "remote_media_stream_track_adapter.h",
    "restriction_target.cc",
    "restriction_target.h",
    "scoped_media_stream_tracer.cc",
    "scoped_media_stream_tracer.h",
    "screen_capture_media_stream_track.cc",
    "screen_capture_media_stream_track.h",
    "speech_recognition_media_stream_audio_sink.cc",
    "speech_recognition_media_stream_audio_sink.h",
    "sub_capture_target.cc",
    "sub_capture_target.h",
    "track_audio_renderer.cc",
    "track_audio_renderer.h",
    "transferred_media_stream_track.cc",
    "transferred_media_stream_track.h",
    "user_media_client.cc",
    "user_media_client.h",
    "user_media_processor.cc",
    "user_media_processor.h",
    "user_media_request.cc",
    "user_media_request.h",
    "video_renderer_algorithm_wrapper.cc",
    "video_renderer_algorithm_wrapper.h",
    "video_track_adapter.cc",
    "video_track_adapter.h",
    "video_track_adapter_settings.cc",
    "video_track_adapter_settings.h",
    "web_media_player_ms.cc",
    "web_media_player_ms_compositor.cc",
    "web_media_player_ms_compositor.h",
    "web_media_stream_device_observer.cc",
    "web_media_stream_utils.cc",
    "webaudio_media_stream_audio_sink.cc",
    "webaudio_media_stream_audio_sink.h",
  ]
  deps = [
    "//build:chromecast_buildflags",
    "//media/capture/mojom:image_capture_blink",
    "//media/webrtc",
    "//services/viz/public/cpp/gpu:gpu",
    "//third_party/blink/public/common",
    "//third_party/blink/renderer/modules/imagecapture:imagecapture",
    "//third_party/blink/renderer/modules/screen_details:screen_details",
    "//third_party/libyuv:libyuv",
  ]
  allow_circular_includes_from =
      [ "//third_party/blink/renderer/modules/imagecapture:imagecapture" ]

  public_deps = [ "//media/capture:capture_lib" ]
}

source_set("test_support") {
  testonly = true

  sources = [
    "media_permission_testing_platform.cc",
    "media_permission_testing_platform.h",
    "mock_constraint_factory.cc",
    "mock_constraint_factory.h",
    "mock_encoded_video_frame.h",
    "mock_media_stream_audio_sink.cc",
    "mock_media_stream_audio_sink.h",
    "mock_media_stream_registry.cc",
    "mock_media_stream_registry.h",
    "mock_media_stream_track.cc",
    "mock_media_stream_track.h",
    "mock_media_stream_video_sink.cc",
    "mock_media_stream_video_sink.h",
    "mock_media_stream_video_source.cc",
    "mock_media_stream_video_source.h",
    "mock_video_capturer_source.h",
    "test/fake_image_capturer.cc",
    "test/fake_image_capturer.h",
    "test/transfer_test_utils.cc",
    "test/transfer_test_utils.h",
    "testing_platform_support_with_mock_audio_capture_source.cc",
    "testing_platform_support_with_mock_audio_capture_source.h",
  ]

  deps = [
    "//base",
    "//base/test:test_support",
    "//media/capture/mojom:image_capture_blink",
    "//skia",
    "//testing/gmock",
    "//third_party/blink/public:test_headers",
    "//third_party/blink/public/mojom:mojom_platform_blink_headers",
    "//third_party/blink/renderer/modules:modules",
    "//third_party/webrtc_overrides:webrtc_component",
  ]

  public_deps = [ "//third_party/blink/renderer/platform:test_support" ]

  configs += [ "//third_party/blink/renderer:inside_blink" ]
}