| Index: webrtc/modules/video_coding/BUILD.gn
|
| diff --git a/webrtc/modules/video_coding/BUILD.gn b/webrtc/modules/video_coding/BUILD.gn
|
| index c18ae7152d3ad863ea89a6380b6de16333d692ae..0ea5ea2455e9baeefe49a611282d68c404d75610 100644
|
| --- a/webrtc/modules/video_coding/BUILD.gn
|
| +++ b/webrtc/modules/video_coding/BUILD.gn
|
| @@ -75,12 +75,8 @@ source_set("video_coding") {
|
| configs += [ "../..:common_config" ]
|
| public_configs = [ "../..:common_inherited_config" ]
|
|
|
| - if (is_win) {
|
| - cflags = [
|
| - # TODO(jschuh): Bug 1348: fix this warning.
|
| - "/wd4267", # size_t to int truncation.
|
| - ]
|
| - }
|
| + # TODO(jschuh): Bug 1348: fix this warning.
|
| + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
|
|
| if (is_clang) {
|
| # Suppress warnings from Chrome's Clang plugins.
|
| @@ -263,19 +259,15 @@ source_set("webrtc_vp8") {
|
| configs += [ "../..:common_config" ]
|
| public_configs = [ "../..:common_inherited_config" ]
|
|
|
| + # TODO(jschuh): Bug 1348: fix this warning.
|
| + configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
| +
|
| if (is_clang) {
|
| # Suppress warnings from Chrome's Clang plugins.
|
| # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
| - if (is_win) {
|
| - cflags = [
|
| - # TODO(jschuh): Bug 1348: fix this warning.
|
| - "/wd4267", # size_t to int truncation.
|
| - ]
|
| - }
|
| -
|
| deps = [
|
| ":video_coding_utility",
|
| "../..:webrtc_common",
|
|
|