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

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

Issue 2020343003: GN: Replace Windows suppressions of warning 4267 with config. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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/modules/bitrate_controller/BUILD.gn ('k') | webrtc/modules/media_file/BUILD.gn » ('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 source_set("congestion_controller") { 11 source_set("congestion_controller") {
12 sources = [ 12 sources = [
13 "congestion_controller.cc", 13 "congestion_controller.cc",
14 "include/congestion_controller.h", 14 "include/congestion_controller.h",
15 ] 15 ]
16 16
17 if (is_win) {
18 cflags = [
19 # TODO(jschuh): Bug 1348: fix this warning.
20 "/wd4267", # size_t to int truncations
21 ]
22 }
23
24 configs += [ "../..:common_config" ] 17 configs += [ "../..:common_config" ]
25 public_configs = [ "../..:common_inherited_config" ] 18 public_configs = [ "../..:common_inherited_config" ]
26 19
20 # TODO(jschuh): Bug 1348: fix this warning.
21 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
22
27 if (is_clang) { 23 if (is_clang) {
28 # Suppress warnings from Chrome's Clang plugins. 24 # Suppress warnings from Chrome's Clang plugins.
29 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 25 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
30 configs -= [ "//build/config/clang:find_bad_constructs" ] 26 configs -= [ "//build/config/clang:find_bad_constructs" ]
31 } 27 }
32 28
33 deps = [ 29 deps = [
34 "../bitrate_controller", 30 "../bitrate_controller",
35 "../pacing", 31 "../pacing",
36 "../remote_bitrate_estimator", 32 "../remote_bitrate_estimator",
37 ] 33 ]
38 } 34 }
OLDNEW
« no previous file with comments | « webrtc/modules/bitrate_controller/BUILD.gn ('k') | webrtc/modules/media_file/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698