summaryrefslogtreecommitdiff
path: root/pdfium.gni
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-27 13:02:24 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-27 13:02:24 -0700
commit1ae572e7e35b52ce4897d1715c005a1b0f79526a (patch)
tree22eda1bab855a081f0a19db2bfb514da22f1faa5 /pdfium.gni
parent303e525325904cd9b6a847f48951510e7dd8a45e (diff)
downloadpdfium-1ae572e7e35b52ce4897d1715c005a1b0f79526a.tar.xz
Allow overriding GN build flags
In order to enable XFA from GN builds we need to be able to override pdf_enable_xfa. To do this a build_overrides/pdfium.gni file needs to be created in Chrome. To use that, we have to create a build_overrides/pdfium.gni file in PDFium that just uses the default values. BUG=chromium:62400 Review-Url: https://codereview.chromium.org/1923333002
Diffstat (limited to 'pdfium.gni')
-rw-r--r--pdfium.gni23
1 files changed, 0 insertions, 23 deletions
diff --git a/pdfium.gni b/pdfium.gni
deleted file mode 100644
index b85ac74d0f..0000000000
--- a/pdfium.gni
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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 v8 support.
- pdf_enable_v8 = true
-
- # Build PDFium either with or without XFA Forms support.
- pdf_enable_xfa = false
-
- # Build PDFium against skia (experimental) rather than agg.
- pdf_use_skia = false
-
- # Build PDFium standalone
- pdf_is_standalone = false
-}