OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 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 __doc__ = """ | 5 __doc__ = """ |
6 Configuration for building media.lib / libmedia.a. | 6 Configuration for building media.lib / libmedia.a. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 'audio/win/audio_manager_win.h', | 49 'audio/win/audio_manager_win.h', |
50 'audio/audio_output.h', | 50 'audio/audio_output.h', |
51 'audio/win/audio_output_win.cc', | 51 'audio/win/audio_output_win.cc', |
52 'audio/simple_sources.h', | 52 'audio/simple_sources.h', |
53 'audio/win/simple_sources_win.cc', | 53 'audio/win/simple_sources_win.cc', |
54 'audio/win/waveout_output_win.cc', | 54 'audio/win/waveout_output_win.cc', |
55 'audio/win/waveout_output_win.h', | 55 'audio/win/waveout_output_win.h', |
56 ]), | 56 ]), |
57 ]) | 57 ]) |
58 | 58 |
| 59 if env.Bit('linux'): |
| 60 input_files.Extend([ |
| 61 'audio/linux/audio_manager_linux.cc', |
| 62 ]) |
| 63 |
| 64 if env.Bit('mac'): |
| 65 input_files.Extend([ |
| 66 'audio/mac/audio_manager_mac.cc', |
| 67 ]) |
| 68 |
59 if not env.Bit('windows'): | 69 if not env.Bit('windows'): |
60 # Windows-specific files. | 70 # Windows-specific files. |
61 input_files.Remove( | 71 input_files.Remove( |
62 'audio/win/audio_output_win.cc', | 72 'audio/win/audio_output_win.cc', |
63 'audio/win/simple_sources_win.cc', | 73 'audio/win/simple_sources_win.cc', |
64 'audio/win/waveout_output_win.cc', | 74 'audio/win/waveout_output_win.cc', |
65 ) | 75 ) |
66 | 76 |
67 env.ChromeLibrary('media', input_files) | 77 env.ChromeLibrary('media', input_files) |
68 | 78 |
(...skipping 26 matching lines...) Expand all Loading... |
95 | 105 |
96 p.AddConfig('Debug|Win32', | 106 p.AddConfig('Debug|Win32', |
97 InheritedPropertySheets=[ | 107 InheritedPropertySheets=[ |
98 '$(SolutionDir)../build/debug.vsprops', | 108 '$(SolutionDir)../build/debug.vsprops', |
99 ]) | 109 ]) |
100 | 110 |
101 p.AddConfig('Release|Win32', | 111 p.AddConfig('Release|Win32', |
102 InheritedPropertySheets=[ | 112 InheritedPropertySheets=[ |
103 '$(SolutionDir)../build/release.vsprops', | 113 '$(SolutionDir)../build/release.vsprops', |
104 ]) | 114 ]) |
OLD | NEW |