summaryrefslogtreecommitdiff
path: root/pdfium.gni
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-06-06 19:45:14 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-06 19:45:14 +0000
commit9ce75b8b7aa81c335d755a01e4109d4092b48d59 (patch)
tree90342b581e8668dd3b3ada7f02323cd3958b1f0a /pdfium.gni
parent7c2e8a32c34e0a258963daf6483d5af1695a3dba (diff)
downloadpdfium-9ce75b8b7aa81c335d755a01e4109d4092b48d59.tar.xz
Add ability to log click events reaching PDFium
Adds in logging statement to related API methods and a build flag to control enabling the feature. This is meant to be used in conjunction with Chromium. A developer can enable this flag, load a test PDF, and then click on elements to determine appropriate coordinates for an .evt file. BUG=pdfium:1057 Change-Id: I956c39f545297872a61affdb621a412b3c407ff5 Reviewed-on: https://pdfium-review.googlesource.com/34010 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'pdfium.gni')
-rw-r--r--pdfium.gni3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdfium.gni b/pdfium.gni
index 237d7c7add..2b34cbc89d 100644
--- a/pdfium.gni
+++ b/pdfium.gni
@@ -15,6 +15,9 @@ declare_args() {
# //build/config/freetype.
pdf_bundle_freetype = pdf_bundle_freetype_override
+ # Generate logging messages for click events that reach PDFium
+ pdf_enable_click_logging = false
+
# Build PDFium either with or without v8 support.
pdf_enable_v8 = pdf_enable_v8_override