diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-15 17:10:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-15 17:10:58 +0000 |
commit | 7239fe9c9e52fa8f921a4acb9ea4a11bc58e64d7 (patch) | |
tree | 4df9cb4689ce0db5d32334255b75edcdd713f37c | |
parent | 7c39bf7b87f871ccc50b66066c3bfb1883f66010 (diff) | |
download | pdfium-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>
-rw-r--r-- | .gn | 2 | ||||
-rw-r--r-- | xfa/fde/BUILD.gn | 1 | ||||
-rw-r--r-- | xfa/fgas/BUILD.gn | 5 | ||||
-rw-r--r-- | xfa/fwl/BUILD.gn | 4 | ||||
-rw-r--r-- | xfa/fxfa/BUILD.gn | 15 | ||||
-rw-r--r-- | xfa/fxfa/fm2js/BUILD.gn | 1 | ||||
-rw-r--r-- | xfa/fxfa/parser/BUILD.gn | 7 | ||||
-rw-r--r-- | xfa/fxgraphics/BUILD.gn | 4 |
8 files changed, 37 insertions, 2 deletions
@@ -23,10 +23,10 @@ check_targets = [ "//testing/:*", "//testing/fuzzers/*", "//testing/image_diff/*", + "//xfa/*", # TODO(thestig): Work on these. #"//core/*", #"//fpdfsdk/*", #"//fxjs/*", - #"//xfa/*", ] diff --git a/xfa/fde/BUILD.gn b/xfa/fde/BUILD.gn index 6466f30848..3c600ec506 100644 --- a/xfa/fde/BUILD.gn +++ b/xfa/fde/BUILD.gn @@ -19,6 +19,7 @@ jumbo_source_set("fde") { ] deps = [ "../../core/fxcrt", + "../../core/fxge", ] configs += [ "../../:pdfium_core_config", diff --git a/xfa/fgas/BUILD.gn b/xfa/fgas/BUILD.gn index a6d2005135..c34aa0915c 100644 --- a/xfa/fgas/BUILD.gn +++ b/xfa/fgas/BUILD.gn @@ -35,8 +35,13 @@ jumbo_source_set("fgas") { "layout/cfx_txtbreak.h", ] deps = [ + "../../core/fpdfapi/font", + "../../core/fpdfapi/parser", "../../core/fxcrt", + "../../core/fxge", + "../fde", ] + allow_circular_includes_from = [ "../fde" ] configs += [ "../../:pdfium_core_config", "../:xfa_warnings", diff --git a/xfa/fwl/BUILD.gn b/xfa/fwl/BUILD.gn index 7277c320d9..bcccf8d7e4 100644 --- a/xfa/fwl/BUILD.gn +++ b/xfa/fwl/BUILD.gn @@ -122,8 +122,12 @@ jumbo_source_set("fwl") { ] deps = [ "../../core/fxcrt", + "../../core/fxge", "../../fxbarcode", + "../fde", "../fgas", + "../fxfa/parser", + "../fxgraphics", ] configs += [ "../../:pdfium_core_config", 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", diff --git a/xfa/fxgraphics/BUILD.gn b/xfa/fxgraphics/BUILD.gn index 99087f69e5..438046cf20 100644 --- a/xfa/fxgraphics/BUILD.gn +++ b/xfa/fxgraphics/BUILD.gn @@ -24,5 +24,9 @@ jumbo_source_set("fxgraphics") { "../../:pdfium_core_config", "../:xfa_warnings", ] + deps = [ + "../../core/fxcrt", + "../../core/fxge", + ] visibility = [ "../../*" ] } |