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

Side by Side Diff: media/media.gyp

Issue 11959018: Add a unified audio I/O backend for ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Save params, other cleanups suggested by Dale Created 7 years, 8 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
« no previous file with comments | « media/audio/cras/cras_unified_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 'audio/audio_output_proxy.h', 101 'audio/audio_output_proxy.h',
102 'audio/audio_output_resampler.cc', 102 'audio/audio_output_resampler.cc',
103 'audio/audio_output_resampler.h', 103 'audio/audio_output_resampler.h',
104 'audio/audio_source_diverter.h', 104 'audio/audio_source_diverter.h',
105 'audio/audio_util.cc', 105 'audio/audio_util.cc',
106 'audio/audio_util.h', 106 'audio/audio_util.h',
107 'audio/cras/audio_manager_cras.cc', 107 'audio/cras/audio_manager_cras.cc',
108 'audio/cras/audio_manager_cras.h', 108 'audio/cras/audio_manager_cras.h',
109 'audio/cras/cras_input.cc', 109 'audio/cras/cras_input.cc',
110 'audio/cras/cras_input.h', 110 'audio/cras/cras_input.h',
111 'audio/cras/cras_output.cc', 111 'audio/cras/cras_unified.cc',
112 'audio/cras/cras_output.h', 112 'audio/cras/cras_unified.h',
113 'audio/cross_process_notification.cc', 113 'audio/cross_process_notification.cc',
114 'audio/cross_process_notification.h', 114 'audio/cross_process_notification.h',
115 'audio/cross_process_notification_posix.cc', 115 'audio/cross_process_notification_posix.cc',
116 'audio/cross_process_notification_win.cc', 116 'audio/cross_process_notification_win.cc',
117 'audio/fake_audio_consumer.cc', 117 'audio/fake_audio_consumer.cc',
118 'audio/fake_audio_consumer.h', 118 'audio/fake_audio_consumer.h',
119 'audio/fake_audio_input_stream.cc', 119 'audio/fake_audio_input_stream.cc',
120 'audio/fake_audio_input_stream.h', 120 'audio/fake_audio_input_stream.h',
121 'audio/fake_audio_output_stream.cc', 121 'audio/fake_audio_output_stream.cc',
122 'audio/fake_audio_output_stream.h', 122 'audio/fake_audio_output_stream.h',
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 }, 634 },
635 'defines': [ 635 'defines': [
636 'USE_CRAS', 636 'USE_CRAS',
637 ], 637 ],
638 }, { # else: use_cras == 0 638 }, { # else: use_cras == 0
639 'sources!': [ 639 'sources!': [
640 'audio/cras/audio_manager_cras.cc', 640 'audio/cras/audio_manager_cras.cc',
641 'audio/cras/audio_manager_cras.h', 641 'audio/cras/audio_manager_cras.h',
642 'audio/cras/cras_input.cc', 642 'audio/cras/cras_input.cc',
643 'audio/cras/cras_input.h', 643 'audio/cras/cras_input.h',
644 'audio/cras/cras_output.cc', 644 'audio/cras/cras_unified.cc',
645 'audio/cras/cras_output.h', 645 'audio/cras/cras_unified.h',
646 ], 646 ],
647 }], 647 }],
648 ], 648 ],
649 }], 649 }],
650 ['OS!="linux"', { 650 ['OS!="linux"', {
651 'sources!': [ 651 'sources!': [
652 'audio/cras/audio_manager_cras.cc', 652 'audio/cras/audio_manager_cras.cc',
653 'audio/cras/audio_manager_cras.h', 653 'audio/cras/audio_manager_cras.h',
654 'audio/cras/cras_input.cc', 654 'audio/cras/cras_input.cc',
655 'audio/cras/cras_input.h', 655 'audio/cras/cras_input.h',
656 'audio/cras/cras_output.cc', 656 'audio/cras/cras_unified.cc',
657 'audio/cras/cras_output.h', 657 'audio/cras/cras_unified.h',
658 ], 658 ],
659 }], 659 }],
660 ['use_pulseaudio==1', { 660 ['use_pulseaudio==1', {
661 'cflags': [ 661 'cflags': [
662 '<!@(pkg-config --cflags libpulse)', 662 '<!@(pkg-config --cflags libpulse)',
663 ], 663 ],
664 'defines': [ 664 'defines': [
665 'USE_PULSEAUDIO', 665 'USE_PULSEAUDIO',
666 ], 666 ],
667 'conditions': [ 667 'conditions': [
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 'player_android', 1033 'player_android',
1034 ], 1034 ],
1035 }], 1035 }],
1036 ], 1036 ],
1037 }], 1037 }],
1038 ['OS == "linux"', { 1038 ['OS == "linux"', {
1039 'conditions': [ 1039 'conditions': [
1040 ['use_cras == 1', { 1040 ['use_cras == 1', {
1041 'sources': [ 1041 'sources': [
1042 'audio/cras/cras_input_unittest.cc', 1042 'audio/cras/cras_input_unittest.cc',
1043 'audio/cras/cras_output_unittest.cc', 1043 'audio/cras/cras_unified_unittest.cc',
1044 ], 1044 ],
1045 'defines': [ 1045 'defines': [
1046 'USE_CRAS', 1046 'USE_CRAS',
1047 ], 1047 ],
1048 }], 1048 }],
1049 ], 1049 ],
1050 }], 1050 }],
1051 ['use_alsa==0', { 1051 ['use_alsa==0', {
1052 'sources!': [ 1052 'sources!': [
1053 'audio/linux/alsa_output_unittest.cc', 1053 'audio/linux/alsa_output_unittest.cc',
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 ], 1655 ],
1656 'sources': [ 1656 'sources': [
1657 'base/simd/sinc_resampler_sse.cc', 1657 'base/simd/sinc_resampler_sse.cc',
1658 'base/simd/vector_math_sse.cc', 1658 'base/simd/vector_math_sse.cc',
1659 ], 1659 ],
1660 }, # end of target media_sse 1660 }, # end of target media_sse
1661 ], 1661 ],
1662 }], 1662 }],
1663 ], 1663 ],
1664 } 1664 }
OLDNEW
« no previous file with comments | « media/audio/cras/cras_unified_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698