From e262c9af51c9227acb0966d7b8d29564600e15df Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 3 Sep 2015 16:16:10 -0700 Subject: XFA: Move configs out of targets in GN build files. XFA version of https://codereview.chromium.org/1328443003 R=brettw@chromium.org Review URL: https://codereview.chromium.org/1323343002 . --- third_party/BUILD.gn | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index 44d5e75831..8e143aa348 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -94,14 +94,15 @@ source_set("fx_agg") { ] } -source_set("fx_lcms2") { - config("fx_lcms2_warnings") { - if (is_clang) { - # cmslut.cc is sloppy with aggregate initialization. Version 2.7 of this - # library doesn't appear to have this problem. - cflags = [ "-Wno-missing-braces" ] - } +config("fx_lcms2_warnings") { + if (is_clang) { + # cmslut.cc is sloppy with aggregate initialization. Version 2.7 of this + # library doesn't appear to have this problem. + cflags = [ "-Wno-missing-braces" ] } +} + +source_set("fx_lcms2") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code", -- cgit v1.2.3