Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9722)

Unified Diff: chrome/common/BUILD.gn

Issue 2737763002: Convert utility process Safe Browsing ZIP/DMG Analyzer IPC to mojo (Closed)
Patch Set: Minor comment fixes. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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",

Powered by Google App Engine
This is Rietveld 408576698