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

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

Issue 2781713004: GN: Enable ARC for Mac and iOS in rtc_* templates (Closed)
Patch Set: Rebase Created 3 years, 8 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/examples/BUILD.gn ('k') | webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm » ('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("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "ios/objc/RTCAudioSession+Private.h", 191 "ios/objc/RTCAudioSession+Private.h",
192 "ios/objc/RTCAudioSession.h", 192 "ios/objc/RTCAudioSession.h",
193 "ios/objc/RTCAudioSession.mm", 193 "ios/objc/RTCAudioSession.mm",
194 "ios/objc/RTCAudioSessionConfiguration.h", 194 "ios/objc/RTCAudioSessionConfiguration.h",
195 "ios/objc/RTCAudioSessionConfiguration.m", 195 "ios/objc/RTCAudioSessionConfiguration.m",
196 "ios/objc/RTCAudioSessionDelegateAdapter.h", 196 "ios/objc/RTCAudioSessionDelegateAdapter.h",
197 "ios/objc/RTCAudioSessionDelegateAdapter.mm", 197 "ios/objc/RTCAudioSessionDelegateAdapter.mm",
198 "ios/voice_processing_audio_unit.h", 198 "ios/voice_processing_audio_unit.h",
199 "ios/voice_processing_audio_unit.mm", 199 "ios/voice_processing_audio_unit.mm",
200 ] 200 ]
201 configs += [ "//build/config/compiler:enable_arc" ]
202
203 libs = [ 201 libs = [
204 "AudioToolbox.framework", 202 "AudioToolbox.framework",
205 "AVFoundation.framework", 203 "AVFoundation.framework",
206 "Foundation.framework", 204 "Foundation.framework",
207 "UIKit.framework", 205 "UIKit.framework",
208 ] 206 ]
209 } 207 }
210 if (is_win) { 208 if (is_win) {
211 sources += [ 209 sources += [
212 "win/audio_device_core_win.cc", 210 "win/audio_device_core_win.cc",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 "android/ensure_initialized.cc", 288 "android/ensure_initialized.cc",
291 "android/ensure_initialized.h", 289 "android/ensure_initialized.h",
292 ] 290 ]
293 deps += [ 291 deps += [
294 "../../../base", 292 "../../../base",
295 "//webrtc/sdk/android:libjingle_peerconnection_java", 293 "//webrtc/sdk/android:libjingle_peerconnection_java",
296 ] 294 ]
297 } 295 }
298 if (is_ios) { 296 if (is_ios) {
299 sources += [ "ios/objc/RTCAudioSessionTest.mm" ] 297 sources += [ "ios/objc/RTCAudioSessionTest.mm" ]
300 configs += [ "//build/config/compiler:enable_arc" ]
301 if (target_cpu != "x64") { 298 if (target_cpu != "x64") {
302 sources += [ "ios/audio_device_unittest_ios.cc" ] 299 sources += [ "ios/audio_device_unittest_ios.cc" ]
303 } 300 }
304 } 301 }
305 if (!build_with_chromium && is_clang) { 302 if (!build_with_chromium && is_clang) {
306 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 303 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
307 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 304 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
308 } 305 }
309 } 306 }
310 307
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", 351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", 352 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
356 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", 353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
357 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", 354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
358 ] 355 ]
359 deps = [ 356 deps = [
360 "//webrtc/base:base_java", 357 "//webrtc/base:base_java",
361 ] 358 ]
362 } 359 }
363 } 360 }
OLDNEW
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/modules/desktop_capture/mouse_cursor_monitor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698