| 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("//components/spellcheck/spellcheck_build_features.gni") | 7 import("//components/spellcheck/spellcheck_build_features.gni") |
| 8 import("//extensions/features/features.gni") | 8 import("//extensions/features/features.gni") |
| 9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 import("//ppapi/features/features.gni") | 10 import("//ppapi/features/features.gni") |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 deps += [ | 181 deps += [ |
| 182 "//components/pdf/renderer", | 182 "//components/pdf/renderer", |
| 183 "//components/strings", | 183 "//components/strings", |
| 184 "//ppapi/host", | 184 "//ppapi/host", |
| 185 "//ppapi/proxy", | 185 "//ppapi/proxy", |
| 186 "//ppapi/proxy:ipc", | 186 "//ppapi/proxy:ipc", |
| 187 "//ppapi/shared_impl", | 187 "//ppapi/shared_impl", |
| 188 ] | 188 ] |
| 189 } | 189 } |
| 190 | 190 |
| 191 if (safe_browsing_mode != 0) { | |
| 192 sources += [ | |
| 193 "safe_browsing/threat_dom_details.cc", | |
| 194 "safe_browsing/threat_dom_details.h", | |
| 195 ] | |
| 196 deps += [ "//components/safe_browsing/common:common" ] | |
| 197 if (safe_browsing_mode == 1) { | |
| 198 sources += [ | |
| 199 "safe_browsing/feature_extractor_clock.cc", | |
| 200 "safe_browsing/feature_extractor_clock.h", | |
| 201 "safe_browsing/features.cc", | |
| 202 "safe_browsing/features.h", | |
| 203 "safe_browsing/murmurhash3_util.cc", | |
| 204 "safe_browsing/murmurhash3_util.h", | |
| 205 "safe_browsing/phishing_classifier.cc", | |
| 206 "safe_browsing/phishing_classifier.h", | |
| 207 "safe_browsing/phishing_classifier_delegate.cc", | |
| 208 "safe_browsing/phishing_classifier_delegate.h", | |
| 209 "safe_browsing/phishing_dom_feature_extractor.cc", | |
| 210 "safe_browsing/phishing_dom_feature_extractor.h", | |
| 211 "safe_browsing/phishing_term_feature_extractor.cc", | |
| 212 "safe_browsing/phishing_term_feature_extractor.h", | |
| 213 "safe_browsing/phishing_url_feature_extractor.cc", | |
| 214 "safe_browsing/phishing_url_feature_extractor.h", | |
| 215 "safe_browsing/scorer.cc", | |
| 216 "safe_browsing/scorer.h", | |
| 217 ] | |
| 218 deps += [ | |
| 219 "//chrome/common/safe_browsing:proto", | |
| 220 "//third_party/smhasher:murmurhash3", | |
| 221 ] | |
| 222 } | |
| 223 } | |
| 224 | |
| 225 if (enable_extensions) { | 191 if (enable_extensions) { |
| 226 sources += [ | 192 sources += [ |
| 227 "extensions/app_bindings.cc", | 193 "extensions/app_bindings.cc", |
| 228 "extensions/app_bindings.h", | 194 "extensions/app_bindings.h", |
| 229 "extensions/automation_internal_custom_bindings.cc", | 195 "extensions/automation_internal_custom_bindings.cc", |
| 230 "extensions/automation_internal_custom_bindings.h", | 196 "extensions/automation_internal_custom_bindings.h", |
| 231 "extensions/chrome_extensions_dispatcher_delegate.cc", | 197 "extensions/chrome_extensions_dispatcher_delegate.cc", |
| 232 "extensions/chrome_extensions_dispatcher_delegate.h", | 198 "extensions/chrome_extensions_dispatcher_delegate.h", |
| 233 "extensions/chrome_extensions_renderer_client.cc", | 199 "extensions/chrome_extensions_renderer_client.cc", |
| 234 "extensions/chrome_extensions_renderer_client.h", | 200 "extensions/chrome_extensions_renderer_client.h", |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 ] | 364 ] |
| 399 } | 365 } |
| 400 | 366 |
| 401 if (is_android) { | 367 if (is_android) { |
| 402 sources -= [ | 368 sources -= [ |
| 403 "safe_browsing/mock_feature_extractor_clock.cc", | 369 "safe_browsing/mock_feature_extractor_clock.cc", |
| 404 "safe_browsing/mock_feature_extractor_clock.h", | 370 "safe_browsing/mock_feature_extractor_clock.h", |
| 405 ] | 371 ] |
| 406 } | 372 } |
| 407 } | 373 } |
| OLD | NEW |