diff --git a/common_video/BUILD.gn b/common_video/BUILD.gn index 44e2170bca..650b6ad5fc 100644 --- a/common_video/BUILD.gn +++ b/common_video/BUILD.gn @@ -99,9 +99,6 @@ if (rtc_include_tests) { "libyuv/libyuv_unittest.cc", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/modules/audio_processing/BUILD.gn b/modules/audio_processing/BUILD.gn index c36197645e..ae6118c6bf 100644 --- a/modules/audio_processing/BUILD.gn +++ b/modules/audio_processing/BUILD.gn @@ -168,9 +168,6 @@ rtc_static_library("audio_processing") { defines += [ "WEBRTC_NS_FLOAT" ] } - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - deps += [ "../../common_audio", "../../common_audio:fir_filter", @@ -420,9 +417,6 @@ rtc_source_set("aec_core") { } else { sources += [ "aecm/aecm_core_c.cc" ] } - - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] } if (rtc_include_tests) { diff --git a/modules/audio_processing/aec3/BUILD.gn b/modules/audio_processing/aec3/BUILD.gn index 3cd28f335a..f6b8ad0b51 100644 --- a/modules/audio_processing/aec3/BUILD.gn +++ b/modules/audio_processing/aec3/BUILD.gn @@ -125,8 +125,6 @@ rtc_static_library("aec3") { "../../../system_wrappers:metrics_api", "//third_party/abseil-cpp/absl/types:optional", ] - - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] } if (rtc_include_tests) { @@ -202,7 +200,5 @@ if (rtc_include_tests) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] } - - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] } } diff --git a/modules/bitrate_controller/BUILD.gn b/modules/bitrate_controller/BUILD.gn index 6c478561f4..d45b724fd6 100644 --- a/modules/bitrate_controller/BUILD.gn +++ b/modules/bitrate_controller/BUILD.gn @@ -23,10 +23,6 @@ rtc_static_library("bitrate_controller") { } else { defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] } - - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/modules/congestion_controller/BUILD.gn b/modules/congestion_controller/BUILD.gn index f4d1f7a4c3..423f1701d5 100644 --- a/modules/congestion_controller/BUILD.gn +++ b/modules/congestion_controller/BUILD.gn @@ -30,9 +30,6 @@ rtc_static_library("congestion_controller") { "send_side_congestion_controller.cc", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/modules/congestion_controller/goog_cc/BUILD.gn b/modules/congestion_controller/goog_cc/BUILD.gn index fad65efdf1..554a83c966 100644 --- a/modules/congestion_controller/goog_cc/BUILD.gn +++ b/modules/congestion_controller/goog_cc/BUILD.gn @@ -29,9 +29,6 @@ rtc_static_library("goog_cc") { "probe_controller.h", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/modules/congestion_controller/rtp/BUILD.gn b/modules/congestion_controller/rtp/BUILD.gn index 3b366914d6..25b200d90e 100644 --- a/modules/congestion_controller/rtp/BUILD.gn +++ b/modules/congestion_controller/rtp/BUILD.gn @@ -26,9 +26,6 @@ rtc_static_library("congestion_controller") { "send_side_congestion_controller.cc", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/modules/pacing/BUILD.gn b/modules/pacing/BUILD.gn index a8b6e3fb04..2b41eeeade 100644 --- a/modules/pacing/BUILD.gn +++ b/modules/pacing/BUILD.gn @@ -82,8 +82,6 @@ if (rtc_include_tests) { "../rtp_rtcp:rtp_rtcp_format", ] - # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/modules/rtp_rtcp/BUILD.gn b/modules/rtp_rtcp/BUILD.gn index 6d39e9e590..f19b32869b 100644 --- a/modules/rtp_rtcp/BUILD.gn +++ b/modules/rtp_rtcp/BUILD.gn @@ -224,9 +224,6 @@ rtc_static_library("rtp_rtcp") { "../remote_bitrate_estimator", "//third_party/abseil-cpp/absl/types:optional", ] - - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] } rtc_source_set("rtcp_transceiver") { @@ -271,9 +268,6 @@ rtc_source_set("fec_test_helper") { "../../rtc_base:checks", "../../rtc_base:rtc_base_approved", ] - - # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] } rtc_source_set("mock_rtp_rtcp") { @@ -434,8 +428,5 @@ if (rtc_include_tests) { "../audio_coding:audio_format_conversion", "//third_party/abseil-cpp/absl/types:optional", ] - - # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] } } diff --git a/modules/video_coding/BUILD.gn b/modules/video_coding/BUILD.gn index ad2a034a65..f247ac9fe7 100644 --- a/modules/video_coding/BUILD.gn +++ b/modules/video_coding/BUILD.gn @@ -45,9 +45,6 @@ rtc_static_library("nack_module") { "nack_module.h", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] @@ -144,9 +141,6 @@ rtc_static_library("video_coding") { "video_sender.cc", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] @@ -399,9 +393,6 @@ rtc_static_library("webrtc_vp8_helpers") { "codecs/vp8/temporal_layers.h", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] @@ -440,9 +431,6 @@ rtc_static_library("webrtc_vp8") { "codecs/vp8/libvpx_vp8_encoder.h", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] @@ -481,9 +469,6 @@ rtc_static_library("webrtc_vp9_helpers") { "codecs/vp9/svc_rate_allocator.h", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] @@ -895,9 +880,6 @@ if (rtc_include_tests) { if (rtc_build_libvpx) { deps += [ rtc_libvpx_dir ] } - - # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/pc/BUILD.gn b/pc/BUILD.gn index 5509a0c09c..afa08a3079 100644 --- a/pc/BUILD.gn +++ b/pc/BUILD.gn @@ -473,9 +473,6 @@ if (rtc_include_tests) { suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] } - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - deps = [ ":peerconnection", ":rtc_pc_base", diff --git a/rtc_tools/BUILD.gn b/rtc_tools/BUILD.gn index f99be15657..6d200da5a0 100644 --- a/rtc_tools/BUILD.gn +++ b/rtc_tools/BUILD.gn @@ -145,9 +145,6 @@ if (!build_with_chromium) { "frame_editing/frame_editing_lib.h", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] @@ -330,9 +327,6 @@ if (rtc_include_tests) { "simple_command_line_parser_unittest.cc", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] diff --git a/sdk/android/BUILD.gn b/sdk/android/BUILD.gn index 952278598a..031a20fcbe 100644 --- a/sdk/android/BUILD.gn +++ b/sdk/android/BUILD.gn @@ -333,9 +333,6 @@ rtc_static_library("video_jni") { "src/jni/yuvhelper.cc", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (rtc_use_builtin_sw_codecs) { sources += [ "src/jni/androidmediacodeccommon.h", @@ -554,9 +551,6 @@ rtc_static_library("peerconnection_jni") { ] } - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - deps = [ ":base_jni", ":generated_external_classes_jni", diff --git a/system_wrappers/BUILD.gn b/system_wrappers/BUILD.gn index af778fd90c..9b178f92eb 100644 --- a/system_wrappers/BUILD.gn +++ b/system_wrappers/BUILD.gn @@ -83,9 +83,6 @@ rtc_static_library("system_wrappers") { defines += [ "WEBRTC_THREAD_RR" ] } - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (is_win) { libs += [ "winmm.lib" ] @@ -218,12 +215,9 @@ if (rtc_include_tests) { "source/ntp_time_unittest.cc", "source/rtp_to_ntp_estimator_unittest.cc", ] - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] if (is_posix || is_fuchsia) { - sources += [ - "source/event_timer_posix_unittest.cc", - ] + sources += [ "source/event_timer_posix_unittest.cc" ] } if (!build_with_chromium && is_clang) { diff --git a/test/BUILD.gn b/test/BUILD.gn index 60d725bea6..00304a8467 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -338,9 +338,6 @@ if (rtc_include_tests) { "testsupport/yuv_frame_writer_unittest.cc", ] - # TODO(jschuh): Bug 1348: fix this warning. - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] - if (!build_with_chromium && is_clang) { # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]