From 966e10cdd4f15e7f44b14c4178a81877f63c6691 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 15 Oct 2018 19:33:26 +0000 Subject: Make core/ pass gn check. Use allow_circular_includes_from as a crutch for now. Change-Id: Ia7a29a268e67b1fe21bed5cdd629e06fb5cc7bfb Reviewed-on: https://pdfium-review.googlesource.com/c/43992 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- core/fpdfapi/page/BUILD.gn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'core/fpdfapi/page') 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 = [ "../../../*" ] } -- cgit v1.2.3