OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 | 10 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 "AudioToolbox.framework", | 167 "AudioToolbox.framework", |
168 "CoreAudio.framework", | 168 "CoreAudio.framework", |
169 | 169 |
170 # Needed for CGEventSourceKeyState in audio_device_mac.cc: | 170 # Needed for CGEventSourceKeyState in audio_device_mac.cc: |
171 "CoreGraphics.framework", | 171 "CoreGraphics.framework", |
172 ] | 172 ] |
173 } | 173 } |
174 if (is_ios) { | 174 if (is_ios) { |
175 public_deps = [ | 175 public_deps = [ |
176 "../../base:rtc_base", | 176 "../../base:rtc_base", |
| 177 "../../sdk:rtc_sdk_audio_session", |
177 "../../sdk:rtc_sdk_common_objc", | 178 "../../sdk:rtc_sdk_common_objc", |
178 ] | 179 ] |
179 sources += [ | 180 sources += [ |
180 "ios/audio_device_ios.h", | 181 "ios/audio_device_ios.h", |
181 "ios/audio_device_ios.mm", | 182 "ios/audio_device_ios.mm", |
182 "ios/audio_device_not_implemented_ios.mm", | 183 "ios/audio_device_not_implemented_ios.mm", |
183 "ios/audio_session_observer.h", | 184 "ios/audio_session_observer.h", |
184 "ios/objc/RTCAudioSession+Configuration.mm", | |
185 "ios/objc/RTCAudioSession+Private.h", | |
186 "ios/objc/RTCAudioSession.h", | |
187 "ios/objc/RTCAudioSession.mm", | |
188 "ios/objc/RTCAudioSessionConfiguration.h", | |
189 "ios/objc/RTCAudioSessionConfiguration.m", | |
190 "ios/objc/RTCAudioSessionDelegateAdapter.h", | 185 "ios/objc/RTCAudioSessionDelegateAdapter.h", |
191 "ios/objc/RTCAudioSessionDelegateAdapter.mm", | 186 "ios/objc/RTCAudioSessionDelegateAdapter.mm", |
192 "ios/voice_processing_audio_unit.h", | 187 "ios/voice_processing_audio_unit.h", |
193 "ios/voice_processing_audio_unit.mm", | 188 "ios/voice_processing_audio_unit.mm", |
194 ] | 189 ] |
195 libs = [ | 190 libs = [ |
196 "AudioToolbox.framework", | 191 "AudioToolbox.framework", |
197 "AVFoundation.framework", | 192 "AVFoundation.framework", |
198 "Foundation.framework", | 193 "Foundation.framework", |
199 "UIKit.framework", | 194 "UIKit.framework", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 "android/audio_manager_unittest.cc", | 276 "android/audio_manager_unittest.cc", |
282 "android/ensure_initialized.cc", | 277 "android/ensure_initialized.cc", |
283 "android/ensure_initialized.h", | 278 "android/ensure_initialized.h", |
284 ] | 279 ] |
285 deps += [ | 280 deps += [ |
286 "../../../base", | 281 "../../../base", |
287 "//webrtc/sdk/android:libjingle_peerconnection_java", | 282 "//webrtc/sdk/android:libjingle_peerconnection_java", |
288 ] | 283 ] |
289 } | 284 } |
290 if (is_ios) { | 285 if (is_ios) { |
291 sources += [ "ios/objc/RTCAudioSessionTest.mm" ] | |
292 if (target_cpu != "x64") { | 286 if (target_cpu != "x64") { |
293 sources += [ "ios/audio_device_unittest_ios.cc" ] | 287 sources += [ "ios/audio_device_unittest_ios.cc" ] |
294 } | 288 } |
295 deps += [ "//third_party/ocmock" ] | 289 deps += [ "//third_party/ocmock" ] |
296 } | 290 } |
297 if (!build_with_chromium && is_clang) { | 291 if (!build_with_chromium && is_clang) { |
298 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 292 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
299 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 293 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
300 } | 294 } |
301 } | 295 } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", | 340 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", |
347 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", | 341 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", |
348 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", | 342 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", |
349 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", | 343 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", |
350 ] | 344 ] |
351 deps = [ | 345 deps = [ |
352 "//webrtc/base:base_java", | 346 "//webrtc/base:base_java", |
353 ] | 347 ] |
354 } | 348 } |
355 } | 349 } |
OLD | NEW |