diff options
-rw-r--r-- | core/fxcrt/BUILD.gn | 7 | ||||
-rw-r--r-- | third_party/BUILD.gn | 4 |
2 files changed, 10 insertions, 1 deletions
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", diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index a9a59ceebd..7a5a6c3c59 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -287,6 +287,9 @@ source_set("fx_lcms2") { "lcms/src/cmswtpnt.c", "lcms/src/cmsxform.c", ] + deps = [ + "../core/fxcrt", + ] } if (!build_with_chromium) { @@ -494,6 +497,7 @@ if (pdf_enable_xfa_tiff) { } deps = [ ":zlib", + "../core/fxcrt", "//third_party:jpeg", ] sources = [ |