Chromium Code Reviews| 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) { |
|
Nathan Parker
2017/03/18 00:15:12
note: I _think_ this ==0 only for iOS, and I'm not
timvolodine
2017/03/20 12:53:38
Acknowledged.
|
| + 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) |
| + } |
| + } |
| +} |