diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-19 18:06:35 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-19 18:06:35 +0000 |
commit | 360edebb1889e16d5084f2a3081ffdcfc0f60efa (patch) | |
tree | 9c6c5495f1f99507306b1b2dbed4fa4d0d2b086d /BUILD.gn | |
parent | d84b42c71a8122b7cd144474fd6d6aaa787f54e1 (diff) | |
download | pdfium-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.gn | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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" ] } |