Index: content/common/BUILD.gn |
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
index c5d320a95c1eeb0f53b1764584884ca47729338b..e25935a0d0d9372ded0694abe1c33f9a4a973eea 100644 |
--- a/content/common/BUILD.gn |
+++ b/content/common/BUILD.gn |
@@ -37,6 +37,9 @@ source_set("common") { |
"//third_party/WebKit/public:blink_headers", |
] |
deps = [ |
+ # This looks needless as we have :mojo_bindings in public_deps, but it's |
+ # needed because of allow_circular_includes_from. |
+ ":mojo_bindings_cpp_sources", |
"//base", |
"//base/third_party/dynamic_annotations", |
"//build/util:webkit_version", |
@@ -104,6 +107,8 @@ source_set("common") { |
libs = [] |
ldflags = [] |
+ allow_circular_includes_from = [ ":mojo_bindings_cpp_sources" ] |
+ |
if (is_android && use_seccomp_bpf) { |
set_sources_assignment_filter([]) |
sources += [ |
@@ -249,6 +254,8 @@ mojom("mojo_bindings") { |
"render_widget_window_tree_client_factory.mojom", |
"service_worker/embedded_worker_setup.mojom", |
"storage_partition_service.mojom", |
+ "url_loader.mojom", |
+ "url_loader_factory.mojom", |
] |
import_dirs = [ "//mojo/services" ] |