summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/BUILD.gn')
-rw-r--r--core/fpdfapi/page/BUILD.gn15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/fpdfapi/page/BUILD.gn b/core/fpdfapi/page/BUILD.gn
index 573ee60fbf..5df39f2068 100644
--- a/core/fpdfapi/page/BUILD.gn
+++ b/core/fpdfapi/page/BUILD.gn
@@ -92,7 +92,22 @@ jumbo_source_set("page") {
]
configs += [ "../../../:pdfium_core_config" ]
deps = [
+ "../../fdrm",
+ "../../fxcodec",
"../../fxcrt",
+ "../../fxge",
+ "../cmaps",
+ "../font",
+ "../parser",
]
+ allow_circular_includes_from = [
+ "../cmaps",
+ "../font",
+ "../parser",
+ "../../fxcodec",
+ ]
+ if (pdf_use_skia || pdf_use_skia_paths) {
+ allow_circular_includes_from += [ "../../fxge" ]
+ }
visibility = [ "../../../*" ]
}