summaryrefslogtreecommitdiff
path: root/fpdfsdk/BUILD.gn
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-12 18:39:56 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-12 18:39:56 +0000
commitdcab8cffd0b8368cd2aae7aadc6b0b437166f89f (patch)
tree5616f8323d98ab148e368e9820b8326f38c51668 /fpdfsdk/BUILD.gn
parenta7dec32a82a46cf320838bec910781ce525035bc (diff)
downloadpdfium-dcab8cffd0b8368cd2aae7aadc6b0b437166f89f.tar.xz
Split fpdfsdk build rules into various BUILD.gn files in fpdfsdk.
Change-Id: I3500ab9a9bbf0ec983e02dd4b739c9b199d71e21 Reviewed-on: https://pdfium-review.googlesource.com/c/43943 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/BUILD.gn')
-rw-r--r--fpdfsdk/BUILD.gn68
1 files changed, 68 insertions, 0 deletions
diff --git a/fpdfsdk/BUILD.gn b/fpdfsdk/BUILD.gn
new file mode 100644
index 0000000000..2fc658e363
--- /dev/null
+++ b/fpdfsdk/BUILD.gn
@@ -0,0 +1,68 @@
+# Copyright 2018 The 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.
+
+import("//build/config/jumbo.gni")
+import("../pdfium.gni")
+
+jumbo_source_set("fpdfsdk") {
+ sources = [
+ "cfx_systemhandler.cpp",
+ "cfx_systemhandler.h",
+ "cpdf_annotcontext.cpp",
+ "cpdf_annotcontext.h",
+ "cpdfsdk_actionhandler.cpp",
+ "cpdfsdk_actionhandler.h",
+ "cpdfsdk_annot.cpp",
+ "cpdfsdk_annot.h",
+ "cpdfsdk_annothandlermgr.cpp",
+ "cpdfsdk_annothandlermgr.h",
+ "cpdfsdk_annotiteration.cpp",
+ "cpdfsdk_annotiteration.h",
+ "cpdfsdk_annotiterator.cpp",
+ "cpdfsdk_annotiterator.h",
+ "cpdfsdk_baannot.cpp",
+ "cpdfsdk_baannot.h",
+ "cpdfsdk_baannothandler.cpp",
+ "cpdfsdk_baannothandler.h",
+ "cpdfsdk_common.h",
+ "cpdfsdk_customaccess.cpp",
+ "cpdfsdk_customaccess.h",
+ "cpdfsdk_fieldaction.cpp",
+ "cpdfsdk_fieldaction.h",
+ "cpdfsdk_filewriteadapter.cpp",
+ "cpdfsdk_filewriteadapter.h",
+ "cpdfsdk_formfillenvironment.cpp",
+ "cpdfsdk_formfillenvironment.h",
+ "cpdfsdk_helpers.cpp",
+ "cpdfsdk_helpers.h",
+ "cpdfsdk_interactiveform.cpp",
+ "cpdfsdk_interactiveform.h",
+ "cpdfsdk_pageview.cpp",
+ "cpdfsdk_pageview.h",
+ "cpdfsdk_widget.cpp",
+ "cpdfsdk_widget.h",
+ "cpdfsdk_widgethandler.cpp",
+ "cpdfsdk_widgethandler.h",
+ "ipdfsdk_annothandler.h",
+ "ipdfsdk_pauseadapter.cpp",
+ "ipdfsdk_pauseadapter.h",
+ ]
+
+ configs += [ "../:pdfium_core_config" ]
+ deps = [
+ "../:fxcrt",
+ ]
+ visibility = [ "../*" ]
+
+ if (pdf_enable_xfa) {
+ sources += [
+ "cpdfsdk_xfawidget.cpp",
+ "cpdfsdk_xfawidget.h",
+ "cpdfsdk_xfawidgethandler.cpp",
+ "cpdfsdk_xfawidgethandler.h",
+ ]
+
+ deps += [ "fpdfxfa" ]
+ }
+}