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

Side by Side Diff: media/media.gyp

Issue 7473021: PulseAudio Sound Playback on Linux (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: "New buffering scheme, per offline with vrk" Created 9 years, 4 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 | Annotate | Revision Log
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.
9 'use_pulseaudio%': 0,
8 }, 10 },
9 'targets': [ 11 'targets': [
10 { 12 {
11 'target_name': 'media', 13 'target_name': 'media',
12 'type': 'static_library', 14 'type': 'static_library',
13 'dependencies': [ 15 'dependencies': [
14 'yuv_convert', 16 'yuv_convert',
15 '../base/base.gyp:base', 17 '../base/base.gyp:base',
16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 18 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
17 '../build/temp_gyp/googleurl.gyp:googleurl', 19 '../build/temp_gyp/googleurl.gyp:googleurl',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 'audio/linux/audio_manager_linux.cc', 51 'audio/linux/audio_manager_linux.cc',
50 'audio/linux/audio_manager_linux.h', 52 'audio/linux/audio_manager_linux.h',
51 'audio/linux/alsa_input.cc', 53 'audio/linux/alsa_input.cc',
52 'audio/linux/alsa_input.h', 54 'audio/linux/alsa_input.h',
53 'audio/linux/alsa_output.cc', 55 'audio/linux/alsa_output.cc',
54 'audio/linux/alsa_output.h', 56 'audio/linux/alsa_output.h',
55 'audio/linux/alsa_util.cc', 57 'audio/linux/alsa_util.cc',
56 'audio/linux/alsa_util.h', 58 'audio/linux/alsa_util.h',
57 'audio/linux/alsa_wrapper.cc', 59 'audio/linux/alsa_wrapper.cc',
58 'audio/linux/alsa_wrapper.h', 60 'audio/linux/alsa_wrapper.h',
61 'audio/linux/pulse_output.cc',
62 'audio/linux/pulse_output.h',
59 'audio/openbsd/audio_manager_openbsd.cc', 63 'audio/openbsd/audio_manager_openbsd.cc',
60 'audio/openbsd/audio_manager_openbsd.h', 64 'audio/openbsd/audio_manager_openbsd.h',
61 'audio/mac/audio_input_mac.cc', 65 'audio/mac/audio_input_mac.cc',
62 'audio/mac/audio_input_mac.h', 66 'audio/mac/audio_input_mac.h',
63 'audio/mac/audio_low_latency_output_mac.cc', 67 'audio/mac/audio_low_latency_output_mac.cc',
64 'audio/mac/audio_low_latency_output_mac.h', 68 'audio/mac/audio_low_latency_output_mac.h',
65 'audio/mac/audio_manager_mac.cc', 69 'audio/mac/audio_manager_mac.cc',
66 'audio/mac/audio_manager_mac.h', 70 'audio/mac/audio_manager_mac.h',
67 'audio/mac/audio_output_mac.cc', 71 'audio/mac/audio_output_mac.cc',
68 'audio/mac/audio_output_mac.h', 72 'audio/mac/audio_output_mac.h',
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 'video/capture/video_capture.h', 194 'video/capture/video_capture.h',
191 'video/capture/video_capture_device.h', 195 'video/capture/video_capture_device.h',
192 'video/capture/video_capture_proxy.cc', 196 'video/capture/video_capture_proxy.cc',
193 'video/capture/video_capture_proxy.h', 197 'video/capture/video_capture_proxy.h',
194 'video/capture/win/filter_base_win.cc', 198 'video/capture/win/filter_base_win.cc',
195 'video/capture/win/filter_base_win.h', 199 'video/capture/win/filter_base_win.h',
196 'video/capture/win/pin_base_win.cc', 200 'video/capture/win/pin_base_win.cc',
197 'video/capture/win/pin_base_win.h', 201 'video/capture/win/pin_base_win.h',
198 'video/capture/win/sink_filter_observer_win.h', 202 'video/capture/win/sink_filter_observer_win.h',
199 'video/capture/win/sink_filter_win.cc', 203 'video/capture/win/sink_filter_win.cc',
200 'video/capture/win/sink_filter_win.h', 204 'video/capture/win/sink_filter_win.h',
201 'video/capture/win/sink_input_pin_win.cc', 205 'video/capture/win/sink_input_pin_win.cc',
202 'video/capture/win/sink_input_pin_win.h', 206 'video/capture/win/sink_input_pin_win.h',
203 'video/capture/win/video_capture_device_win.cc', 207 'video/capture/win/video_capture_device_win.cc',
204 'video/capture/win/video_capture_device_win.h', 208 'video/capture/win/video_capture_device_win.h',
205 'video/capture/video_capture_device_dummy.cc', 209 'video/capture/video_capture_device_dummy.cc',
206 'video/capture/video_capture_device_dummy.h', 210 'video/capture/video_capture_device_dummy.h',
207 'video/capture/video_capture_types.h', 211 'video/capture/video_capture_types.h',
208 'video/ffmpeg_video_decode_engine.cc', 212 'video/ffmpeg_video_decode_engine.cc',
209 'video/ffmpeg_video_decode_engine.h', 213 'video/ffmpeg_video_decode_engine.h',
210 'video/picture.cc', 214 'video/picture.cc',
(...skipping 10 matching lines...) Expand all
221 'webm/webm_parser.h', 225 'webm/webm_parser.h',
222 'webm/webm_tracks_parser.cc', 226 'webm/webm_tracks_parser.cc',
223 'webm/webm_tracks_parser.h', 227 'webm/webm_tracks_parser.h',
224 ], 228 ],
225 'direct_dependent_settings': { 229 'direct_dependent_settings': {
226 'include_dirs': [ 230 'include_dirs': [
227 '..', 231 '..',
228 ], 232 ],
229 }, 233 },
230 'conditions': [ 234 'conditions': [
231 ['OS == "linux" or OS == "freebsd" or OS == "solaris"', { 235 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', {
232 'link_settings': { 236 'link_settings': {
233 'libraries': [ 237 'libraries': [
234 '-lasound', 238 '-lasound',
235 ], 239 ],
236 }, 240 },
241 'conditions': [
242 ['OS=="linux"', {
243 'conditions': [
244 ['use_pulseaudio == 1', {
245 'link_settings': {
246 'libraries': [
247 '-lpulse',
248 ],
249 },
250 'defines': [
251 'USE_PULSEAUDIO',
252 ],
253 }, { # else: use_pulseaudio == 0
254 'sources!': [
255 'audio/linux/pulse_output.cc',
256 'audio/linux/pulse_output.h',
257 ],
258 }],
259 ],
260 }],
261 ],
237 }], 262 }],
238 ['OS=="openbsd"', { 263 ['OS=="openbsd"', {
239 'sources/': [ ['exclude', 'alsa_' ], 264 'sources/': [ ['exclude', 'alsa_' ],
240 ['exclude', 'audio_manager_linux' ], 265 ['exclude', 'audio_manager_linux' ],
241 ['exclude', '\\.mm?$' ] ], 266 ['exclude', '\\.mm?$' ] ],
242 'link_settings': { 267 'link_settings': {
243 'libraries': [ 268 'libraries': [
244 ], 269 ],
245 }, 270 },
246 }], 271 }],
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 'tools/player_x11/gl_video_renderer.h', 730 'tools/player_x11/gl_video_renderer.h',
706 'tools/player_x11/player_x11.cc', 731 'tools/player_x11/player_x11.cc',
707 'tools/player_x11/x11_video_renderer.cc', 732 'tools/player_x11/x11_video_renderer.cc',
708 'tools/player_x11/x11_video_renderer.h', 733 'tools/player_x11/x11_video_renderer.h',
709 ], 734 ],
710 }, 735 },
711 ], 736 ],
712 }], 737 }],
713 ], 738 ],
714 } 739 }
OLDNEW
« media/audio/linux/pulse_output.cc ('K') | « media/base/media_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698