Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index 947ce713fe7b41e37803938a80fc8ecbe6e96a4a..83268fe401c24457f69b5de14d0fec0d4d8704d1 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 sources += [...] protobuf include files. |
Sam McNally
2017/03/09 08:38:58
Is the "sources += [...]" part intended?
|
+ allow_circular_includes_from = [ ":mojo_bindings" ] |
} |
} |
@@ -701,6 +705,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", |