Remove outdated warning suppressions.

Bug: webrtc:5478
Change-Id: Ieff41903ec8b4d4b19413d09f9ac1d1afcf1cdc6
Reviewed-on: https://chromium-review.googlesource.com/522645
Reviewed-by: Henrik Andreasson <henrika@webrtc.org>
Commit-Queue: Kári Tristan Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18471}
This commit is contained in:
Kári Tristan Helgason 2017-06-02 13:47:36 +02:00 committed by Commit Bot
parent 946923a21f
commit 8b337b6736
2 changed files with 0 additions and 22 deletions

View File

@ -23,15 +23,6 @@ config("rtc_media_defines_config") {
]
}
config("rtc_media_warnings_config") {
# GN orders flags on a target before flags from configs. The default config
# adds these flags so to cancel them out they need to come from a config and
# cannot be on the target directly.
if (!is_win) {
cflags = [ "-Wno-deprecated-declarations" ]
}
}
rtc_static_library("rtc_media_base") {
# TODO(kjellander): Remove (bugs.webrtc.org/6828)
# Enabling GN check triggers cyclic dependency error:
@ -77,8 +68,6 @@ rtc_static_library("rtc_media_base") {
"base/videosourcebase.h",
]
configs += [ ":rtc_media_warnings_config" ]
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" ]
@ -166,8 +155,6 @@ rtc_static_library("rtc_media") {
]
}
configs += [ ":rtc_media_warnings_config" ]
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

@ -136,15 +136,6 @@ if (!build_with_chromium) {
"objc/video_capture.h",
"objc/video_capture.mm",
]
cflags = [
"-fobjc-arc", # CLANG_ENABLE_OBJC_ARC = YES.
# To avoid warnings for deprecated videoMinFrameDuration and
# videoMaxFrameDuration properties in iOS 7.0.
# See webrtc:3705 for more details.
"-Wno-deprecated-declarations",
]
}
all_dependent_configs = [ ":video_capture_internal_impl_config" ]