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 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 }, | 770 }, |
771 'defines': [ | 771 'defines': [ |
772 'USE_ALSA', | 772 'USE_ALSA', |
773 ], | 773 ], |
774 }, { # use_alsa==0 | 774 }, { # use_alsa==0 |
775 'sources/': [ | 775 'sources/': [ |
776 ['exclude', '(^|/)alsa/'], | 776 ['exclude', '(^|/)alsa/'], |
777 ['exclude', '_alsa\\.(h|cc)$'], | 777 ['exclude', '_alsa\\.(h|cc)$'], |
778 ], | 778 ], |
779 }], | 779 }], |
780 ['OS!="openbsd"', { | 780 ['OS=="openbsd"', { |
781 'sources!': [ | |
782 'audio/openbsd/audio_manager_openbsd.cc', | |
783 'audio/openbsd/audio_manager_openbsd.h', | |
784 ], | |
785 }, { # else: openbsd==1 | |
786 'sources!': [ | 781 'sources!': [ |
787 'capture/video/linux/v4l2_capture_delegate_multi_plane.cc', | 782 'capture/video/linux/v4l2_capture_delegate_multi_plane.cc', |
788 'capture/video/linux/v4l2_capture_delegate_multi_plane.h', | 783 'capture/video/linux/v4l2_capture_delegate_multi_plane.h', |
789 ], | 784 ], |
790 }], | 785 }], |
791 ['OS=="linux"', { | 786 ['OS=="linux"', { |
792 'conditions': [ | 787 'conditions': [ |
793 ['use_x11==1', { | 788 ['use_x11==1', { |
794 'dependencies': [ | 789 'dependencies': [ |
795 '../build/linux/system.gyp:x11', | 790 '../build/linux/system.gyp:x11', |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1470 'audio/audio_input_controller_unittest.cc', | 1465 'audio/audio_input_controller_unittest.cc', |
1471 'audio/audio_input_unittest.cc', | 1466 'audio/audio_input_unittest.cc', |
1472 'audio/audio_manager_factory_unittest.cc', | 1467 'audio/audio_manager_factory_unittest.cc', |
1473 'audio/audio_manager_unittest.cc', | 1468 'audio/audio_manager_unittest.cc', |
1474 'audio/audio_output_controller_unittest.cc', | 1469 'audio/audio_output_controller_unittest.cc', |
1475 'audio/audio_output_device_unittest.cc', | 1470 'audio/audio_output_device_unittest.cc', |
1476 'audio/audio_output_proxy_unittest.cc', | 1471 'audio/audio_output_proxy_unittest.cc', |
1477 'audio/audio_parameters_unittest.cc', | 1472 'audio/audio_parameters_unittest.cc', |
1478 'audio/audio_power_monitor_unittest.cc', | 1473 'audio/audio_power_monitor_unittest.cc', |
1479 'audio/fake_audio_worker_unittest.cc', | 1474 'audio/fake_audio_worker_unittest.cc', |
| 1475 'audio/point_unittest.cc', |
1480 'audio/simple_sources_unittest.cc', | 1476 'audio/simple_sources_unittest.cc', |
1481 'audio/virtual_audio_input_stream_unittest.cc', | 1477 'audio/virtual_audio_input_stream_unittest.cc', |
1482 'audio/virtual_audio_output_stream_unittest.cc', | 1478 'audio/virtual_audio_output_stream_unittest.cc', |
1483 ], | 1479 ], |
1484 'conditions': [ | 1480 'conditions': [ |
1485 # TODO(wolenetz): Fix size_t to int truncations in win64. See | 1481 # TODO(wolenetz): Fix size_t to int truncations in win64. See |
1486 # http://crbug.com/171009 | 1482 # http://crbug.com/171009 |
1487 ['OS=="win" and target_arch=="x64"', { | 1483 ['OS=="win" and target_arch=="x64"', { |
1488 'msvs_disabled_warnings': [ 4267, ], | 1484 'msvs_disabled_warnings': [ 4267, ], |
1489 }], | 1485 }], |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1619 }, | 1615 }, |
1620 { | 1616 { |
1621 # Minimal target for NaCl and other renderer side media clients which | 1617 # Minimal target for NaCl and other renderer side media clients which |
1622 # only need to send audio data across the shared memory to the browser | 1618 # only need to send audio data across the shared memory to the browser |
1623 # process. | 1619 # process. |
1624 # GN version: //media:shared_memory_support | 1620 # GN version: //media:shared_memory_support |
1625 'target_name': 'shared_memory_support', | 1621 'target_name': 'shared_memory_support', |
1626 'type': '<(component)', | 1622 'type': '<(component)', |
1627 'dependencies': [ | 1623 'dependencies': [ |
1628 '../base/base.gyp:base', | 1624 '../base/base.gyp:base', |
| 1625 '../ui/gfx/gfx.gyp:gfx_geometry', |
1629 ], | 1626 ], |
1630 'defines': [ | 1627 'defines': [ |
1631 'MEDIA_IMPLEMENTATION', | 1628 'MEDIA_IMPLEMENTATION', |
1632 ], | 1629 ], |
1633 'include_dirs': [ | 1630 'include_dirs': [ |
1634 '..', | 1631 '..', |
1635 ], | 1632 ], |
1636 'includes': [ | 1633 'includes': [ |
1637 'shared_memory_support.gypi', | 1634 'shared_memory_support.gypi', |
1638 ], | 1635 ], |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2056 'dependencies': [ | 2053 'dependencies': [ |
2057 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2054 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2058 ], | 2055 ], |
2059 }], | 2056 }], |
2060 ], | 2057 ], |
2061 }, | 2058 }, |
2062 ], | 2059 ], |
2063 }], | 2060 }], |
2064 ], | 2061 ], |
2065 } | 2062 } |
OLD | NEW |