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

Side by Side Diff: media/media.gyp

Issue 8590045: Revert 110584 - Make pulseaudio available for all posix platforms and add support on OpenBSD. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « media/base/media_switches.cc ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 # Override to dynamically link the PulseAudio library. 8 # Override to dynamically link the PulseAudio library.
9 'use_pulseaudio%': 0, 9 'use_pulseaudio%': 0,
10 }, 10 },
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 'audio/linux/audio_manager_linux.cc', 56 'audio/linux/audio_manager_linux.cc',
57 'audio/linux/audio_manager_linux.h', 57 'audio/linux/audio_manager_linux.h',
58 'audio/linux/alsa_input.cc', 58 'audio/linux/alsa_input.cc',
59 'audio/linux/alsa_input.h', 59 'audio/linux/alsa_input.h',
60 'audio/linux/alsa_output.cc', 60 'audio/linux/alsa_output.cc',
61 'audio/linux/alsa_output.h', 61 'audio/linux/alsa_output.h',
62 'audio/linux/alsa_util.cc', 62 'audio/linux/alsa_util.cc',
63 'audio/linux/alsa_util.h', 63 'audio/linux/alsa_util.h',
64 'audio/linux/alsa_wrapper.cc', 64 'audio/linux/alsa_wrapper.cc',
65 'audio/linux/alsa_wrapper.h', 65 'audio/linux/alsa_wrapper.h',
66 'audio/linux/pulse_output.cc',
67 'audio/linux/pulse_output.h',
66 'audio/openbsd/audio_manager_openbsd.cc', 68 'audio/openbsd/audio_manager_openbsd.cc',
67 'audio/openbsd/audio_manager_openbsd.h', 69 'audio/openbsd/audio_manager_openbsd.h',
68 'audio/mac/audio_input_mac.cc', 70 'audio/mac/audio_input_mac.cc',
69 'audio/mac/audio_input_mac.h', 71 'audio/mac/audio_input_mac.h',
70 'audio/mac/audio_low_latency_input_mac.cc', 72 'audio/mac/audio_low_latency_input_mac.cc',
71 'audio/mac/audio_low_latency_input_mac.h', 73 'audio/mac/audio_low_latency_input_mac.h',
72 'audio/mac/audio_low_latency_output_mac.cc', 74 'audio/mac/audio_low_latency_output_mac.cc',
73 'audio/mac/audio_low_latency_output_mac.h', 75 'audio/mac/audio_low_latency_output_mac.h',
74 'audio/mac/audio_manager_mac.cc', 76 'audio/mac/audio_manager_mac.cc',
75 'audio/mac/audio_manager_mac.h', 77 'audio/mac/audio_manager_mac.h',
76 'audio/mac/audio_output_mac.cc', 78 'audio/mac/audio_output_mac.cc',
77 'audio/mac/audio_output_mac.h', 79 'audio/mac/audio_output_mac.h',
78 'audio/pulse/pulse_output.cc',
79 'audio/pulse/pulse_output.h',
80 'audio/simple_sources.cc', 80 'audio/simple_sources.cc',
81 'audio/simple_sources.h', 81 'audio/simple_sources.h',
82 'audio/win/audio_low_latency_input_win.cc', 82 'audio/win/audio_low_latency_input_win.cc',
83 'audio/win/audio_low_latency_input_win.h', 83 'audio/win/audio_low_latency_input_win.h',
84 'audio/win/audio_low_latency_output_win.cc', 84 'audio/win/audio_low_latency_output_win.cc',
85 'audio/win/audio_low_latency_output_win.h', 85 'audio/win/audio_low_latency_output_win.h',
86 'audio/win/audio_manager_win.cc', 86 'audio/win/audio_manager_win.cc',
87 'audio/win/audio_manager_win.h', 87 'audio/win/audio_manager_win.h',
88 'audio/win/avrt_wrapper_win.cc', 88 'audio/win/avrt_wrapper_win.cc',
89 'audio/win/avrt_wrapper_win.h', 89 'audio/win/avrt_wrapper_win.h',
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 'video/ffmpeg_video_decode_engine.cc', 292 'video/ffmpeg_video_decode_engine.cc',
293 'video/ffmpeg_video_decode_engine.h', 293 'video/ffmpeg_video_decode_engine.h',
294 ], 294 ],
295 }], 295 }],
296 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { 296 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', {
297 'link_settings': { 297 'link_settings': {
298 'libraries': [ 298 'libraries': [
299 '-lasound', 299 '-lasound',
300 ], 300 ],
301 }, 301 },
302 'conditions': [
303 ['OS=="linux"', {
304 'conditions': [
305 ['use_pulseaudio == 1', {
306 'link_settings': {
307 'libraries': [
308 '-lpulse',
309 ],
310 },
311 'defines': [
312 'USE_PULSEAUDIO',
313 ],
314 }, { # else: use_pulseaudio == 0
315 'sources!': [
316 'audio/linux/pulse_output.cc',
317 'audio/linux/pulse_output.h',
318 ],
319 }],
320 ],
321 }],
322 ],
302 }], 323 }],
303 ['OS=="openbsd"', { 324 ['OS=="openbsd"', {
304 'sources/': [ ['exclude', '/alsa_' ], 325 'sources/': [ ['exclude', '/alsa_' ],
305 ['exclude', '/audio_manager_linux' ] ], 326 ['exclude', '/audio_manager_linux' ],
327 ['exclude', '/pulse_' ] ],
306 'link_settings': { 328 'link_settings': {
307 'libraries': [ 329 'libraries': [
308 ], 330 ],
309 }, 331 },
310 }], 332 }],
311 ['OS!="openbsd"', { 333 ['OS!="openbsd"', {
312 'sources!': [ 334 'sources!': [
313 'audio/openbsd/audio_manager_openbsd.cc', 335 'audio/openbsd/audio_manager_openbsd.cc',
314 'audio/openbsd/audio_manager_openbsd.h', 336 'audio/openbsd/audio_manager_openbsd.h',
315 ], 337 ],
316 }], 338 }],
317 ['os_posix == 1', { 339 ['os_posix == 1', {
318 'conditions': [
319 ['use_pulseaudio == 1', {
320 'cflags': [
321 '<!@(pkg-config --cflags libpulse)',
322 ],
323 'link_settings': {
324 'libraries': [
325 '<!@(pkg-config --libs-only-l libpulse)',
326 ],
327 },
328 'defines': [
329 'USE_PULSEAUDIO',
330 ],
331 }, { # else: use_pulseaudio == 0
332 'sources!': [
333 'audio/pulse/pulse_output.cc',
334 'audio/pulse/pulse_output.h',
335 ],
336 }],
337 ],
338 'sources!': [ 340 'sources!': [
339 'video/capture/video_capture_device_dummy.cc', 341 'video/capture/video_capture_device_dummy.cc',
340 'video/capture/video_capture_device_dummy.h', 342 'video/capture/video_capture_device_dummy.h',
341 ], 343 ],
342 }], 344 }],
343 ['OS=="mac"', { 345 ['OS=="mac"', {
344 'link_settings': { 346 'link_settings': {
345 'libraries': [ 347 'libraries': [
346 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', 348 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
347 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', 349 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework',
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', 883 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
882 ], 884 ],
883 'sources': [ 885 'sources': [
884 'tools/media_bench/media_bench.cc', 886 'tools/media_bench/media_bench.cc',
885 ], 887 ],
886 }, 888 },
887 ], 889 ],
888 }] 890 }]
889 ], 891 ],
890 } 892 }
OLDNEW
« no previous file with comments | « media/base/media_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698