From a8a39e25af3c19bb91434fdf367cffa0e1536934 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 12 Oct 2015 15:47:07 -0700 Subject: Allow building of XFA branch without XFA R=thestig@chromium.org Review URL: https://codereview.chromium.org/1399833002 . --- samples/BUILD.gn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'samples/BUILD.gn') 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") { -- cgit v1.2.3