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

Unified Diff: chrome/common/BUILD.gn

Issue 2737763002: Convert utility process Safe Browsing ZIP/DMG Analyzer IPC to mojo (Closed)
Patch Set: Add //components/safe_browsing:csd_proto to typemap deps. 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 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",

Powered by Google App Engine
This is Rietveld 408576698