Removing usage of //build/config/compiler:no_size_t_to_int_warning.

Bug: webrtc:9251, webrtc:1348
Change-Id: I76e52abbfab5666cad73044b49172a9799539108
Reviewed-on: https://webrtc-review.googlesource.com/84144
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23686}
This commit is contained in:
Mirko Bonadei 2018-06-20 14:52:15 +02:00 committed by Commit Bot
parent de212ca039
commit beb2d9813c
15 changed files with 1 additions and 80 deletions

View File

@ -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" ]

View File

@ -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) {

View File

@ -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" ]
}
}

View File

@ -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" ]

View File

@ -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" ]

View File

@ -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" ]

View File

@ -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" ]

View File

@ -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" ]

View File

@ -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" ]
}
}

View File

@ -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" ]

View File

@ -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",

View File

@ -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" ]

View File

@ -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",

View File

@ -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) {

View File

@ -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" ]