summaryrefslogtreecommitdiff
path: root/xfa/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/BUILD.gn')
-rw-r--r--xfa/BUILD.gn27
1 files changed, 27 insertions, 0 deletions
diff --git a/xfa/BUILD.gn b/xfa/BUILD.gn
new file mode 100644
index 0000000000..3453a40f78
--- /dev/null
+++ b/xfa/BUILD.gn
@@ -0,0 +1,27 @@
+# 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("../pdfium.gni")
+
+assert(pdf_enable_xfa)
+
+config("xfa_warnings") {
+ visibility = [ ":*" ]
+ if (is_posix && !is_clang) { # When GCC.
+ cflags = [ "-Wno-strict-overflow" ]
+ }
+}
+
+group("xfa") {
+ deps = [
+ "fde",
+ "fgas",
+ "fwl",
+ "fxfa",
+ "fxfa/fm2js",
+ "fxfa/parser",
+ "fxgraphics",
+ ]
+ visibility = [ "../*" ]
+}