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

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

Issue 1778793005: Refactor AVAudioSession intialization code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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("../../build/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "AudioToolbox.framework", 128 "AudioToolbox.framework",
129 "CoreAudio.framework", 129 "CoreAudio.framework",
130 ] 130 ]
131 } 131 }
132 if (is_ios) { 132 if (is_ios) {
133 deps += [ "../../base:rtc_base_objc" ] 133 deps += [ "../../base:rtc_base_objc" ]
134 sources += [ 134 sources += [
135 "ios/audio_device_ios.h", 135 "ios/audio_device_ios.h",
136 "ios/audio_device_ios.mm", 136 "ios/audio_device_ios.mm",
137 "ios/audio_device_not_implemented_ios.mm", 137 "ios/audio_device_not_implemented_ios.mm",
138 "ios/objc/RTCAudioSession+Configuration.h",
138 "ios/objc/RTCAudioSession+Private.h", 139 "ios/objc/RTCAudioSession+Private.h",
139 "ios/objc/RTCAudioSession.h", 140 "ios/objc/RTCAudioSession.h",
140 "ios/objc/RTCAudioSession.mm", 141 "ios/objc/RTCAudioSession.mm",
142 "ios/objc/RTCAudioSessionConfiguration.h",
143 "ios/objc/RTCAudioSessionConfiguration.m",
141 ] 144 ]
142 cflags += [ "-fobjc-arc" ] # CLANG_ENABLE_OBJC_ARC = YES. 145 cflags += [ "-fobjc-arc" ] # CLANG_ENABLE_OBJC_ARC = YES.
143 libs = [ 146 libs = [
144 "AudioToolbox.framework", 147 "AudioToolbox.framework",
145 "AVFoundation.framework", 148 "AVFoundation.framework",
146 "Foundation.framework", 149 "Foundation.framework",
147 "UIKit.framework", 150 "UIKit.framework",
148 ] 151 ]
149 } 152 }
150 if (is_win) { 153 if (is_win) {
(...skipping 30 matching lines...) Expand all
181 "../..:common_inherited_config", 184 "../..:common_inherited_config",
182 ":audio_device_config", 185 ":audio_device_config",
183 ] 186 ]
184 187
185 if (is_clang) { 188 if (is_clang) {
186 # Suppress warnings from Chrome's Clang plugins. 189 # Suppress warnings from Chrome's Clang plugins.
187 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 190 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
188 configs -= [ "//build/config/clang:find_bad_constructs" ] 191 configs -= [ "//build/config/clang:find_bad_constructs" ]
189 } 192 }
190 } 193 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_device/audio_device.gypi » ('j') | webrtc/modules/audio_device/audio_device.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698