| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 source_set("renderer") { | 7 source_set("renderer") { |
| 8 if (safe_browsing_mode != 0) { | 8 if (safe_browsing_mode != 0) { |
| 9 sources = [ | 9 sources = [ |
| 10 "threat_dom_details.cc", | 10 "threat_dom_details.cc", |
| 11 "threat_dom_details.h", | 11 "threat_dom_details.h", |
| 12 ] | 12 ] |
| 13 deps = [ | 13 deps = [ |
| 14 "//base", | 14 "//base", |
| 15 "//components/safe_browsing/common:common", | 15 "//components/safe_browsing/common:common", |
| 16 "//content/public/renderer", | 16 "//content/public/renderer", |
| 17 "//ipc", | 17 "//ipc", |
| 18 "//third_party/WebKit/public:blink", | 18 "//third_party/WebKit/public:blink", |
| 19 "//url/ipc:url_ipc", | 19 "//url/ipc:url_ipc", |
| 20 ] | 20 ] |
| 21 if (is_win) { | |
| 22 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.
com/702773) | |
| 23 } | |
| 24 } | 21 } |
| 25 } | 22 } |
| OLD | NEW |