blob: ede452ff1a83006a88e660d4886d8e695d78adce [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
thestig3e454bf2016-07-29 16:29:04 -070023 # Build PDFium with or without experimental win32 GDI APIs.
24 pdf_use_win32_gdi = pdf_use_win32_gdi_override
25
dsinclair685bb882016-04-20 07:32:39 -070026 # Build PDFium standalone
27 pdf_is_standalone = false
Tom Sepez452b4f32015-10-13 09:27:27 -070028}