Index: content/public/common/BUILD.gn |
diff --git a/content/public/common/BUILD.gn b/content/public/common/BUILD.gn |
index 2df12fd39bbb5bfbf5d3dd81c79526ca8985a600..71186eef0f15cdd164b1e660eaff5ef0b836494d 100644 |
--- a/content/public/common/BUILD.gn |
+++ b/content/public/common/BUILD.gn |
@@ -110,6 +110,9 @@ source_set("common_sources") { |
"//url/ipc:url_ipc", |
] |
deps = [ |
+ # This looks needless as we have //content/common in public_deps, but it's |
+ # needed because of allow_circular_includes_from. |
+ "//content/common:mojo_bindings_cpp_sources", |
"//ipc", |
"//media", |
"//mojo/common", |
@@ -130,7 +133,10 @@ source_set("common_sources") { |
] |
# //content/common needs to include public headers. |
- allow_circular_includes_from = [ "//content/common" ] |
+ allow_circular_includes_from = [ |
+ "//content/common", |
+ "//content/common:mojo_bindings_cpp_sources", |
+ ] |
if (!enable_plugins) { |
sources -= [ |