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

Side by Side Diff: webrtc/modules/audio_device/BUILD.gn

Issue 2855023003: Move RTCAudioSession* files modules/audio_device/ -> sdk/Framework. (Closed)
Patch Set: Re-add removed header Created 3 years, 6 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
OLDNEW
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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "CoreAudio.framework", 169 "CoreAudio.framework",
170 170
171 # Needed for CGEventSourceKeyState in audio_device_mac.cc: 171 # Needed for CGEventSourceKeyState in audio_device_mac.cc:
172 "CoreGraphics.framework", 172 "CoreGraphics.framework",
173 ] 173 ]
174 } 174 }
175 if (is_ios) { 175 if (is_ios) {
176 public_deps = [ 176 public_deps = [
177 "../../base:gtest_prod", 177 "../../base:gtest_prod",
178 "../../base:rtc_base", 178 "../../base:rtc_base",
179 "../../sdk:objc_audio",
179 "../../sdk:objc_common", 180 "../../sdk:objc_common",
180 ] 181 ]
181 sources += [ 182 sources += [
182 "ios/audio_device_ios.h", 183 "ios/audio_device_ios.h",
183 "ios/audio_device_ios.mm", 184 "ios/audio_device_ios.mm",
184 "ios/audio_device_not_implemented_ios.mm", 185 "ios/audio_device_not_implemented_ios.mm",
185 "ios/audio_session_observer.h", 186 "ios/audio_session_observer.h",
186 "ios/objc/RTCAudioSession+Configuration.mm",
187 "ios/objc/RTCAudioSession+Private.h",
188 "ios/objc/RTCAudioSession.h",
189 "ios/objc/RTCAudioSession.mm",
190 "ios/objc/RTCAudioSessionConfiguration.h",
191 "ios/objc/RTCAudioSessionConfiguration.m",
192 "ios/objc/RTCAudioSessionDelegateAdapter.h", 187 "ios/objc/RTCAudioSessionDelegateAdapter.h",
193 "ios/objc/RTCAudioSessionDelegateAdapter.mm", 188 "ios/objc/RTCAudioSessionDelegateAdapter.mm",
194 "ios/voice_processing_audio_unit.h", 189 "ios/voice_processing_audio_unit.h",
195 "ios/voice_processing_audio_unit.mm", 190 "ios/voice_processing_audio_unit.mm",
196 ] 191 ]
197 libs = [ 192 libs = [
198 "AudioToolbox.framework", 193 "AudioToolbox.framework",
199 "AVFoundation.framework", 194 "AVFoundation.framework",
200 "Foundation.framework", 195 "Foundation.framework",
201 "UIKit.framework", 196 "UIKit.framework",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "android/audio_manager_unittest.cc", 298 "android/audio_manager_unittest.cc",
304 "android/ensure_initialized.cc", 299 "android/ensure_initialized.cc",
305 "android/ensure_initialized.h", 300 "android/ensure_initialized.h",
306 ] 301 ]
307 deps += [ 302 deps += [
308 "../../../base", 303 "../../../base",
309 "//webrtc/sdk/android:libjingle_peerconnection_java", 304 "//webrtc/sdk/android:libjingle_peerconnection_java",
310 ] 305 ]
311 } 306 }
312 if (is_ios) { 307 if (is_ios) {
313 sources += [ 308 sources += [ "ios/audio_device_unittest_ios.mm" ]
314 "ios/audio_device_unittest_ios.mm",
315 "ios/objc/RTCAudioSessionTest.mm",
316 ]
317 deps += [ "//third_party/ocmock" ] 309 deps += [ "//third_party/ocmock" ]
318 } 310 }
319 if (!build_with_chromium && is_clang) { 311 if (!build_with_chromium && is_clang) {
320 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 312 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
321 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 313 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
322 } 314 }
323 } 315 }
324 316
325 if (!is_ios) { 317 if (!is_ios) {
326 # These tests do not work on ios, see 318 # These tests do not work on ios, see
(...skipping 28 matching lines...) Expand all
355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", 347 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
356 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", 348 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
357 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", 349 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
358 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", 350 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
359 ] 351 ]
360 deps = [ 352 deps = [
361 "//webrtc/base:base_java", 353 "//webrtc/base:base_java",
362 ] 354 ]
363 } 355 }
364 } 356 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698