summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn14
1 files changed, 14 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 3faf5cd18e..c9cd7b09a2 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -156,11 +156,25 @@ jumbo_static_library("pdfium") {
"third_party:pdfium_base",
"third_party:skia_shared",
]
+ allow_circular_includes_from = [
+ "fpdfsdk",
+ "fpdfsdk/formfiller",
+ "fpdfsdk/pwl",
+ ]
public_deps = [
"core/fxcrt",
]
+ if (pdf_enable_xfa) {
+ deps += [
+ "fpdfsdk/fpdfxfa",
+ "xfa/fxfa",
+ "xfa/fxfa/parser",
+ ]
+ allow_circular_includes_from += [ "fpdfsdk/fpdfxfa" ]
+ }
+
if (is_win) {
libs += [
"advapi32.lib",