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 . --- pdfium.gni | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pdfium.gni (limited to 'pdfium.gni') diff --git a/pdfium.gni b/pdfium.gni new file mode 100644 index 0000000000..8e99e5f26a --- /dev/null +++ b/pdfium.gni @@ -0,0 +1,17 @@ +# Copyright 2015 PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# This file contains PDFium-related build flags. + +declare_args() { + # On Android there's no system FreeType. On Windows and Mac, only a few + # methods are used from it. + pdfium_bundle_freetype = !is_linux + + # Build PDFium either with or without XFA Forms support. + pdf_enable_xfa = true + + # Build PDFium against skia (experimental) rather than agg. + pdf_use_skia = false +} \ No newline at end of file -- cgit v1.2.3