| OLD | NEW |
| 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 { | 9 { |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 }], | 79 }], |
| 80 ['build_with_chromium==0', { | 80 ['build_with_chromium==0', { |
| 81 'sources': [ | 81 'sources': [ |
| 82 # Don't link these into Chrome since they contain static data. | 82 # Don't link these into Chrome since they contain static data. |
| 83 'dummy/file_audio_device_factory.cc', | 83 'dummy/file_audio_device_factory.cc', |
| 84 'dummy/file_audio_device_factory.h', | 84 'dummy/file_audio_device_factory.h', |
| 85 ], | 85 ], |
| 86 }], | 86 }], |
| 87 ['include_internal_audio_device==1', { | 87 ['include_internal_audio_device==1', { |
| 88 'sources': [ | 88 'sources': [ |
| 89 'android/audio_device_template.h', | |
| 90 'android/audio_manager.cc', | |
| 91 'android/audio_manager.h', | |
| 92 'android/audio_record_jni.cc', | |
| 93 'android/audio_record_jni.h', | |
| 94 'android/audio_track_jni.cc', | |
| 95 'android/audio_track_jni.h', | |
| 96 'android/build_info.cc', | |
| 97 'android/build_info.h', | |
| 98 'android/opensles_common.cc', | |
| 99 'android/opensles_common.h', | |
| 100 'android/opensles_player.cc', | |
| 101 'android/opensles_player.h', | |
| 102 'audio_device_impl.cc', | 89 'audio_device_impl.cc', |
| 103 'audio_device_impl.h', | 90 'audio_device_impl.h', |
| 104 'ios/audio_device_ios.h', | |
| 105 'ios/audio_device_ios.mm', | |
| 106 'ios/audio_device_not_implemented_ios.mm', | |
| 107 'linux/alsasymboltable_linux.cc', | |
| 108 'linux/alsasymboltable_linux.h', | |
| 109 'linux/audio_device_alsa_linux.cc', | |
| 110 'linux/audio_device_alsa_linux.h', | |
| 111 'linux/audio_mixer_manager_alsa_linux.cc', | |
| 112 'linux/audio_mixer_manager_alsa_linux.h', | |
| 113 'linux/latebindingsymboltable_linux.cc', | |
| 114 'linux/latebindingsymboltable_linux.h', | |
| 115 'mac/audio_device_mac.cc', | |
| 116 'mac/audio_device_mac.h', | |
| 117 'mac/audio_mixer_manager_mac.cc', | |
| 118 'mac/audio_mixer_manager_mac.h', | |
| 119 'mac/portaudio/pa_memorybarrier.h', | |
| 120 'mac/portaudio/pa_ringbuffer.c', | |
| 121 'mac/portaudio/pa_ringbuffer.h', | |
| 122 'win/audio_device_core_win.cc', | |
| 123 'win/audio_device_core_win.h', | |
| 124 'win/audio_device_wave_win.cc', | |
| 125 'win/audio_device_wave_win.h', | |
| 126 'win/audio_mixer_manager_win.cc', | |
| 127 'win/audio_mixer_manager_win.h', | |
| 128 ], | 91 ], |
| 129 'conditions': [ | 92 'conditions': [ |
| 130 ['OS=="android"', { | 93 ['OS=="android"', { |
| 94 'sources': [ |
| 95 'android/audio_device_template.h', |
| 96 'android/audio_manager.cc', |
| 97 'android/audio_manager.h', |
| 98 'android/audio_record_jni.cc', |
| 99 'android/audio_record_jni.h', |
| 100 'android/audio_track_jni.cc', |
| 101 'android/audio_track_jni.h', |
| 102 'android/build_info.cc', |
| 103 'android/build_info.h', |
| 104 'android/opensles_common.cc', |
| 105 'android/opensles_common.h', |
| 106 'android/opensles_player.cc', |
| 107 'android/opensles_player.h', |
| 108 ], |
| 131 'link_settings': { | 109 'link_settings': { |
| 132 'libraries': [ | 110 'libraries': [ |
| 133 '-llog', | 111 '-llog', |
| 134 '-lOpenSLES', | 112 '-lOpenSLES', |
| 135 ], | 113 ], |
| 136 }, | 114 }, |
| 137 }], | 115 }], |
| 138 ['OS=="linux"', { | 116 ['OS=="linux"', { |
| 117 'sources': [ |
| 118 'linux/alsasymboltable_linux.cc', |
| 119 'linux/alsasymboltable_linux.h', |
| 120 'linux/audio_device_alsa_linux.cc', |
| 121 'linux/audio_device_alsa_linux.h', |
| 122 'linux/audio_mixer_manager_alsa_linux.cc', |
| 123 'linux/audio_mixer_manager_alsa_linux.h', |
| 124 'linux/latebindingsymboltable_linux.cc', |
| 125 'linux/latebindingsymboltable_linux.h', |
| 126 ], |
| 139 'defines': [ | 127 'defines': [ |
| 140 'LINUX_ALSA', | 128 'LINUX_ALSA', |
| 141 ], | 129 ], |
| 142 'link_settings': { | 130 'link_settings': { |
| 143 'libraries': [ | 131 'libraries': [ |
| 144 '-ldl','-lX11', | 132 '-ldl','-lX11', |
| 145 ], | 133 ], |
| 146 }, | 134 }, |
| 147 'conditions': [ | 135 'conditions': [ |
| 148 ['include_pulse_audio==1', { | 136 ['include_pulse_audio==1', { |
| 149 'defines': [ | 137 'defines': [ |
| 150 'LINUX_PULSE', | 138 'LINUX_PULSE', |
| 151 ], | 139 ], |
| 152 'sources': [ | 140 'sources': [ |
| 153 'linux/audio_device_pulse_linux.cc', | 141 'linux/audio_device_pulse_linux.cc', |
| 154 'linux/audio_device_pulse_linux.h', | 142 'linux/audio_device_pulse_linux.h', |
| 155 'linux/audio_mixer_manager_pulse_linux.cc', | 143 'linux/audio_mixer_manager_pulse_linux.cc', |
| 156 'linux/audio_mixer_manager_pulse_linux.h', | 144 'linux/audio_mixer_manager_pulse_linux.h', |
| 157 'linux/pulseaudiosymboltable_linux.cc', | 145 'linux/pulseaudiosymboltable_linux.cc', |
| 158 'linux/pulseaudiosymboltable_linux.h', | 146 'linux/pulseaudiosymboltable_linux.h', |
| 159 ], | 147 ], |
| 160 }], | 148 }], |
| 161 ], | 149 ], |
| 162 }], | 150 }], |
| 163 ['OS=="mac"', { | 151 ['OS=="mac"', { |
| 152 'sources': [ |
| 153 'mac/audio_device_mac.cc', |
| 154 'mac/audio_device_mac.h', |
| 155 'mac/audio_mixer_manager_mac.cc', |
| 156 'mac/audio_mixer_manager_mac.h', |
| 157 'mac/portaudio/pa_memorybarrier.h', |
| 158 'mac/portaudio/pa_ringbuffer.c', |
| 159 'mac/portaudio/pa_ringbuffer.h', |
| 160 ], |
| 164 'link_settings': { | 161 'link_settings': { |
| 165 'libraries': [ | 162 'libraries': [ |
| 166 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', | 163 '$(SDKROOT)/System/Library/Frameworks/AudioToolbox.framework', |
| 167 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', | 164 '$(SDKROOT)/System/Library/Frameworks/CoreAudio.framework', |
| 168 ], | 165 ], |
| 169 }, | 166 }, |
| 170 }], | 167 }], |
| 171 ['OS=="ios"', { | 168 ['OS=="ios"', { |
| 169 'sources': [ |
| 170 'ios/audio_device_ios.h', |
| 171 'ios/audio_device_ios.mm', |
| 172 'ios/audio_device_not_implemented_ios.mm', |
| 173 ], |
| 172 'xcode_settings': { | 174 'xcode_settings': { |
| 173 'CLANG_ENABLE_OBJC_ARC': 'YES', | 175 'CLANG_ENABLE_OBJC_ARC': 'YES', |
| 174 }, | 176 }, |
| 175 'link_settings': { | 177 'link_settings': { |
| 176 'xcode_settings': { | 178 'xcode_settings': { |
| 177 'OTHER_LDFLAGS': [ | 179 'OTHER_LDFLAGS': [ |
| 178 '-framework AudioToolbox', | 180 '-framework AudioToolbox', |
| 179 '-framework AVFoundation', | 181 '-framework AVFoundation', |
| 180 '-framework Foundation', | 182 '-framework Foundation', |
| 181 '-framework UIKit', | 183 '-framework UIKit', |
| 182 ], | 184 ], |
| 183 }, | 185 }, |
| 184 }, | 186 }, |
| 185 }], | 187 }], |
| 186 ['OS=="win"', { | 188 ['OS=="win"', { |
| 189 'sources': [ |
| 190 'win/audio_device_core_win.cc', |
| 191 'win/audio_device_core_win.h', |
| 192 'win/audio_device_wave_win.cc', |
| 193 'win/audio_device_wave_win.h', |
| 194 'win/audio_mixer_manager_win.cc', |
| 195 'win/audio_mixer_manager_win.h', |
| 196 ], |
| 187 'link_settings': { | 197 'link_settings': { |
| 188 'libraries': [ | 198 'libraries': [ |
| 189 # Required for the built-in WASAPI AEC. | 199 # Required for the built-in WASAPI AEC. |
| 190 '-ldmoguids.lib', | 200 '-ldmoguids.lib', |
| 191 '-lwmcodecdspuuid.lib', | 201 '-lwmcodecdspuuid.lib', |
| 192 '-lamstrmid.lib', | 202 '-lamstrmid.lib', |
| 193 '-lmsdmo.lib', | 203 '-lmsdmo.lib', |
| 194 ], | 204 ], |
| 195 }, | 205 }, |
| 196 }], | 206 }], |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 'test/audio_device_test_defines.h', | 244 'test/audio_device_test_defines.h', |
| 235 'test/func_test_manager.cc', | 245 'test/func_test_manager.cc', |
| 236 'test/func_test_manager.h', | 246 'test/func_test_manager.h', |
| 237 ], | 247 ], |
| 238 }, | 248 }, |
| 239 ], # targets | 249 ], # targets |
| 240 }], # include_tests==1 and OS!=ios | 250 }], # include_tests==1 and OS!=ios |
| 241 ], | 251 ], |
| 242 } | 252 } |
| 243 | 253 |
| OLD | NEW |