From fe826f33f3dd5c799eba5b9bcd105a06ab225a68 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Wed, 16 May 2018 09:00:54 +0200 Subject: [PATCH] Removing warning suppression flags from media/BUILD.gn. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:9251 Change-Id: I52e1d06311fd973956ca410540ad99f5fb792cda Reviewed-on: https://webrtc-review.googlesource.com/77041 Reviewed-by: Patrik Höglund Commit-Queue: Mirko Bonadei Cr-Commit-Position: refs/heads/master@{#23260} --- media/BUILD.gn | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/media/BUILD.gn b/media/BUILD.gn index 402fcfbb44..8e3418664a 100644 --- a/media/BUILD.gn +++ b/media/BUILD.gn @@ -26,15 +26,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_source_set("rtc_h264_profile_id") { visibility = [ "*" ] sources = [ @@ -183,8 +174,6 @@ rtc_static_library("rtc_internal_video_codecs") { "engine/webrtcvideoencoderfactory.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" ] @@ -233,8 +222,6 @@ rtc_static_library("rtc_software_fallback_wrappers") { "engine/videoencodersoftwarefallbackwrapper.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" ] @@ -294,8 +281,6 @@ rtc_static_library("rtc_audio_video") { "engine/webrtcvoiceengine.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" ] @@ -387,8 +372,6 @@ rtc_static_library("rtc_data") { ] } - 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" ]