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

Unified Diff: components/safe_browsing/renderer/BUILD.gn

Issue 2756933003: Componentize safe_browsing: move renderer/ reporting part for WebView. (Closed)
Patch Set: fix comments 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: components/safe_browsing/renderer/BUILD.gn
diff --git a/components/safe_browsing/renderer/BUILD.gn b/components/safe_browsing/renderer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..bab7840ba6047085e07f11ac2d6014ef54b454de
--- /dev/null
+++ b/components/safe_browsing/renderer/BUILD.gn
@@ -0,0 +1,25 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/features.gni")
+
+source_set("renderer") {
+ if (safe_browsing_mode != 0) {
+ sources = [
+ "threat_dom_details.cc",
+ "threat_dom_details.h",
+ ]
+ deps = [
+ "//base",
+ "//components/safe_browsing/common:common",
+ "//content/public/renderer",
+ "//ipc",
+ "//third_party/WebKit/public:blink",
+ "//url/ipc:url_ipc",
+ ]
+ if (is_win) {
+ cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.com/702773)
+ }
+ }
+}
« no previous file with comments | « chrome/renderer/safe_browsing/threat_dom_details_browsertest.cc ('k') | components/safe_browsing/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698