summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-19 18:06:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-19 18:06:35 +0000
commit360edebb1889e16d5084f2a3081ffdcfc0f60efa (patch)
tree9c6c5495f1f99507306b1b2dbed4fa4d0d2b086d /BUILD.gn
parentd84b42c71a8122b7cd144474fd6d6aaa787f54e1 (diff)
downloadpdfium-360edebb1889e16d5084f2a3081ffdcfc0f60efa.tar.xz
Fix some nits in build configs.
Mostly to sort build rules. Change-Id: I2ee4d24089f9e51b0a61b1f30b424f5f7aab7d0a Reviewed-on: https://pdfium-review.googlesource.com/21730 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn16
1 files changed, 8 insertions, 8 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 20c51c61a0..975071a654 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -25,14 +25,6 @@ config("pdfium_common_config") {
"PNG_USE_READ_MACROS",
]
- if (pdf_use_skia) {
- defines += [ "_SKIA_SUPPORT_" ]
- }
-
- if (pdf_use_skia_paths) {
- defines += [ "_SKIA_SUPPORT_PATHS_" ]
- }
-
if (pdf_enable_v8) {
defines += [ "PDF_ENABLE_V8" ]
}
@@ -53,6 +45,14 @@ config("pdfium_common_config") {
}
}
+ if (pdf_use_skia) {
+ defines += [ "_SKIA_SUPPORT_" ]
+ }
+
+ if (pdf_use_skia_paths) {
+ defines += [ "_SKIA_SUPPORT_PATHS_" ]
+ }
+
if (pdf_use_win32_gdi) {
defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ]
}