Index: content/public/common/BUILD.gn |
diff --git a/content/public/common/BUILD.gn b/content/public/common/BUILD.gn |
index b66217711c6c7e75229d4939405006a4c4b56d8a..7d85752838624a473a7f7c53bc7f8eb50457c066 100644 |
--- a/content/public/common/BUILD.gn |
+++ b/content/public/common/BUILD.gn |
@@ -101,6 +101,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", |
@@ -121,7 +124,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 -= [ |