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

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

Issue 2041233006: GN: Add modules_unittests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Correct path to base.gyp Created 4 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
« no previous file with comments | « webrtc/modules/audio_coding/audio_coding.gni ('k') | webrtc/modules/audio_processing/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 ] 133 ]
134 libs = [ 134 libs = [
135 "AudioToolbox.framework", 135 "AudioToolbox.framework",
136 "CoreAudio.framework", 136 "CoreAudio.framework",
137 137
138 # Needed for CGEventSourceKeyState in audio_device_mac.cc: 138 # Needed for CGEventSourceKeyState in audio_device_mac.cc:
139 "CoreGraphics.framework", 139 "CoreGraphics.framework",
140 ] 140 ]
141 } 141 }
142 if (is_ios) { 142 if (is_ios) {
143 deps += [ "../../sdk:rtc_sdk_common_objc" ] 143 public_deps = [
144 "../../sdk:rtc_sdk_common_objc",
145 ]
144 sources += [ 146 sources += [
145 "ios/audio_device_ios.h", 147 "ios/audio_device_ios.h",
146 "ios/audio_device_ios.mm", 148 "ios/audio_device_ios.mm",
147 "ios/audio_device_not_implemented_ios.mm", 149 "ios/audio_device_not_implemented_ios.mm",
148 "ios/audio_session_observer.h", 150 "ios/audio_session_observer.h",
149 "ios/objc/RTCAudioSession+Configuration.mm", 151 "ios/objc/RTCAudioSession+Configuration.mm",
150 "ios/objc/RTCAudioSession+Private.h", 152 "ios/objc/RTCAudioSession+Private.h",
151 "ios/objc/RTCAudioSession.h", 153 "ios/objc/RTCAudioSession.h",
152 "ios/objc/RTCAudioSession.mm", 154 "ios/objc/RTCAudioSession.mm",
153 "ios/objc/RTCAudioSessionConfiguration.h", 155 "ios/objc/RTCAudioSessionConfiguration.h",
154 "ios/objc/RTCAudioSessionConfiguration.m", 156 "ios/objc/RTCAudioSessionConfiguration.m",
155 "ios/objc/RTCAudioSessionDelegateAdapter.h", 157 "ios/objc/RTCAudioSessionDelegateAdapter.h",
156 "ios/objc/RTCAudioSessionDelegateAdapter.mm", 158 "ios/objc/RTCAudioSessionDelegateAdapter.mm",
157 "ios/voice_processing_audio_unit.h", 159 "ios/voice_processing_audio_unit.h",
158 "ios/voice_processing_audio_unit.mm", 160 "ios/voice_processing_audio_unit.mm",
159 ] 161 ]
160 cflags += [ "-fobjc-arc" ] # CLANG_ENABLE_OBJC_ARC = YES. 162 configs += [ "//build/config/compiler:enable_arc" ]
161 163
162 libs = [ 164 libs = [
163 "AudioToolbox.framework", 165 "AudioToolbox.framework",
164 "AVFoundation.framework", 166 "AVFoundation.framework",
165 "Foundation.framework", 167 "Foundation.framework",
166 "UIKit.framework", 168 "UIKit.framework",
167 ] 169 ]
168 } 170 }
169 if (is_win) { 171 if (is_win) {
170 sources += [ 172 sources += [
(...skipping 29 matching lines...) Expand all
200 "../..:common_inherited_config", 202 "../..:common_inherited_config",
201 ":audio_device_config", 203 ":audio_device_config",
202 ] 204 ]
203 205
204 if (is_clang) { 206 if (is_clang) {
205 # Suppress warnings from Chrome's Clang plugins. 207 # Suppress warnings from Chrome's Clang plugins.
206 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 208 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
207 configs -= [ "//build/config/clang:find_bad_constructs" ] 209 configs -= [ "//build/config/clang:find_bad_constructs" ]
208 } 210 }
209 } 211 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/audio_coding.gni ('k') | webrtc/modules/audio_processing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698