Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2460)

Unified Diff: build_overrides/pdfium.gni

Issue 1923343002: Add PDFium build_overrides (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | pdf/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_overrides/pdfium.gni
diff --git a/build_overrides/pdfium.gni b/build_overrides/pdfium.gni
new file mode 100644
index 0000000000000000000000000000000000000000..86751eb27df17762ff58c3eb5f908d7f6c6d2cc0
--- /dev/null
+++ b/build_overrides/pdfium.gni
@@ -0,0 +1,19 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# On Android there's no system FreeType. On Windows and Mac, only a few
+# methods are used from it.
+pdfium_bundle_freetype = !is_linux
+
+# Enable use of Javascript in PDFs.
+pdf_enable_v8 = true
+
+# Disable XFA forms in Chromium builds.
+pdf_enable_xfa = false
+
+# Disable use of Skia backend.
+pdf_use_skia = false
+
+# Build is part of Chrome, not standalone.
+pdf_is_standalone = false
Dirk Pranke 2016/04/28 00:53:12 You could theoretically use the build_with_chromiu
dsinclair 2016/04/28 14:14:45 My preference is to not tie this to chromium as PD
« no previous file with comments | « DEPS ('k') | pdf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698