summaryrefslogtreecommitdiff
path: root/fpdfsdk/BUILD.gn
diff options
context:
space:
mode:
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" ]
+ }
+}