OLD | NEW |
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 Loading... |
128 "mac/audio_device_mac.h", | 128 "mac/audio_device_mac.h", |
129 "mac/audio_mixer_manager_mac.cc", | 129 "mac/audio_mixer_manager_mac.cc", |
130 "mac/audio_mixer_manager_mac.h", | 130 "mac/audio_mixer_manager_mac.h", |
131 "mac/portaudio/pa_memorybarrier.h", | 131 "mac/portaudio/pa_memorybarrier.h", |
132 "mac/portaudio/pa_ringbuffer.c", | 132 "mac/portaudio/pa_ringbuffer.c", |
133 "mac/portaudio/pa_ringbuffer.h", | 133 "mac/portaudio/pa_ringbuffer.h", |
134 ] | 134 ] |
135 libs = [ | 135 libs = [ |
136 "AudioToolbox.framework", | 136 "AudioToolbox.framework", |
137 "CoreAudio.framework", | 137 "CoreAudio.framework", |
| 138 |
| 139 # Needed for CGEventSourceKeyState in audio_device_mac.cc: |
| 140 "CoreGraphics.framework", |
138 ] | 141 ] |
139 } | 142 } |
140 if (is_ios) { | 143 if (is_ios) { |
141 deps += [ "../../sdk:rtc_sdk_common_objc" ] | 144 deps += [ "../../sdk:rtc_sdk_common_objc" ] |
142 sources += [ | 145 sources += [ |
143 "ios/audio_device_ios.h", | 146 "ios/audio_device_ios.h", |
144 "ios/audio_device_ios.mm", | 147 "ios/audio_device_ios.mm", |
145 "ios/audio_device_not_implemented_ios.mm", | 148 "ios/audio_device_not_implemented_ios.mm", |
146 "ios/audio_session_observer.h", | 149 "ios/audio_session_observer.h", |
147 "ios/objc/RTCAudioSession+Configuration.mm", | 150 "ios/objc/RTCAudioSession+Configuration.mm", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 "../..:common_inherited_config", | 201 "../..:common_inherited_config", |
199 ":audio_device_config", | 202 ":audio_device_config", |
200 ] | 203 ] |
201 | 204 |
202 if (is_clang) { | 205 if (is_clang) { |
203 # Suppress warnings from Chrome's Clang plugins. | 206 # Suppress warnings from Chrome's Clang plugins. |
204 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 207 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
205 configs -= [ "//build/config/clang:find_bad_constructs" ] | 208 configs -= [ "//build/config/clang:find_bad_constructs" ] |
206 } | 209 } |
207 } | 210 } |
OLD | NEW |