blob: 9e20f96bf7a5a6a024b8117167d332f5f4f4d3ca [file] [log] [blame]
dsinclair038bf0b2016-04-30 06:00:05 -07001# Copyright 2015 PDFium Authors. All rights reserved.
Tom Sepeza8a39e22015-10-12 15:47:07 -07002# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
dsinclairfd670fd2016-05-03 06:14:34 -07005import("//build_overrides/pdfium.gni")
6
Tom Sepeza8a39e22015-10-12 15:47:07 -07007# This file contains PDFium-related build flags.
8
9declare_args() {
10 # On Android there's no system FreeType. On Windows and Mac, only a few
11 # methods are used from it.
12 pdfium_bundle_freetype = !is_linux
13
Tom Sepez452b4f32015-10-13 09:27:27 -070014 # Build PDFium either with or without v8 support.
dsinclairfd670fd2016-05-03 06:14:34 -070015 pdf_enable_v8 = pdf_enable_v8_override
Tom Sepez452b4f32015-10-13 09:27:27 -070016
Tom Sepeza8a39e22015-10-12 15:47:07 -070017 # Build PDFium either with or without XFA Forms support.
dsinclairfd670fd2016-05-03 06:14:34 -070018 pdf_enable_xfa = pdf_enable_xfa_override
Tom Sepeza8a39e22015-10-12 15:47:07 -070019
20 # Build PDFium against skia (experimental) rather than agg.
dsinclairfd670fd2016-05-03 06:14:34 -070021 pdf_use_skia = pdf_use_skia_override
dsinclair685bb882016-04-20 07:32:39 -070022
23 # Build PDFium standalone
24 pdf_is_standalone = false
Tom Sepez452b4f32015-10-13 09:27:27 -070025}