summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa
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/fpdfxfa
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/fpdfxfa')
-rw-r--r--fpdfsdk/fpdfxfa/BUILD.gn28
1 files changed, 28 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfxfa/BUILD.gn b/fpdfsdk/fpdfxfa/BUILD.gn
new file mode 100644
index 0000000000..14a82818d7
--- /dev/null
+++ b/fpdfsdk/fpdfxfa/BUILD.gn
@@ -0,0 +1,28 @@
+# 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")
+
+assert(pdf_enable_xfa)
+
+jumbo_source_set("fpdfxfa") {
+ sources = [
+ "cpdfxfa_context.cpp",
+ "cpdfxfa_context.h",
+ "cpdfxfa_docenvironment.cpp",
+ "cpdfxfa_docenvironment.h",
+ "cpdfxfa_page.cpp",
+ "cpdfxfa_page.h",
+ "cxfa_fwladaptertimermgr.cpp",
+ "cxfa_fwladaptertimermgr.h",
+ ]
+ deps = [
+ "../../:fxcrt",
+ "../../fxjs",
+ "../../xfa",
+ ]
+ configs += [ "../../:pdfium_core_config" ]
+ visibility = [ "../../*" ]
+}