| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
| 7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
| 8 | 8 |
| 9 grit("resources") { | 9 grit("resources") { |
| 10 source = "resources/renderer_resources.grd" | 10 source = "resources/renderer_resources.grd" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 "//ppapi/proxy:ipc", | 176 "//ppapi/proxy:ipc", |
| 177 "//ppapi/shared_impl", | 177 "//ppapi/shared_impl", |
| 178 ] | 178 ] |
| 179 } | 179 } |
| 180 | 180 |
| 181 if (safe_browsing_mode != 0) { | 181 if (safe_browsing_mode != 0) { |
| 182 sources += [ | 182 sources += [ |
| 183 "safe_browsing/threat_dom_details.cc", | 183 "safe_browsing/threat_dom_details.cc", |
| 184 "safe_browsing/threat_dom_details.h", | 184 "safe_browsing/threat_dom_details.h", |
| 185 ] | 185 ] |
| 186 deps += [ "//components/safe_browsing/common:common" ] |
| 186 if (safe_browsing_mode == 1) { | 187 if (safe_browsing_mode == 1) { |
| 187 sources += [ | 188 sources += [ |
| 188 "safe_browsing/feature_extractor_clock.cc", | 189 "safe_browsing/feature_extractor_clock.cc", |
| 189 "safe_browsing/feature_extractor_clock.h", | 190 "safe_browsing/feature_extractor_clock.h", |
| 190 "safe_browsing/features.cc", | 191 "safe_browsing/features.cc", |
| 191 "safe_browsing/features.h", | 192 "safe_browsing/features.h", |
| 192 "safe_browsing/murmurhash3_util.cc", | 193 "safe_browsing/murmurhash3_util.cc", |
| 193 "safe_browsing/murmurhash3_util.h", | 194 "safe_browsing/murmurhash3_util.h", |
| 194 "safe_browsing/phishing_classifier.cc", | 195 "safe_browsing/phishing_classifier.cc", |
| 195 "safe_browsing/phishing_classifier.h", | 196 "safe_browsing/phishing_classifier.h", |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 ] | 386 ] |
| 386 } | 387 } |
| 387 | 388 |
| 388 if (is_android) { | 389 if (is_android) { |
| 389 sources -= [ | 390 sources -= [ |
| 390 "safe_browsing/mock_feature_extractor_clock.cc", | 391 "safe_browsing/mock_feature_extractor_clock.cc", |
| 391 "safe_browsing/mock_feature_extractor_clock.h", | 392 "safe_browsing/mock_feature_extractor_clock.h", |
| 392 ] | 393 ] |
| 393 } | 394 } |
| 394 } | 395 } |
| OLD | NEW |