summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-15 17:10:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-15 17:10:58 +0000
commit7239fe9c9e52fa8f921a4acb9ea4a11bc58e64d7 (patch)
tree4df9cb4689ce0db5d32334255b75edcdd713f37c /xfa/fxfa
parent7c39bf7b87f871ccc50b66066c3bfb1883f66010 (diff)
downloadpdfium-7239fe9c9e52fa8f921a4acb9ea4a11bc58e64d7.tar.xz
Make xfa/ pass gn check.
Use allow_circular_includes_from as a crutch for now. Change-Id: I1aad3276a6fd571071270090235b0cfb625e337b Reviewed-on: https://pdfium-review.googlesource.com/c/43986 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/BUILD.gn15
-rw-r--r--xfa/fxfa/fm2js/BUILD.gn1
-rw-r--r--xfa/fxfa/parser/BUILD.gn7
3 files changed, 22 insertions, 1 deletions
diff --git a/xfa/fxfa/BUILD.gn b/xfa/fxfa/BUILD.gn
index 4c82ed3633..e87d772006 100644
--- a/xfa/fxfa/BUILD.gn
+++ b/xfa/fxfa/BUILD.gn
@@ -99,12 +99,27 @@ jumbo_source_set("fxfa") {
"fxfa_basic.h",
]
deps = [
+ "../../core/fpdfapi",
+ "../../core/fpdfapi/font",
+ "../../core/fpdfapi/parser",
+ "../../core/fpdfdoc",
+ "../../core/fxcodec",
"../../core/fxcrt",
"../../core/fxcrt:seekablemultistream",
"../../core/fxcrt/css",
+ "../../core/fxge",
+ "../../fxbarcode",
"../../fxjs",
"../fde",
"../fgas",
+ "../fwl",
+ "../fxgraphics",
+ "parser",
+ ]
+ allow_circular_includes_from = [
+ "../fgas",
+ "../fwl",
+ "parser",
]
configs += [
"../../:pdfium_core_config",
diff --git a/xfa/fxfa/fm2js/BUILD.gn b/xfa/fxfa/fm2js/BUILD.gn
index d34265f3a3..8da1ec5433 100644
--- a/xfa/fxfa/fm2js/BUILD.gn
+++ b/xfa/fxfa/fm2js/BUILD.gn
@@ -21,6 +21,7 @@ jumbo_source_set("fm2js") {
"cxfa_fmtojavascriptdepth.h",
]
deps = [
+ "../../../core/fxcrt",
"//third_party/icu:icuuc",
]
configs += [
diff --git a/xfa/fxfa/parser/BUILD.gn b/xfa/fxfa/parser/BUILD.gn
index 97b834a780..e65428e9e6 100644
--- a/xfa/fxfa/parser/BUILD.gn
+++ b/xfa/fxfa/parser/BUILD.gn
@@ -699,12 +699,17 @@ jumbo_source_set("parser") {
"xfa_utils.h",
]
deps = [
+ "../../../core/fpdfapi",
+ "../../../core/fxcodec",
"../../../core/fxcrt",
+ "../../../core/fxge",
+ "../../../fxbarcode",
"../../../fxjs",
"../../fde",
"../../fgas",
- "../../fxfa",
+ "../../fxgraphics",
]
+ allow_circular_includes_from = [ "../../fgas" ]
configs += [
"../../../:pdfium_core_config",
"../../:xfa_warnings",