Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index c1f5fdcd800bbd4a64cacc7a9181bd84b70d1a33..60f021b3eaf6c5994899560fbf7c198c4608cb84 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -517,6 +517,10 @@ static_library("common") { |
"safe_browsing/zip_analyzer_results.cc", |
"safe_browsing/zip_analyzer_results.h", |
] |
+ |
+ # safe_archive_analyzer.mojom has a [Native] trait that depends on |
+ # the protobuf headers in the sources list above. |
+ allow_circular_includes_from = [ ":mojo_bindings" ] |
} |
} |
@@ -702,6 +706,10 @@ mojom("mojo_bindings") { |
sources += [ "zip_file_creator.mojom" ] |
} |
+ if (safe_browsing_mode == 1) { |
+ sources += [ "safe_archive_analyzer.mojom" ] |
+ } |
+ |
public_deps = [ |
"//components/content_settings/core/common:mojo_bindings", |
"//mojo/common:common_custom_types", |