From 6735139528c4239d4a88c02004d2671c27418020 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 15 Oct 2018 22:45:14 +0000 Subject: Restrict fxcrt's visibility to third_party. Change-Id: I4b4b1a8e78e2405791aca915e4d48a88e79444d5 Reviewed-on: https://pdfium-review.googlesource.com/c/43993 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- core/fxcrt/BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core/fxcrt') diff --git a/core/fxcrt/BUILD.gn b/core/fxcrt/BUILD.gn index 170d4d045d..3a3852069e 100644 --- a/core/fxcrt/BUILD.gn +++ b/core/fxcrt/BUILD.gn @@ -89,7 +89,10 @@ jumbo_source_set("fxcrt") { "../../fpdfsdk/*", "../../fxbarcode:*", "../../fxjs:*", - "../../third_party:*", + "../../third_party:fx_agg", + "../../third_party:fx_lcms2", + "../../third_party:fx_tiff", + "../../third_party:pdfium_base", "../../xfa/*", ] deps = [ @@ -100,6 +103,8 @@ jumbo_source_set("fxcrt") { "../../third_party:pdfium_base", "//third_party/icu:icuuc", ] + allow_circular_includes_from = [ "../../third_party:pdfium_base" ] + if (is_posix || is_fuchsia) { sources += [ "cfx_fileaccess_posix.cpp", -- cgit v1.2.3