From bc75f62774a31ca94188e1910624bac246d550f7 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 15 Oct 2018 18:12:40 +0000 Subject: Make fxjs/ pass gn check. Use allow_circular_includes_from as a crutch for now. Change-Id: I8c53bafd864048506a77354f57e27cac50369005 Reviewed-on: https://pdfium-review.googlesource.com/c/43989 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- xfa/fxfa/BUILD.gn | 1 + xfa/fxfa/parser/BUILD.gn | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'xfa') diff --git a/xfa/fxfa/BUILD.gn b/xfa/fxfa/BUILD.gn index e87d772006..d6417b73c7 100644 --- a/xfa/fxfa/BUILD.gn +++ b/xfa/fxfa/BUILD.gn @@ -117,6 +117,7 @@ jumbo_source_set("fxfa") { "parser", ] allow_circular_includes_from = [ + "../../fxjs", "../fgas", "../fwl", "parser", diff --git a/xfa/fxfa/parser/BUILD.gn b/xfa/fxfa/parser/BUILD.gn index e65428e9e6..bd7446db7c 100644 --- a/xfa/fxfa/parser/BUILD.gn +++ b/xfa/fxfa/parser/BUILD.gn @@ -709,7 +709,10 @@ jumbo_source_set("parser") { "../../fgas", "../../fxgraphics", ] - allow_circular_includes_from = [ "../../fgas" ] + allow_circular_includes_from = [ + "../../fgas", + "../../../fxjs", + ] configs += [ "../../../:pdfium_core_config", "../../:xfa_warnings", -- cgit v1.2.3