| 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. | 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 Loading... |
| 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', | |
| 68 'audio/openbsd/audio_manager_openbsd.cc', | 66 'audio/openbsd/audio_manager_openbsd.cc', |
| 69 'audio/openbsd/audio_manager_openbsd.h', | 67 'audio/openbsd/audio_manager_openbsd.h', |
| 70 'audio/mac/audio_input_mac.cc', | 68 'audio/mac/audio_input_mac.cc', |
| 71 'audio/mac/audio_input_mac.h', | 69 'audio/mac/audio_input_mac.h', |
| 72 'audio/mac/audio_low_latency_input_mac.cc', | 70 'audio/mac/audio_low_latency_input_mac.cc', |
| 73 'audio/mac/audio_low_latency_input_mac.h', | 71 'audio/mac/audio_low_latency_input_mac.h', |
| 74 'audio/win/audio_low_latency_input_win.cc', | 72 'audio/win/audio_low_latency_input_win.cc', |
| 75 'audio/win/audio_low_latency_input_win.h', | 73 'audio/win/audio_low_latency_input_win.h', |
| 76 'audio/mac/audio_low_latency_output_mac.cc', | 74 'audio/mac/audio_low_latency_output_mac.cc', |
| 77 'audio/mac/audio_low_latency_output_mac.h', | 75 'audio/mac/audio_low_latency_output_mac.h', |
| 78 'audio/mac/audio_manager_mac.cc', | 76 'audio/mac/audio_manager_mac.cc', |
| 79 'audio/mac/audio_manager_mac.h', | 77 'audio/mac/audio_manager_mac.h', |
| 80 'audio/mac/audio_output_mac.cc', | 78 'audio/mac/audio_output_mac.cc', |
| 81 'audio/mac/audio_output_mac.h', | 79 'audio/mac/audio_output_mac.h', |
| 80 'audio/pulse/pulse_output.cc', |
| 81 'audio/pulse/pulse_output.h', |
| 82 'audio/simple_sources.cc', | 82 'audio/simple_sources.cc', |
| 83 'audio/simple_sources.h', | 83 'audio/simple_sources.h', |
| 84 'audio/win/audio_manager_win.h', | 84 'audio/win/audio_manager_win.h', |
| 85 'audio/win/audio_manager_win.cc', | 85 'audio/win/audio_manager_win.cc', |
| 86 'audio/win/avrt_wrapper_win.h', | 86 'audio/win/avrt_wrapper_win.h', |
| 87 'audio/win/avrt_wrapper_win.cc', | 87 'audio/win/avrt_wrapper_win.cc', |
| 88 'audio/win/wavein_input_win.cc', | 88 'audio/win/wavein_input_win.cc', |
| 89 'audio/win/wavein_input_win.h', | 89 'audio/win/wavein_input_win.h', |
| 90 'audio/win/waveout_output_win.cc', | 90 'audio/win/waveout_output_win.cc', |
| 91 'audio/win/waveout_output_win.h', | 91 'audio/win/waveout_output_win.h', |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 'video/ffmpeg_video_decode_engine.cc', | 290 'video/ffmpeg_video_decode_engine.cc', |
| 291 'video/ffmpeg_video_decode_engine.h', | 291 'video/ffmpeg_video_decode_engine.h', |
| 292 ], | 292 ], |
| 293 }], | 293 }], |
| 294 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { | 294 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { |
| 295 'link_settings': { | 295 'link_settings': { |
| 296 'libraries': [ | 296 'libraries': [ |
| 297 '-lasound', | 297 '-lasound', |
| 298 ], | 298 ], |
| 299 }, | 299 }, |
| 300 'conditions': [ | |
| 301 ['OS=="linux"', { | |
| 302 'conditions': [ | |
| 303 ['use_pulseaudio == 1', { | |
| 304 'link_settings': { | |
| 305 'libraries': [ | |
| 306 '-lpulse', | |
| 307 ], | |
| 308 }, | |
| 309 'defines': [ | |
| 310 'USE_PULSEAUDIO', | |
| 311 ], | |
| 312 }, { # else: use_pulseaudio == 0 | |
| 313 'sources!': [ | |
| 314 'audio/linux/pulse_output.cc', | |
| 315 'audio/linux/pulse_output.h', | |
| 316 ], | |
| 317 }], | |
| 318 ], | |
| 319 }], | |
| 320 ], | |
| 321 }], | 300 }], |
| 322 ['OS=="openbsd"', { | 301 ['OS=="openbsd"', { |
| 323 'sources/': [ ['exclude', '/alsa_' ], | 302 'sources/': [ ['exclude', '/alsa_' ], |
| 324 ['exclude', '/audio_manager_linux' ], | 303 ['exclude', '/audio_manager_linux' ] ], |
| 325 ['exclude', '/pulse_' ] ], | |
| 326 'link_settings': { | 304 'link_settings': { |
| 327 'libraries': [ | 305 'libraries': [ |
| 328 ], | 306 ], |
| 329 }, | 307 }, |
| 330 }], | 308 }], |
| 331 ['OS!="openbsd"', { | 309 ['OS!="openbsd"', { |
| 332 'sources!': [ | 310 'sources!': [ |
| 333 'audio/openbsd/audio_manager_openbsd.cc', | 311 'audio/openbsd/audio_manager_openbsd.cc', |
| 334 'audio/openbsd/audio_manager_openbsd.h', | 312 'audio/openbsd/audio_manager_openbsd.h', |
| 335 ], | 313 ], |
| 336 }], | 314 }], |
| 337 ['os_posix == 1', { | 315 ['os_posix == 1', { |
| 316 'conditions': [ |
| 317 ['use_pulseaudio == 1', { |
| 318 'cflags': [ |
| 319 '<!@(pkg-config --cflags libpulse)', |
| 320 ], |
| 321 'link_settings': { |
| 322 'libraries': [ |
| 323 '<!@(pkg-config --libs-only-l libpulse)', |
| 324 ], |
| 325 }, |
| 326 'defines': [ |
| 327 'USE_PULSEAUDIO', |
| 328 ], |
| 329 }, { # else: use_pulseaudio == 0 |
| 330 'sources!': [ |
| 331 'audio/pulse/pulse_output.cc', |
| 332 'audio/pulse/pulse_output.h', |
| 333 ], |
| 334 }], |
| 335 ], |
| 338 'sources!': [ | 336 'sources!': [ |
| 339 'video/capture/video_capture_device_dummy.cc', | 337 'video/capture/video_capture_device_dummy.cc', |
| 340 'video/capture/video_capture_device_dummy.h', | 338 'video/capture/video_capture_device_dummy.h', |
| 341 ], | 339 ], |
| 342 }], | 340 }], |
| 343 ['OS=="mac"', { | 341 ['OS=="mac"', { |
| 344 'link_settings': { | 342 'link_settings': { |
| 345 'libraries': [ | 343 'libraries': [ |
| 346 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', | 344 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', |
| 347 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 345 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 880 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 878 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 881 ], | 879 ], |
| 882 'sources': [ | 880 'sources': [ |
| 883 'tools/media_bench/media_bench.cc', | 881 'tools/media_bench/media_bench.cc', |
| 884 ], | 882 ], |
| 885 }, | 883 }, |
| 886 ], | 884 ], |
| 887 }] | 885 }] |
| 888 ], | 886 ], |
| 889 } | 887 } |
| OLD | NEW |