Chromium Code Reviews

Side by Side Diff: media/media.gyp

Issue 1301003: OpenBSD media/audio support (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« media/base/yuv_row.h ('K') | « media/base/yuv_row.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'player_x11_renderer%': 'x11', 8 'player_x11_renderer%': 'x11',
9 }, 9 },
10 'targets': [ 10 'targets': [
(...skipping 14 matching lines...)
25 'audio/audio_util.cc', 25 'audio/audio_util.cc',
26 'audio/audio_util.h', 26 'audio/audio_util.h',
27 'audio/fake_audio_output_stream.cc', 27 'audio/fake_audio_output_stream.cc',
28 'audio/fake_audio_output_stream.h', 28 'audio/fake_audio_output_stream.h',
29 'audio/linux/audio_manager_linux.cc', 29 'audio/linux/audio_manager_linux.cc',
30 'audio/linux/audio_manager_linux.h', 30 'audio/linux/audio_manager_linux.h',
31 'audio/linux/alsa_output.cc', 31 'audio/linux/alsa_output.cc',
32 'audio/linux/alsa_output.h', 32 'audio/linux/alsa_output.h',
33 'audio/linux/alsa_wrapper.cc', 33 'audio/linux/alsa_wrapper.cc',
34 'audio/linux/alsa_wrapper.h', 34 'audio/linux/alsa_wrapper.h',
35 'audio/openbsd/audio_manager_openbsd.cc',
36 'audio/openbsd/audio_manager_openbsd.h',
35 'audio/mac/audio_manager_mac.cc', 37 'audio/mac/audio_manager_mac.cc',
36 'audio/mac/audio_manager_mac.h', 38 'audio/mac/audio_manager_mac.h',
37 'audio/mac/audio_output_mac.cc', 39 'audio/mac/audio_output_mac.cc',
38 'audio/mac/audio_output_mac.h', 40 'audio/mac/audio_output_mac.h',
39 'audio/simple_sources.cc', 41 'audio/simple_sources.cc',
40 'audio/simple_sources.h', 42 'audio/simple_sources.h',
41 'audio/win/audio_manager_win.h', 43 'audio/win/audio_manager_win.h',
42 'audio/win/audio_output_win.cc', 44 'audio/win/audio_output_win.cc',
43 'audio/win/waveout_output_win.cc', 45 'audio/win/waveout_output_win.cc',
44 'audio/win/waveout_output_win.h', 46 'audio/win/waveout_output_win.h',
(...skipping 79 matching lines...)
124 'filters/video_decode_engine.h', 126 'filters/video_decode_engine.h',
125 'filters/video_renderer_base.cc', 127 'filters/video_renderer_base.cc',
126 'filters/video_renderer_base.h', 128 'filters/video_renderer_base.h',
127 ], 129 ],
128 'direct_dependent_settings': { 130 'direct_dependent_settings': {
129 'include_dirs': [ 131 'include_dirs': [
130 '..', 132 '..',
131 ], 133 ],
132 }, 134 },
133 'conditions': [ 135 'conditions': [
134 ['OS =="linux"', { 136 ['OS=="linux" or OS=="freebsd"', {
135 'link_settings': { 137 'link_settings': {
136 'libraries': [ 138 'libraries': [
137 '-lasound', 139 '-lasound',
138 ], 140 ],
139 }, 141 },
140 }], 142 }],
141 ['OS =="mac"', { 143 ['OS=="openbsd"', {
144 'sources/': [ ['exclude', 'alsa_' ],
145 ['exclude', 'audio_manager_linux' ],
146 ['exclude', '\\.mm?$' ] ],
147 'link_settings': {
148 'libraries': [
149 ],
150 },
151 }],
152 ['OS!="openbsd"', {
153 'sources!': [
154 'audio/openbsd/audio_manager_openbsd.cc',
155 'audio/openbsd/audio_manager_openbsd.h',
156 ],
157 }],
158 ['OS=="mac"', {
142 'link_settings': { 159 'link_settings': {
143 'libraries': [ 160 'libraries': [
144 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', 161 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
145 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', 162 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework',
146 ], 163 ],
147 }, 164 },
148 }], 165 }],
149 ], 166 ],
150 }, 167 },
151 { 168 {
(...skipping 44 matching lines...)
196 'filters/ffmpeg_video_decode_engine_unittest.cc', 213 'filters/ffmpeg_video_decode_engine_unittest.cc',
197 'filters/file_data_source_unittest.cc', 214 'filters/file_data_source_unittest.cc',
198 'filters/video_decoder_impl_unittest.cc', 215 'filters/video_decoder_impl_unittest.cc',
199 'filters/video_renderer_base_unittest.cc', 216 'filters/video_renderer_base_unittest.cc',
200 'omx/mock_omx.cc', 217 'omx/mock_omx.cc',
201 'omx/mock_omx.h', 218 'omx/mock_omx.h',
202 'omx/omx_codec_unittest.cc', 219 'omx/omx_codec_unittest.cc',
203 'omx/omx_input_buffer_unittest.cc', 220 'omx/omx_input_buffer_unittest.cc',
204 ], 221 ],
205 'conditions': [ 222 'conditions': [
206 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { 223 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
207 'dependencies': [ 224 'dependencies': [
208 # Needed for the following #include chain: 225 # Needed for the following #include chain:
209 # base/run_all_unittests.cc 226 # base/run_all_unittests.cc
210 # ../base/test_suite.h 227 # ../base/test_suite.h
211 # gtk/gtk.h 228 # gtk/gtk.h
212 '../build/linux/system.gyp:gtk', 229 '../build/linux/system.gyp:gtk',
213 ], 230 ],
214 'conditions': [ 231 'conditions': [
215 ['linux_use_tcmalloc==1', { 232 ['linux_use_tcmalloc==1', {
216 'dependencies': [ 233 'dependencies': [
(...skipping 68 matching lines...)
285 'target_name': 'omx_unittests', 302 'target_name': 'omx_unittests',
286 'type': 'executable', 303 'type': 'executable',
287 'dependencies': [ 304 'dependencies': [
288 'media', 305 'media',
289 'omx_wrapper', 306 'omx_wrapper',
290 '../base/base.gyp:base', 307 '../base/base.gyp:base',
291 '../base/base.gyp:base_i18n', 308 '../base/base.gyp:base_i18n',
292 '../testing/gtest.gyp:gtest', 309 '../testing/gtest.gyp:gtest',
293 ], 310 ],
294 'conditions': [ 311 'conditions': [
295 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { 312 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
296 'dependencies': [ 313 'dependencies': [
297 '../build/linux/system.gyp:gtk', 314 '../build/linux/system.gyp:gtk',
298 ], 315 ],
299 }], 316 }],
300 ], 317 ],
301 'sources': [ 318 'sources': [
302 'omx/omx_unittest.cc', 319 'omx/omx_unittest.cc',
303 'omx/run_all_unittests.cc', 320 'omx/run_all_unittests.cc',
304 ], 321 ],
305 }, 322 },
(...skipping 49 matching lines...)
355 'VCLinkerTool': { 372 'VCLinkerTool': {
356 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS 373 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
357 }, 374 },
358 }, 375 },
359 'defines': [ 376 'defines': [
360 '_CRT_SECURE_NO_WARNINGS=1', 377 '_CRT_SECURE_NO_WARNINGS=1',
361 ], 378 ],
362 }, 379 },
363 ], 380 ],
364 }], 381 }],
365 ['OS=="linux"', { 382 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
366 'targets': [ 383 'targets': [
367 { 384 {
368 'target_name': 'player_x11', 385 'target_name': 'player_x11',
369 'type': 'executable', 386 'type': 'executable',
370 'dependencies': [ 387 'dependencies': [
371 'media', 388 'media',
372 '../base/base.gyp:base', 389 '../base/base.gyp:base',
373 ], 390 ],
374 'link_settings': { 391 'link_settings': {
375 'libraries': [ 392 'libraries': [
(...skipping 46 matching lines...)
422 ], 439 ],
423 }], 440 }],
424 ], 441 ],
425 } 442 }
426 443
427 # Local Variables: 444 # Local Variables:
428 # tab-width:2 445 # tab-width:2
429 # indent-tabs-mode:nil 446 # indent-tabs-mode:nil
430 # End: 447 # End:
431 # vim: set expandtab tabstop=2 shiftwidth=2: 448 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« media/base/yuv_row.h ('K') | « media/base/yuv_row.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine