summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
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" ]
}