diff --git a/modules/congestion_controller/goog_cc/BUILD.gn b/modules/congestion_controller/goog_cc/BUILD.gn index 79a1d61df2..a5e4bbc798 100644 --- a/modules/congestion_controller/goog_cc/BUILD.gn +++ b/modules/congestion_controller/goog_cc/BUILD.gn @@ -83,9 +83,6 @@ rtc_source_set("estimators") { "trendline_estimator.h", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - deps = [ "../../../logging:rtc_event_bwe", "../../../logging:rtc_event_log_api", diff --git a/webrtc.gni b/webrtc.gni index 133f86ce05..c43ebd3e84 100644 --- a/webrtc.gni +++ b/webrtc.gni @@ -238,7 +238,10 @@ webrtc_root = get_path_info(".", "abspath") # It sets defines, include paths and compilation warnings accordingly, # both for WebRTC stand-alone builds and for the scenario when WebRTC # native code is built as part of Chromium. -rtc_common_configs = [ webrtc_root + ":common_config" ] +rtc_common_configs = [ + webrtc_root + ":common_config", + "//build/config/compiler:no_size_t_to_int_warning", +] if (is_mac || is_ios) { rtc_common_configs += [ "//build/config/compiler:enable_arc" ]