summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-09-03 16:16:10 -0700
committerLei Zhang <thestig@chromium.org>2015-09-03 16:16:10 -0700
commite262c9af51c9227acb0966d7b8d29564600e15df (patch)
tree1cc385a7b24b8d143102767b58fa2361af3d8829 /third_party
parent6de7f2fa1faeb7aea117b6a9c650818425fe95dd (diff)
downloadpdfium-e262c9af51c9227acb0966d7b8d29564600e15df.tar.xz
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 .
Diffstat (limited to 'third_party')
-rw-r--r--third_party/BUILD.gn15
1 files 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",