blob: 5737224f70cc3e923f0aa2ddac06dbe2f6da28b7 [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
caryclarkaf177fe2016-11-16 10:10:03 -080020 # Build PDFium against skia (experimental) rather than agg. Use Skia to draw everything.
dsinclairfd670fd2016-05-03 06:14:34 -070021 pdf_use_skia = pdf_use_skia_override
dsinclair685bb882016-04-20 07:32:39 -070022
caryclarkaf177fe2016-11-16 10:10:03 -080023 # Build PDFium against skia (experimental) rather than agg. Use Skia to draw paths.
24 pdf_use_skia_paths = pdf_use_skia_paths_override
25
thestig3e454bf2016-07-29 16:29:04 -070026 # Build PDFium with or without experimental win32 GDI APIs.
27 pdf_use_win32_gdi = pdf_use_win32_gdi_override
28
dsinclair685bb882016-04-20 07:32:39 -070029 # Build PDFium standalone
30 pdf_is_standalone = false
Dan Sinclairda489972017-01-17 10:12:55 -050031
32 # Enable coverage information
33 use_coverage = false
Tom Sepez452b4f32015-10-13 09:27:27 -070034}