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

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

Issue 2827223003: Revert of GN: Enable ARC for Mac and iOS in rtc_* templates (Closed)
Patch Set: 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
201 libs = [ 203 libs = [
202 "AudioToolbox.framework", 204 "AudioToolbox.framework",
203 "AVFoundation.framework", 205 "AVFoundation.framework",
204 "Foundation.framework", 206 "Foundation.framework",
205 "UIKit.framework", 207 "UIKit.framework",
206 ] 208 ]
207 } 209 }
208 if (is_win) { 210 if (is_win) {
209 sources += [ 211 sources += [
210 "win/audio_device_core_win.cc", 212 "win/audio_device_core_win.cc",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 "android/ensure_initialized.cc", 290 "android/ensure_initialized.cc",
289 "android/ensure_initialized.h", 291 "android/ensure_initialized.h",
290 ] 292 ]
291 deps += [ 293 deps += [
292 "../../../base", 294 "../../../base",
293 "//webrtc/sdk/android:libjingle_peerconnection_java", 295 "//webrtc/sdk/android:libjingle_peerconnection_java",
294 ] 296 ]
295 } 297 }
296 if (is_ios) { 298 if (is_ios) {
297 sources += [ "ios/objc/RTCAudioSessionTest.mm" ] 299 sources += [ "ios/objc/RTCAudioSessionTest.mm" ]
300 configs += [ "//build/config/compiler:enable_arc" ]
298 if (target_cpu != "x64") { 301 if (target_cpu != "x64") {
299 sources += [ "ios/audio_device_unittest_ios.cc" ] 302 sources += [ "ios/audio_device_unittest_ios.cc" ]
300 } 303 }
301 } 304 }
302 if (!build_with_chromium && is_clang) { 305 if (!build_with_chromium && is_clang) {
303 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 306 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
304 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 307 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
305 } 308 }
306 } 309 }
307 310
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", 354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
352 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", 355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
353 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", 356 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", 357 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
355 ] 358 ]
356 deps = [ 359 deps = [
357 "//webrtc/base:base_java", 360 "//webrtc/base:base_java",
358 ] 361 ]
359 } 362 }
360 } 363 }
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