| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
| 9 'use_cras%': 0, | 9 'use_cras%': 0, |
| 10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 'audio/mac/audio_device_listener_mac.cc', | 154 'audio/mac/audio_device_listener_mac.cc', |
| 155 'audio/mac/audio_device_listener_mac.h', | 155 'audio/mac/audio_device_listener_mac.h', |
| 156 'audio/mac/audio_input_mac.cc', | 156 'audio/mac/audio_input_mac.cc', |
| 157 'audio/mac/audio_input_mac.h', | 157 'audio/mac/audio_input_mac.h', |
| 158 'audio/mac/audio_low_latency_input_mac.cc', | 158 'audio/mac/audio_low_latency_input_mac.cc', |
| 159 'audio/mac/audio_low_latency_input_mac.h', | 159 'audio/mac/audio_low_latency_input_mac.h', |
| 160 'audio/mac/audio_manager_mac.cc', | 160 'audio/mac/audio_manager_mac.cc', |
| 161 'audio/mac/audio_manager_mac.h', | 161 'audio/mac/audio_manager_mac.h', |
| 162 'audio/null_audio_sink.cc', | 162 'audio/null_audio_sink.cc', |
| 163 'audio/null_audio_sink.h', | 163 'audio/null_audio_sink.h', |
| 164 'audio/openbsd/audio_manager_openbsd.cc', | |
| 165 'audio/openbsd/audio_manager_openbsd.h', | |
| 166 'audio/pulse/audio_manager_pulse.cc', | 164 'audio/pulse/audio_manager_pulse.cc', |
| 167 'audio/pulse/audio_manager_pulse.h', | 165 'audio/pulse/audio_manager_pulse.h', |
| 168 'audio/pulse/pulse_input.cc', | 166 'audio/pulse/pulse_input.cc', |
| 169 'audio/pulse/pulse_input.h', | 167 'audio/pulse/pulse_input.h', |
| 170 'audio/pulse/pulse_output.cc', | 168 'audio/pulse/pulse_output.cc', |
| 171 'audio/pulse/pulse_output.h', | 169 'audio/pulse/pulse_output.h', |
| 172 'audio/pulse/pulse_util.cc', | 170 'audio/pulse/pulse_util.cc', |
| 173 'audio/pulse/pulse_util.h', | 171 'audio/pulse/pulse_util.h', |
| 174 'audio/sample_rates.cc', | 172 'audio/sample_rates.cc', |
| 175 'audio/sample_rates.h', | 173 'audio/sample_rates.h', |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 }, | 771 }, |
| 774 'defines': [ | 772 'defines': [ |
| 775 'USE_ALSA', | 773 'USE_ALSA', |
| 776 ], | 774 ], |
| 777 }, { # use_alsa==0 | 775 }, { # use_alsa==0 |
| 778 'sources/': [ | 776 'sources/': [ |
| 779 ['exclude', '(^|/)alsa/'], | 777 ['exclude', '(^|/)alsa/'], |
| 780 ['exclude', '_alsa\\.(h|cc)$'], | 778 ['exclude', '_alsa\\.(h|cc)$'], |
| 781 ], | 779 ], |
| 782 }], | 780 }], |
| 783 ['OS!="openbsd"', { | 781 ['OS=="openbsd"', { |
| 784 'sources!': [ | |
| 785 'audio/openbsd/audio_manager_openbsd.cc', | |
| 786 'audio/openbsd/audio_manager_openbsd.h', | |
| 787 ], | |
| 788 }, { # else: openbsd==1 | |
| 789 'sources!': [ | 782 'sources!': [ |
| 790 'capture/video/linux/v4l2_capture_delegate_multi_plane.cc', | 783 'capture/video/linux/v4l2_capture_delegate_multi_plane.cc', |
| 791 'capture/video/linux/v4l2_capture_delegate_multi_plane.h', | 784 'capture/video/linux/v4l2_capture_delegate_multi_plane.h', |
| 792 ], | 785 ], |
| 793 }], | 786 }], |
| 794 ['OS=="linux"', { | 787 ['OS=="linux"', { |
| 795 'conditions': [ | 788 'conditions': [ |
| 796 ['use_x11==1', { | 789 ['use_x11==1', { |
| 797 'dependencies': [ | 790 'dependencies': [ |
| 798 '../build/linux/system.gyp:x11', | 791 '../build/linux/system.gyp:x11', |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1495 'audio/audio_input_controller_unittest.cc', | 1488 'audio/audio_input_controller_unittest.cc', |
| 1496 'audio/audio_input_unittest.cc', | 1489 'audio/audio_input_unittest.cc', |
| 1497 'audio/audio_manager_factory_unittest.cc', | 1490 'audio/audio_manager_factory_unittest.cc', |
| 1498 'audio/audio_manager_unittest.cc', | 1491 'audio/audio_manager_unittest.cc', |
| 1499 'audio/audio_output_controller_unittest.cc', | 1492 'audio/audio_output_controller_unittest.cc', |
| 1500 'audio/audio_output_device_unittest.cc', | 1493 'audio/audio_output_device_unittest.cc', |
| 1501 'audio/audio_output_proxy_unittest.cc', | 1494 'audio/audio_output_proxy_unittest.cc', |
| 1502 'audio/audio_parameters_unittest.cc', | 1495 'audio/audio_parameters_unittest.cc', |
| 1503 'audio/audio_power_monitor_unittest.cc', | 1496 'audio/audio_power_monitor_unittest.cc', |
| 1504 'audio/fake_audio_worker_unittest.cc', | 1497 'audio/fake_audio_worker_unittest.cc', |
| 1498 'audio/point_unittest.cc', |
| 1505 'audio/simple_sources_unittest.cc', | 1499 'audio/simple_sources_unittest.cc', |
| 1506 'audio/virtual_audio_input_stream_unittest.cc', | 1500 'audio/virtual_audio_input_stream_unittest.cc', |
| 1507 'audio/virtual_audio_output_stream_unittest.cc', | 1501 'audio/virtual_audio_output_stream_unittest.cc', |
| 1508 ], | 1502 ], |
| 1509 'conditions': [ | 1503 'conditions': [ |
| 1510 # TODO(wolenetz): Fix size_t to int truncations in win64. See | 1504 # TODO(wolenetz): Fix size_t to int truncations in win64. See |
| 1511 # http://crbug.com/171009 | 1505 # http://crbug.com/171009 |
| 1512 ['OS=="win" and target_arch=="x64"', { | 1506 ['OS=="win" and target_arch=="x64"', { |
| 1513 'msvs_disabled_warnings': [ 4267, ], | 1507 'msvs_disabled_warnings': [ 4267, ], |
| 1514 }], | 1508 }], |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1644 }, | 1638 }, |
| 1645 { | 1639 { |
| 1646 # Minimal target for NaCl and other renderer side media clients which | 1640 # Minimal target for NaCl and other renderer side media clients which |
| 1647 # only need to send audio data across the shared memory to the browser | 1641 # only need to send audio data across the shared memory to the browser |
| 1648 # process. | 1642 # process. |
| 1649 # GN version: //media:shared_memory_support | 1643 # GN version: //media:shared_memory_support |
| 1650 'target_name': 'shared_memory_support', | 1644 'target_name': 'shared_memory_support', |
| 1651 'type': '<(component)', | 1645 'type': '<(component)', |
| 1652 'dependencies': [ | 1646 'dependencies': [ |
| 1653 '../base/base.gyp:base', | 1647 '../base/base.gyp:base', |
| 1648 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 1654 ], | 1649 ], |
| 1655 'defines': [ | 1650 'defines': [ |
| 1656 'MEDIA_IMPLEMENTATION', | 1651 'MEDIA_IMPLEMENTATION', |
| 1657 ], | 1652 ], |
| 1658 'include_dirs': [ | 1653 'include_dirs': [ |
| 1659 '..', | 1654 '..', |
| 1660 ], | 1655 ], |
| 1661 'includes': [ | 1656 'includes': [ |
| 1662 'shared_memory_support.gypi', | 1657 'shared_memory_support.gypi', |
| 1663 ], | 1658 ], |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2081 'dependencies': [ | 2076 'dependencies': [ |
| 2082 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2077 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 2083 ], | 2078 ], |
| 2084 }], | 2079 }], |
| 2085 ], | 2080 ], |
| 2086 }, | 2081 }, |
| 2087 ], | 2082 ], |
| 2088 }], | 2083 }], |
| 2089 ], | 2084 ], |
| 2090 } | 2085 } |
| OLD | NEW |