summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/fm2js')
-rw-r--r--xfa/fxfa/fm2js/BUILD.gn31
1 files changed, 31 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/BUILD.gn b/xfa/fxfa/fm2js/BUILD.gn
new file mode 100644
index 0000000000..d34265f3a3
--- /dev/null
+++ b/xfa/fxfa/fm2js/BUILD.gn
@@ -0,0 +1,31 @@
+# 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("fm2js") {
+ sources = [
+ "cxfa_fmexpression.cpp",
+ "cxfa_fmexpression.h",
+ "cxfa_fmlexer.cpp",
+ "cxfa_fmlexer.h",
+ "cxfa_fmparser.cpp",
+ "cxfa_fmparser.h",
+ "cxfa_fmsimpleexpression.cpp",
+ "cxfa_fmsimpleexpression.h",
+ "cxfa_fmtojavascriptdepth.cpp",
+ "cxfa_fmtojavascriptdepth.h",
+ ]
+ deps = [
+ "//third_party/icu:icuuc",
+ ]
+ configs += [
+ "../../../:pdfium_core_config",
+ "../../:xfa_warnings",
+ ]
+ visibility = [ "../../../*" ]
+}