Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: media/capture/capture.gyp

Issue 2279593004: Delete gyp files from media/ (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/blink/media_blink.gyp ('k') | media/cast/cast.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 'capture_sources': [
9 'capture_export.h',
10 'content/animated_content_sampler.cc',
11 'content/animated_content_sampler.h',
12 'content/capture_resolution_chooser.cc',
13 'content/capture_resolution_chooser.h',
14 'content/screen_capture_device_core.cc',
15 'content/screen_capture_device_core.h',
16 'content/smooth_event_sampler.cc',
17 'content/smooth_event_sampler.h',
18 'content/thread_safe_capture_oracle.cc',
19 'content/thread_safe_capture_oracle.h',
20 'content/video_capture_oracle.cc',
21 'content/video_capture_oracle.h',
22 'device_monitor_mac.h',
23 'device_monitor_mac.mm',
24 'system_message_window_win.cc',
25 'system_message_window_win.h',
26 'video/android/video_capture_device_android.cc',
27 'video/android/video_capture_device_android.h',
28 'video/android/video_capture_device_factory_android.cc',
29 'video/android/video_capture_device_factory_android.h',
30 'video/fake_video_capture_device.cc',
31 'video/fake_video_capture_device.h',
32 'video/fake_video_capture_device_factory.cc',
33 'video/fake_video_capture_device_factory.h',
34 'video/file_video_capture_device.cc',
35 'video/file_video_capture_device.h',
36 'video/file_video_capture_device_factory.cc',
37 'video/file_video_capture_device_factory.h',
38 'video/linux/v4l2_capture_delegate.cc',
39 'video/linux/v4l2_capture_delegate.h',
40 'video/linux/video_capture_device_chromeos.cc',
41 'video/linux/video_capture_device_chromeos.h',
42 'video/linux/video_capture_device_factory_linux.cc',
43 'video/linux/video_capture_device_factory_linux.h',
44 'video/linux/video_capture_device_linux.cc',
45 'video/linux/video_capture_device_linux.h',
46 'video/mac/video_capture_device_avfoundation_mac.h',
47 'video/mac/video_capture_device_avfoundation_mac.mm',
48 'video/mac/video_capture_device_decklink_mac.h',
49 'video/mac/video_capture_device_decklink_mac.mm',
50 'video/mac/video_capture_device_factory_mac.h',
51 'video/mac/video_capture_device_factory_mac.mm',
52 'video/mac/video_capture_device_mac.h',
53 'video/mac/video_capture_device_mac.mm',
54 'video/scoped_result_callback.h',
55 'video/video_capture_device.cc',
56 'video/video_capture_device.h',
57 'video/video_capture_device_descriptor.cc',
58 'video/video_capture_device_descriptor.h',
59 'video/video_capture_device_factory.cc',
60 'video/video_capture_device_factory.h',
61 'video/win/capability_list_win.cc',
62 'video/win/capability_list_win.h',
63 'video/win/filter_base_win.cc',
64 'video/win/filter_base_win.h',
65 'video/win/pin_base_win.cc',
66 'video/win/pin_base_win.h',
67 'video/win/sink_filter_observer_win.h',
68 'video/win/sink_filter_win.cc',
69 'video/win/sink_filter_win.h',
70 'video/win/sink_input_pin_win.cc',
71 'video/win/sink_input_pin_win.h',
72 'video/win/video_capture_device_factory_win.cc',
73 'video/win/video_capture_device_factory_win.h',
74 'video/win/video_capture_device_mf_win.cc',
75 'video/win/video_capture_device_mf_win.h',
76 'video/win/video_capture_device_win.cc',
77 'video/win/video_capture_device_win.h'
78 ],
79
80 'capture_unittests_sources': [
81 'content/animated_content_sampler_unittest.cc',
82 'content/capture_resolution_chooser_unittest.cc',
83 'content/smooth_event_sampler_unittest.cc',
84 'content/video_capture_oracle_unittest.cc',
85 'system_message_window_win_unittest.cc',
86 'video/fake_video_capture_device_unittest.cc',
87 'video/mac/video_capture_device_factory_mac_unittest.mm',
88 'video/video_capture_device_unittest.cc'
89 ],
90
91 # The following files lack appropriate platform suffixes.
92 'conditions': [
93 ['OS=="linux" and use_udev==1', {
94 'capture_sources': [
95 'device_monitor_udev.cc',
96 'device_monitor_udev.h',
97 ],
98 }],
99 ],
100 },
101
102 'targets': [
103 {
104 # GN version: //media/capture
105 'target_name': 'capture',
106 'type': '<(component)',
107 'hard_dependency': 1,
108 'dependencies': [
109 '<(DEPTH)/base/base.gyp:base',
110 '<(DEPTH)/base/base.gyp:base_i18n',
111 '<(DEPTH)/media/media.gyp:media',
112 '<(DEPTH)/media/media.gyp:shared_memory_support', # For audio support.
113 '<(DEPTH)/media/mojo/interfaces/mojo_bindings.gyp:image_capture_mojo_bin dings',
114 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl',
115 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings',
116 '<(DEPTH)/skia/skia.gyp:skia',
117 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
118 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
119 ],
120 'defines': [
121 'CAPTURE_IMPLEMENTATION',
122 ],
123 'include_dirs': [
124 '<(DEPTH)/',
125 ],
126 'sources': [
127 '<@(capture_sources)'
128 ],
129 'conditions': [
130 ['OS=="android"', {
131 'dependencies': [
132 'capture_java',
133 '<(DEPTH)/media/capture/video/android'
134 ],
135 }],
136 ['OS=="mac"', {
137 'dependencies': [
138 '<(DEPTH)/third_party/decklink/decklink.gyp:decklink',
139 ],
140 }],
141 ['chromeos==1', {
142 'dependencies': [
143 '<(DEPTH)/ui/display/display.gyp:display',
144 ],
145 }],
146 ['OS=="linux" and use_udev==1', {
147 'dependencies': [
148 '<(DEPTH)/device/udev_linux/udev.gyp:udev_linux',
149 ],
150 }],
151 ['OS=="win"', {
152 'dependencies': [
153 '<(DEPTH)/media/media.gyp:mf_initializer',
154 ],
155 # TODO(jschuh): http://crbug.com/167187 fix size_t to int truncations.
156 'msvs_disabled_warnings': [ 4267, ],
157 }],
158 ],
159 },
160
161 {
162 # GN version: //media/capture:capture_unittests
163 'target_name': 'capture_unittests',
164 'type': '<(gtest_target_type)',
165 'include_dirs': [
166 '<(DEPTH)/',
167 ],
168 'dependencies': [
169 'capture',
170 '<(DEPTH)/base/base.gyp:base',
171 '<(DEPTH)/base/base.gyp:run_all_unittests',
172 '<(DEPTH)/media/media.gyp:media',
173 '<(DEPTH)/media/mojo/interfaces/mojo_bindings.gyp:image_capture_mojo_bin dings',
174 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl',
175 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings',
176 '<(DEPTH)/testing/gmock.gyp:gmock',
177 '<(DEPTH)/testing/gtest.gyp:gtest',
178 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
179 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
180 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_test_support',
181 ],
182 'sources': [
183 '<@(capture_unittests_sources)'
184 ],
185 'conditions': [
186 ['OS=="android"', {
187 'dependencies': [
188 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
189 ],
190 }],
191 ['OS=="win"', {
192 'dependencies': [
193 '<(DEPTH)/media/media.gyp:mf_initializer',
194 ],
195 # TODO(jschuh): http://crbug.com/167187 fix size_t to int truncations.
196 'msvs_disabled_warnings': [ 4267, ],
197 }],
198 ], # conditions
199 },
200 ],
201
202 'conditions': [
203
204 ['test_isolation_mode != "noop"', {
205 'targets': [
206 {
207 # There's no GN equivalent to this.
208 'target_name': 'capture_unittests_run',
209 'type': 'none',
210 'dependencies': [
211 'capture_unittests',
212 ],
213 'includes': [
214 '../../build/isolate.gypi',
215 ],
216 'sources': [
217 'capture_unittests.isolate',
218 ]
219 }
220 ]
221 }],
222
223 ['OS=="android"', {
224 'targets': [
225 {
226 'target_name': 'capture_java',
227 'type': 'none',
228 'dependencies': [
229 '/base/base.gyp:base',
230 'media_android_captureapitype',
231 'media_android_imageformat',
232 'video_capture_android_jni_headers',
233 ],
234 'export_dependent_settings': [
235 '../base/base.gyp:base',
236 ],
237 'variables': {
238 'java_in_dir': 'video/android/java',
239 },
240 'includes': ['../../build/java.gypi'],
241 },
242 {
243 'target_name': 'media_android_captureapitype',
244 'type': 'none',
245 'variables': {
246 'source_file': 'video/video_capture_device_descriptor.h',
247 },
248 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
249 },
250 {
251 'target_name': 'media_android_imageformat',
252 'type': 'none',
253 'variables': {
254 'source_file': 'video/android/video_capture_device_android.h',
255 },
256 'includes': [ '../../build/android/java_cpp_enum.gypi' ],
257 },
258 {
259 'target_name': 'video_capture_android_jni_headers',
260 'type': 'none',
261 'sources': [
262 'video/android/java/src/org/chromium/media/VideoCapture.java',
263 'video/android/java/src/org/chromium/media/VideoCaptureFactory.java' ,
264 ],
265 'variables': {
266 'jni_gen_package': 'media',
267 },
268 'includes': ['../../build/jni_generator.gypi'],
269 },
270
271 {
272 # There's no GN equivalent to this.
273 'target_name': 'capture_unittests_apk',
274 'type': 'none',
275 'dependencies': [
276 'capture_java',
277 'capture_unittests',
278 ],
279 'variables': {
280 'test_suite_name': 'capture_unittests',
281 },
282 'includes': ['../../build/apk_test.gypi'],
283 },
284 ],
285 'conditions': [
286 ['test_isolation_mode != "noop"', {
287 'targets': [
288 {
289 'target_name': 'capture_unittests_apk_run',
290 'type': 'none',
291 'dependencies': [
292 'capture_unittests_apk',
293 ],
294 'includes': [
295 '../../build/isolate.gypi',
296 ],
297 'sources': [
298 'capture_unittests_apk.isolate',
299 ],
300 },
301 ],
302 }],
303 ],
304
305 }],
306
307 ],
308 }
OLDNEW
« no previous file with comments | « media/blink/media_blink.gyp ('k') | media/cast/cast.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698