diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-12 15:47:07 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-12 15:47:07 -0700 |
commit | a8a39e25af3c19bb91434fdf367cffa0e1536934 (patch) | |
tree | d6bfa30a756014ec79dfce75d6658ecf3778594a /samples/BUILD.gn | |
parent | 5ef9faa8e8f5593556d78f775d86f1e52e4c341a (diff) | |
download | pdfium-a8a39e25af3c19bb91434fdf367cffa0e1536934.tar.xz |
Allow building of XFA branch without XFA
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1399833002 .
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r-- | samples/BUILD.gn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn index ca7cafa685..957b1b6b91 100644 --- a/samples/BUILD.gn +++ b/samples/BUILD.gn @@ -2,6 +2,8 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import("../pdfium.gni") + group("samples") { deps = [ ":pdfium_test", @@ -14,6 +16,9 @@ config("pdfium_samples_config") { "PNGPREFIX_H", "PNG_USE_READ_MACROS", ] + if (pdf_enable_xfa) { + defines += [ "PDF_ENABLE_XFA" ] + } } executable("pdfium_test") { |