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

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

Issue 2103863004: UMA log for audio_device Init and Start(Playout|Recording). Make Init return a more specific error … (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rename variable. Created 4 years, 5 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 | « no previous file | webrtc/modules/audio_device/android/audio_device_template.h » ('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
11 config("audio_device_config") { 11 config("audio_device_config") {
12 include_dirs = [ 12 include_dirs = [
13 "../include", 13 "../include",
14 "include", 14 "include",
15 "dummy", # Contains dummy audio device implementations. 15 "dummy", # Contains dummy audio device implementations.
16 ] 16 ]
17 if (is_ios) { 17 if (is_ios) {
18 # GN orders flags on a target before flags from configs. In order to be able 18 # GN orders flags on a target before flags from configs. In order to be able
19 # suppress the -Wthread-safety-analysis warning, it has come from a config 19 # suppress the -Wthread-safety-analysis warning, it has come from a config
20 # and can't be on the target directly. 20 # and can't be on the target directly.
21 # TODO(tkchin): Remove after fixing 21 # TODO(tkchin): Remove after fixing
22 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5748 22 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5748
23 cflags = [ "-Wno-thread-safety-analysis" ] 23 cflags = [ "-Wno-thread-safety-analysis" ]
24 } 24 }
25 } 25 }
26 26
27 source_set("audio_device") { 27 source_set("audio_device") {
28 deps = [ 28 deps = [
29 "../..:webrtc_common", 29 "../..:webrtc_common",
30 "../../base:rtc_base",
kjellander_webrtc 2016/09/14 19:47:15 We try to avoid this dependency (but we haven't up
30 "../../base:rtc_base_approved", 31 "../../base:rtc_base_approved",
31 "../../common_audio", 32 "../../common_audio",
32 "../../system_wrappers", 33 "../../system_wrappers",
33 "../utility", 34 "../utility",
34 ] 35 ]
35 36
36 sources = [ 37 sources = [
37 "audio_device_buffer.cc", 38 "audio_device_buffer.cc",
38 "audio_device_buffer.h", 39 "audio_device_buffer.h",
39 "audio_device_config.h", 40 "audio_device_config.h",
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 "../..:common_inherited_config", 203 "../..:common_inherited_config",
203 ":audio_device_config", 204 ":audio_device_config",
204 ] 205 ]
205 206
206 if (is_clang) { 207 if (is_clang) {
207 # Suppress warnings from Chrome's Clang plugins. 208 # Suppress warnings from Chrome's Clang plugins.
208 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 209 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
209 configs -= [ "//build/config/clang:find_bad_constructs" ] 210 configs -= [ "//build/config/clang:find_bad_constructs" ]
210 } 211 }
211 } 212 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_device/android/audio_device_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698