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

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

Issue 2790883002: remove module-wide warning suppression. (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 | « no previous file | webrtc/modules/audio_device/ios/objc/RTCAudioSession.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
11 if (is_android) { 11 if (is_android) {
12 import("//build/config/android/config.gni") 12 import("//build/config/android/config.gni")
13 import("//build/config/android/rules.gni") 13 import("//build/config/android/rules.gni")
14 } 14 }
15 15
16 config("audio_device_config") { 16 config("audio_device_config") {
17 include_dirs = [ 17 include_dirs = [
18 "../include", 18 "../include",
19 "include", 19 "include",
20 "dummy", # Contains dummy audio device implementations. 20 "dummy", # Contains dummy audio device implementations.
21 ] 21 ]
22 if (is_ios) {
23 # GN orders flags on a target before flags from configs. In order to be able
24 # suppress the -Wthread-safety-analysis warning, it has come from a config
25 # and can't be on the target directly.
26 # TODO(tkchin): Remove after fixing
27 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5748
28 cflags = [ "-Wno-thread-safety-analysis" ]
29 }
30 } 22 }
31 23
32 config("audio_device_warnings_config") { 24 config("audio_device_warnings_config") {
33 if (is_win && is_clang) { 25 if (is_win && is_clang) {
34 cflags = [ 26 cflags = [
35 # Disable warnings failing when compiling with Clang on Windows. 27 # Disable warnings failing when compiling with Clang on Windows.
36 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 28 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
37 "-Wno-bool-conversion", 29 "-Wno-bool-conversion",
38 "-Wno-delete-non-virtual-dtor", 30 "-Wno-delete-non-virtual-dtor",
39 "-Wno-logical-op-parentheses", 31 "-Wno-logical-op-parentheses",
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java", 346 "android/java/src/org/webrtc/voiceengine/WebRtcAudioManager.java",
355 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java", 347 "android/java/src/org/webrtc/voiceengine/WebRtcAudioRecord.java",
356 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java", 348 "android/java/src/org/webrtc/voiceengine/WebRtcAudioTrack.java",
357 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java", 349 "android/java/src/org/webrtc/voiceengine/WebRtcAudioUtils.java",
358 ] 350 ]
359 deps = [ 351 deps = [
360 "//webrtc/base:base_java", 352 "//webrtc/base:base_java",
361 ] 353 ]
362 } 354 }
363 } 355 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698