Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_pulse_audio%': 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 Loading... | |
| 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 Loading... | |
| 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 16 matching lines...) Expand all Loading... | |
| 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 ['use_pulse_audio == 1', { | |
|
Paweł Hajdan Jr.
2011/08/08 20:43:40
Have you tested this on a system without PA? I thi
slock
2011/08/08 22:08:49
Done. Definitely, for the use-case of the person
| |
| 243 'link_settings' : { | |
| 244 'libraries' : [ | |
| 245 '-lpulse', | |
| 246 ], | |
| 247 }, | |
| 248 }], | |
| 249 ], | |
| 237 }], | 250 }], |
| 238 ['OS=="openbsd"', { | 251 ['OS=="openbsd"', { |
| 239 'sources/': [ ['exclude', 'alsa_' ], | 252 'sources/': [ ['exclude', 'alsa_' ], |
| 240 ['exclude', 'audio_manager_linux' ], | 253 ['exclude', 'audio_manager_linux' ], |
| 241 ['exclude', '\\.mm?$' ] ], | 254 ['exclude', '\\.mm?$' ] ], |
| 242 'link_settings': { | 255 'link_settings': { |
| 243 'libraries': [ | 256 'libraries': [ |
| 244 ], | 257 ], |
| 245 }, | 258 }, |
| 246 }], | 259 }], |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 705 'tools/player_x11/gl_video_renderer.h', | 718 'tools/player_x11/gl_video_renderer.h', |
| 706 'tools/player_x11/player_x11.cc', | 719 'tools/player_x11/player_x11.cc', |
| 707 'tools/player_x11/x11_video_renderer.cc', | 720 'tools/player_x11/x11_video_renderer.cc', |
| 708 'tools/player_x11/x11_video_renderer.h', | 721 'tools/player_x11/x11_video_renderer.h', |
| 709 ], | 722 ], |
| 710 }, | 723 }, |
| 711 ], | 724 ], |
| 712 }], | 725 }], |
| 713 ], | 726 ], |
| 714 } | 727 } |
| OLD | NEW |