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

Side by Side Diff: webrtc/media/BUILD.gn

Issue 2369893002: Enable //build/config/clang:extra_warnings for rtc_media (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | 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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("../build/webrtc.gni") 10 import("../build/webrtc.gni")
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "engine/webrtcvoiceengine.cc", 114 "engine/webrtcvoiceengine.cc",
115 "engine/webrtcvoiceengine.h", 115 "engine/webrtcvoiceengine.h",
116 "sctp/sctpdataengine.cc", 116 "sctp/sctpdataengine.cc",
117 "sctp/sctpdataengine.h", 117 "sctp/sctpdataengine.h",
118 ] 118 ]
119 119
120 configs += [ ":rtc_media_warnings_config" ] 120 configs += [ ":rtc_media_warnings_config" ]
121 121
122 if (is_clang) { 122 if (is_clang) {
123 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 123 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
124 suppressed_configs += [ 124 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
125 "//build/config/clang:extra_warnings",
126 "//build/config/clang:find_bad_constructs",
127 ]
128 } 125 }
129 126
130 if (is_win) { 127 if (is_win) {
131 cflags = [ 128 cflags = [
132 "/wd4245", # conversion from "int" to "size_t", signed/unsigned mismatch. 129 "/wd4245", # conversion from "int" to "size_t", signed/unsigned mismatch.
133 "/wd4267", # conversion from "size_t" to "int", possible loss of data. 130 "/wd4267", # conversion from "size_t" to "int", possible loss of data.
134 "/wd4389", # signed/unsigned mismatch. 131 "/wd4389", # signed/unsigned mismatch.
135 ] 132 ]
136 } 133 }
137 134
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 deps += [ 360 deps += [
364 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. 361 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243.
365 ":rtc_media", 362 ":rtc_media",
366 ":rtc_unittest_main", 363 ":rtc_unittest_main",
367 "../audio", 364 "../audio",
368 "../base:rtc_base_tests_utils", 365 "../base:rtc_base_tests_utils",
369 "../system_wrappers:metrics_default", 366 "../system_wrappers:metrics_default",
370 ] 367 ]
371 } 368 }
372 } 369 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698