| Index: chrome/browser/safe_browsing/BUILD.gn
|
| diff --git a/chrome/browser/safe_browsing/BUILD.gn b/chrome/browser/safe_browsing/BUILD.gn
|
| index 15809f1c72deb526d7d8fd3538d2f3a5aa65f255..b59b2e5fbd5f6f7176556c1001e6673c2940b141 100644
|
| --- a/chrome/browser/safe_browsing/BUILD.gn
|
| +++ b/chrome/browser/safe_browsing/BUILD.gn
|
| @@ -2,7 +2,6 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -import("//extensions/features/features.gni")
|
| import("//third_party/protobuf/proto_library.gni")
|
|
|
| proto_library("chunk_proto") {
|
| @@ -10,235 +9,3 @@
|
| "chunk.proto",
|
| ]
|
| }
|
| -
|
| -static_library("safe_browsing") {
|
| - sources = [
|
| - "browser_url_loader_throttle.cc",
|
| - "browser_url_loader_throttle.h",
|
| - "chrome_cleaner/chrome_cleaner_controller_win.cc",
|
| - "chrome_cleaner/chrome_cleaner_controller_win.h",
|
| - "chrome_cleaner/chrome_cleaner_fetcher_win.cc",
|
| - "chrome_cleaner/chrome_cleaner_fetcher_win.h",
|
| - "chrome_cleaner/chrome_cleaner_runner_win.cc",
|
| - "chrome_cleaner/chrome_cleaner_runner_win.h",
|
| - "chrome_cleaner/reporter_runner_win.cc",
|
| - "chrome_cleaner/reporter_runner_win.h",
|
| - "chrome_cleaner/settings_resetter_win.cc",
|
| - "chrome_cleaner/settings_resetter_win.h",
|
| - "chrome_cleaner/srt_chrome_prompt_impl.cc",
|
| - "chrome_cleaner/srt_chrome_prompt_impl.h",
|
| - "chrome_cleaner/srt_client_info_win.cc",
|
| - "chrome_cleaner/srt_client_info_win.h",
|
| - "chrome_cleaner/srt_field_trial_win.cc",
|
| - "chrome_cleaner/srt_field_trial_win.h",
|
| - "chrome_cleaner/srt_global_error_win.cc",
|
| - "chrome_cleaner/srt_global_error_win.h",
|
| - "mojo_safe_browsing_impl.cc",
|
| - "mojo_safe_browsing_impl.h",
|
| - "safe_browsing_tab_observer.cc",
|
| - "safe_browsing_tab_observer.h",
|
| - "safe_browsing_url_checker_impl.cc",
|
| - "safe_browsing_url_checker_impl.h",
|
| - ]
|
| -
|
| - deps = [
|
| - "//components/safe_browsing/common:interfaces",
|
| - ]
|
| -
|
| - if (enable_extensions) {
|
| - sources += [
|
| - "chrome_cleaner/chrome_cleaner_dialog_controller_win.cc",
|
| - "chrome_cleaner/chrome_cleaner_dialog_controller_win.h",
|
| - "settings_reset_prompt/default_settings_fetcher.cc",
|
| - "settings_reset_prompt/default_settings_fetcher.h",
|
| - "settings_reset_prompt/extension_info.cc",
|
| - "settings_reset_prompt/extension_info.h",
|
| - "settings_reset_prompt/settings_reset_prompt_config.cc",
|
| - "settings_reset_prompt/settings_reset_prompt_config.h",
|
| - "settings_reset_prompt/settings_reset_prompt_controller.cc",
|
| - "settings_reset_prompt/settings_reset_prompt_controller.h",
|
| - "settings_reset_prompt/settings_reset_prompt_model.cc",
|
| - "settings_reset_prompt/settings_reset_prompt_model.h",
|
| - "settings_reset_prompt/settings_reset_prompt_prefs_manager.cc",
|
| - "settings_reset_prompt/settings_reset_prompt_prefs_manager.h",
|
| - ]
|
| - }
|
| -
|
| - if (safe_browsing_mode != 0) {
|
| - # "Safe Browsing Basic" files used for safe browsing in full mode
|
| - # (safe_browsing=1) and mobile (=2)
|
| - sources += [
|
| - "../loader/data_reduction_proxy_resource_throttle_android.cc",
|
| - "../loader/data_reduction_proxy_resource_throttle_android.h",
|
| - "certificate_reporting_metrics_provider.cc",
|
| - "certificate_reporting_metrics_provider.h",
|
| - "certificate_reporting_service.cc",
|
| - "certificate_reporting_service.h",
|
| - "certificate_reporting_service_factory.cc",
|
| - "certificate_reporting_service_factory.h",
|
| - "notification_image_reporter.cc",
|
| - "notification_image_reporter.h",
|
| - "permission_reporter.cc",
|
| - "permission_reporter.h",
|
| - "ping_manager.cc",
|
| - "ping_manager.h",
|
| - "safe_browsing_blocking_page.cc",
|
| - "safe_browsing_blocking_page.h",
|
| - "safe_browsing_navigation_observer.cc",
|
| - "safe_browsing_navigation_observer.h",
|
| - "safe_browsing_navigation_observer_manager.cc",
|
| - "safe_browsing_navigation_observer_manager.h",
|
| - "safe_browsing_service.cc",
|
| - "safe_browsing_service.h",
|
| - "services_delegate.h",
|
| - "test_safe_browsing_blocking_page_quiet.cc",
|
| - "test_safe_browsing_blocking_page_quiet.h",
|
| - "test_safe_browsing_service.cc",
|
| - "test_safe_browsing_service.h",
|
| - "ui_manager.cc",
|
| - "ui_manager.h",
|
| - ]
|
| - deps += [
|
| - "//chrome/browser/safe_browsing:chunk_proto",
|
| - "//chrome/common/safe_browsing:proto",
|
| - "//components/safe_browsing:csd_proto",
|
| - "//components/safe_browsing:safe_browsing",
|
| - "//components/safe_browsing/browser:browser",
|
| - "//components/safe_browsing/common:common",
|
| - "//components/safe_browsing/password_protection",
|
| - "//components/safe_browsing/triggers:triggers",
|
| - "//components/safe_browsing_db:metadata_proto",
|
| - ]
|
| - if (safe_browsing_mode == 1) {
|
| - # "Safe Browsing Full" files in addition to the "basic" ones to use for
|
| - # full safe browsing. This has some in common with "mobile."
|
| - sources += [
|
| - "../download/download_completion_blocker.cc",
|
| - "../download/download_completion_blocker.h",
|
| - "../loader/safe_browsing_resource_throttle.cc",
|
| - "../loader/safe_browsing_resource_throttle.h",
|
| - "browser_feature_extractor.cc",
|
| - "browser_feature_extractor.h",
|
| - "browser_features.cc",
|
| - "browser_features.h",
|
| - "chrome_password_protection_service.cc",
|
| - "chrome_password_protection_service.h",
|
| - "chunk_range.cc",
|
| - "chunk_range.h",
|
| - "client_side_detection_host.cc",
|
| - "client_side_detection_host.h",
|
| - "client_side_detection_service.cc",
|
| - "client_side_detection_service.h",
|
| - "client_side_model_loader.cc",
|
| - "client_side_model_loader.h",
|
| - "download_feedback.cc",
|
| - "download_feedback.h",
|
| - "download_feedback_service.cc",
|
| - "download_feedback_service.h",
|
| - "download_protection_service.cc",
|
| - "download_protection_service.h",
|
| - "incident_reporting/binary_integrity_analyzer.cc",
|
| - "incident_reporting/binary_integrity_analyzer.h",
|
| - "incident_reporting/binary_integrity_analyzer_mac.cc",
|
| - "incident_reporting/binary_integrity_analyzer_mac.h",
|
| - "incident_reporting/binary_integrity_analyzer_win.cc",
|
| - "incident_reporting/binary_integrity_analyzer_win.h",
|
| - "incident_reporting/binary_integrity_incident.cc",
|
| - "incident_reporting/binary_integrity_incident.h",
|
| - "incident_reporting/blacklist_load_analyzer.cc",
|
| - "incident_reporting/blacklist_load_analyzer.h",
|
| - "incident_reporting/blacklist_load_analyzer_win.cc",
|
| - "incident_reporting/blacklist_load_incident.cc",
|
| - "incident_reporting/blacklist_load_incident.h",
|
| - "incident_reporting/delayed_analysis_callback.h",
|
| - "incident_reporting/delayed_callback_runner.cc",
|
| - "incident_reporting/delayed_callback_runner.h",
|
| - "incident_reporting/download_metadata_manager.cc",
|
| - "incident_reporting/download_metadata_manager.h",
|
| - "incident_reporting/environment_data_collection.cc",
|
| - "incident_reporting/environment_data_collection.h",
|
| - "incident_reporting/environment_data_collection_win.cc",
|
| - "incident_reporting/environment_data_collection_win.h",
|
| - "incident_reporting/extension_data_collection.cc",
|
| - "incident_reporting/extension_data_collection.h",
|
| - "incident_reporting/incident.cc",
|
| - "incident_reporting/incident.h",
|
| - "incident_reporting/incident_handler_util.cc",
|
| - "incident_reporting/incident_handler_util.h",
|
| - "incident_reporting/incident_receiver.h",
|
| - "incident_reporting/incident_report_uploader.cc",
|
| - "incident_reporting/incident_report_uploader.h",
|
| - "incident_reporting/incident_report_uploader_impl.cc",
|
| - "incident_reporting/incident_report_uploader_impl.h",
|
| - "incident_reporting/incident_reporting_service.cc",
|
| - "incident_reporting/incident_reporting_service.h",
|
| - "incident_reporting/last_download_finder.cc",
|
| - "incident_reporting/last_download_finder.h",
|
| - "incident_reporting/module_integrity_verifier_win.cc",
|
| - "incident_reporting/module_integrity_verifier_win.h",
|
| - "incident_reporting/module_load_analyzer.cc",
|
| - "incident_reporting/module_load_analyzer.h",
|
| - "incident_reporting/module_load_analyzer_win.cc",
|
| - "incident_reporting/platform_state_store.cc",
|
| - "incident_reporting/platform_state_store.h",
|
| - "incident_reporting/platform_state_store_win.cc",
|
| - "incident_reporting/preference_validation_delegate.cc",
|
| - "incident_reporting/preference_validation_delegate.h",
|
| - "incident_reporting/resource_request_detector.cc",
|
| - "incident_reporting/resource_request_detector.h",
|
| - "incident_reporting/resource_request_incident.cc",
|
| - "incident_reporting/resource_request_incident.h",
|
| - "incident_reporting/state_store.cc",
|
| - "incident_reporting/state_store.h",
|
| - "incident_reporting/suspicious_module_incident.cc",
|
| - "incident_reporting/suspicious_module_incident.h",
|
| - "incident_reporting/tracked_preference_incident.cc",
|
| - "incident_reporting/tracked_preference_incident.h",
|
| - "incident_reporting/variations_seed_signature_analyzer.cc",
|
| - "incident_reporting/variations_seed_signature_analyzer.h",
|
| - "incident_reporting/variations_seed_signature_incident.cc",
|
| - "incident_reporting/variations_seed_signature_incident.h",
|
| - "local_database_manager.cc",
|
| - "local_database_manager.h",
|
| - "path_sanitizer.cc",
|
| - "path_sanitizer.h",
|
| - "protocol_manager.cc",
|
| - "protocol_manager.h",
|
| - "protocol_parser.cc",
|
| - "protocol_parser.h",
|
| - "safe_browsing_database.cc",
|
| - "safe_browsing_database.h",
|
| - "safe_browsing_store.cc",
|
| - "safe_browsing_store.h",
|
| - "safe_browsing_store_file.cc",
|
| - "safe_browsing_store_file.h",
|
| - "safe_browsing_util.cc",
|
| - "safe_browsing_util.h",
|
| - "sandboxed_dmg_analyzer_mac.cc",
|
| - "sandboxed_dmg_analyzer_mac.h",
|
| - "sandboxed_zip_analyzer.cc",
|
| - "sandboxed_zip_analyzer.h",
|
| - "services_delegate_impl.cc",
|
| - "services_delegate_impl.h",
|
| - "signature_evaluator_mac.h",
|
| - "signature_evaluator_mac.mm",
|
| - "two_phase_uploader.cc",
|
| - "two_phase_uploader.h",
|
| - "v4_test_utils.cc",
|
| - "v4_test_utils.h",
|
| - ]
|
| - deps += [ "//components/safe_browsing_db:safe_browsing_db" ]
|
| - if (is_win) {
|
| - deps += [ "//chrome/browser/safe_browsing/incident_reporting:state_store_data_proto" ]
|
| - }
|
| - } else if (safe_browsing_mode == 2) {
|
| - sources += [
|
| - "../loader/safe_browsing_resource_throttle.cc",
|
| - "../loader/safe_browsing_resource_throttle.h",
|
| - "services_delegate_stub.cc",
|
| - "services_delegate_stub.h",
|
| - ]
|
| - deps += [ "//components/safe_browsing_db:safe_browsing_db_mobile" ]
|
| - }
|
| - }
|
| -}
|
|
|