From 5dbfd6d8e61b814ed8112f765f9225142018bb35 Mon Sep 17 00:00:00 2001 From: Frank Barchard <fbarchard@google.com> Date: Thu, 7 Jul 2016 10:47:06 -0700 Subject: [PATCH] enable chromium code for GN, bumping warning level. previously gyp enabled 'chromium_code': 1, for stricter warnings, but GN disabled warnings: configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] This CL enables strict warnings for GN as well as GYP. R=rsesek@chromium.org BUG=libyuv:617 Review URL: https://codereview.chromium.org/2130583003 . --- BUILD.gn | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index b091cbc2..3f935f5c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -79,10 +79,7 @@ source_set("libyuv") { "source/video_common.cc", ] - configs -= [ "//build/config/compiler:chromium_code" ] - configs += [ "//build/config/compiler:no_chromium_code" ] - - public_configs = [ ":libyuv_config" ] + public_configs = [ ":libyuv_config" ] defines = [] -- 2.18.0