Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: chrome/browser/safe_browsing/BUILD.gn

Issue 2951883002: Revert of Move SafeBrowsing files from //chrome/browser to a separate target. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//extensions/features/features.gni")
6 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
7 6
8 proto_library("chunk_proto") { 7 proto_library("chunk_proto") {
9 sources = [ 8 sources = [
10 "chunk.proto", 9 "chunk.proto",
11 ] 10 ]
12 } 11 }
13
14 static_library("safe_browsing") {
15 sources = [
16 "browser_url_loader_throttle.cc",
17 "browser_url_loader_throttle.h",
18 "chrome_cleaner/chrome_cleaner_controller_win.cc",
19 "chrome_cleaner/chrome_cleaner_controller_win.h",
20 "chrome_cleaner/chrome_cleaner_fetcher_win.cc",
21 "chrome_cleaner/chrome_cleaner_fetcher_win.h",
22 "chrome_cleaner/chrome_cleaner_runner_win.cc",
23 "chrome_cleaner/chrome_cleaner_runner_win.h",
24 "chrome_cleaner/reporter_runner_win.cc",
25 "chrome_cleaner/reporter_runner_win.h",
26 "chrome_cleaner/settings_resetter_win.cc",
27 "chrome_cleaner/settings_resetter_win.h",
28 "chrome_cleaner/srt_chrome_prompt_impl.cc",
29 "chrome_cleaner/srt_chrome_prompt_impl.h",
30 "chrome_cleaner/srt_client_info_win.cc",
31 "chrome_cleaner/srt_client_info_win.h",
32 "chrome_cleaner/srt_field_trial_win.cc",
33 "chrome_cleaner/srt_field_trial_win.h",
34 "chrome_cleaner/srt_global_error_win.cc",
35 "chrome_cleaner/srt_global_error_win.h",
36 "mojo_safe_browsing_impl.cc",
37 "mojo_safe_browsing_impl.h",
38 "safe_browsing_tab_observer.cc",
39 "safe_browsing_tab_observer.h",
40 "safe_browsing_url_checker_impl.cc",
41 "safe_browsing_url_checker_impl.h",
42 ]
43
44 deps = [
45 "//components/safe_browsing/common:interfaces",
46 ]
47
48 if (enable_extensions) {
49 sources += [
50 "chrome_cleaner/chrome_cleaner_dialog_controller_win.cc",
51 "chrome_cleaner/chrome_cleaner_dialog_controller_win.h",
52 "settings_reset_prompt/default_settings_fetcher.cc",
53 "settings_reset_prompt/default_settings_fetcher.h",
54 "settings_reset_prompt/extension_info.cc",
55 "settings_reset_prompt/extension_info.h",
56 "settings_reset_prompt/settings_reset_prompt_config.cc",
57 "settings_reset_prompt/settings_reset_prompt_config.h",
58 "settings_reset_prompt/settings_reset_prompt_controller.cc",
59 "settings_reset_prompt/settings_reset_prompt_controller.h",
60 "settings_reset_prompt/settings_reset_prompt_model.cc",
61 "settings_reset_prompt/settings_reset_prompt_model.h",
62 "settings_reset_prompt/settings_reset_prompt_prefs_manager.cc",
63 "settings_reset_prompt/settings_reset_prompt_prefs_manager.h",
64 ]
65 }
66
67 if (safe_browsing_mode != 0) {
68 # "Safe Browsing Basic" files used for safe browsing in full mode
69 # (safe_browsing=1) and mobile (=2)
70 sources += [
71 "../loader/data_reduction_proxy_resource_throttle_android.cc",
72 "../loader/data_reduction_proxy_resource_throttle_android.h",
73 "certificate_reporting_metrics_provider.cc",
74 "certificate_reporting_metrics_provider.h",
75 "certificate_reporting_service.cc",
76 "certificate_reporting_service.h",
77 "certificate_reporting_service_factory.cc",
78 "certificate_reporting_service_factory.h",
79 "notification_image_reporter.cc",
80 "notification_image_reporter.h",
81 "permission_reporter.cc",
82 "permission_reporter.h",
83 "ping_manager.cc",
84 "ping_manager.h",
85 "safe_browsing_blocking_page.cc",
86 "safe_browsing_blocking_page.h",
87 "safe_browsing_navigation_observer.cc",
88 "safe_browsing_navigation_observer.h",
89 "safe_browsing_navigation_observer_manager.cc",
90 "safe_browsing_navigation_observer_manager.h",
91 "safe_browsing_service.cc",
92 "safe_browsing_service.h",
93 "services_delegate.h",
94 "test_safe_browsing_blocking_page_quiet.cc",
95 "test_safe_browsing_blocking_page_quiet.h",
96 "test_safe_browsing_service.cc",
97 "test_safe_browsing_service.h",
98 "ui_manager.cc",
99 "ui_manager.h",
100 ]
101 deps += [
102 "//chrome/browser/safe_browsing:chunk_proto",
103 "//chrome/common/safe_browsing:proto",
104 "//components/safe_browsing:csd_proto",
105 "//components/safe_browsing:safe_browsing",
106 "//components/safe_browsing/browser:browser",
107 "//components/safe_browsing/common:common",
108 "//components/safe_browsing/password_protection",
109 "//components/safe_browsing/triggers:triggers",
110 "//components/safe_browsing_db:metadata_proto",
111 ]
112 if (safe_browsing_mode == 1) {
113 # "Safe Browsing Full" files in addition to the "basic" ones to use for
114 # full safe browsing. This has some in common with "mobile."
115 sources += [
116 "../download/download_completion_blocker.cc",
117 "../download/download_completion_blocker.h",
118 "../loader/safe_browsing_resource_throttle.cc",
119 "../loader/safe_browsing_resource_throttle.h",
120 "browser_feature_extractor.cc",
121 "browser_feature_extractor.h",
122 "browser_features.cc",
123 "browser_features.h",
124 "chrome_password_protection_service.cc",
125 "chrome_password_protection_service.h",
126 "chunk_range.cc",
127 "chunk_range.h",
128 "client_side_detection_host.cc",
129 "client_side_detection_host.h",
130 "client_side_detection_service.cc",
131 "client_side_detection_service.h",
132 "client_side_model_loader.cc",
133 "client_side_model_loader.h",
134 "download_feedback.cc",
135 "download_feedback.h",
136 "download_feedback_service.cc",
137 "download_feedback_service.h",
138 "download_protection_service.cc",
139 "download_protection_service.h",
140 "incident_reporting/binary_integrity_analyzer.cc",
141 "incident_reporting/binary_integrity_analyzer.h",
142 "incident_reporting/binary_integrity_analyzer_mac.cc",
143 "incident_reporting/binary_integrity_analyzer_mac.h",
144 "incident_reporting/binary_integrity_analyzer_win.cc",
145 "incident_reporting/binary_integrity_analyzer_win.h",
146 "incident_reporting/binary_integrity_incident.cc",
147 "incident_reporting/binary_integrity_incident.h",
148 "incident_reporting/blacklist_load_analyzer.cc",
149 "incident_reporting/blacklist_load_analyzer.h",
150 "incident_reporting/blacklist_load_analyzer_win.cc",
151 "incident_reporting/blacklist_load_incident.cc",
152 "incident_reporting/blacklist_load_incident.h",
153 "incident_reporting/delayed_analysis_callback.h",
154 "incident_reporting/delayed_callback_runner.cc",
155 "incident_reporting/delayed_callback_runner.h",
156 "incident_reporting/download_metadata_manager.cc",
157 "incident_reporting/download_metadata_manager.h",
158 "incident_reporting/environment_data_collection.cc",
159 "incident_reporting/environment_data_collection.h",
160 "incident_reporting/environment_data_collection_win.cc",
161 "incident_reporting/environment_data_collection_win.h",
162 "incident_reporting/extension_data_collection.cc",
163 "incident_reporting/extension_data_collection.h",
164 "incident_reporting/incident.cc",
165 "incident_reporting/incident.h",
166 "incident_reporting/incident_handler_util.cc",
167 "incident_reporting/incident_handler_util.h",
168 "incident_reporting/incident_receiver.h",
169 "incident_reporting/incident_report_uploader.cc",
170 "incident_reporting/incident_report_uploader.h",
171 "incident_reporting/incident_report_uploader_impl.cc",
172 "incident_reporting/incident_report_uploader_impl.h",
173 "incident_reporting/incident_reporting_service.cc",
174 "incident_reporting/incident_reporting_service.h",
175 "incident_reporting/last_download_finder.cc",
176 "incident_reporting/last_download_finder.h",
177 "incident_reporting/module_integrity_verifier_win.cc",
178 "incident_reporting/module_integrity_verifier_win.h",
179 "incident_reporting/module_load_analyzer.cc",
180 "incident_reporting/module_load_analyzer.h",
181 "incident_reporting/module_load_analyzer_win.cc",
182 "incident_reporting/platform_state_store.cc",
183 "incident_reporting/platform_state_store.h",
184 "incident_reporting/platform_state_store_win.cc",
185 "incident_reporting/preference_validation_delegate.cc",
186 "incident_reporting/preference_validation_delegate.h",
187 "incident_reporting/resource_request_detector.cc",
188 "incident_reporting/resource_request_detector.h",
189 "incident_reporting/resource_request_incident.cc",
190 "incident_reporting/resource_request_incident.h",
191 "incident_reporting/state_store.cc",
192 "incident_reporting/state_store.h",
193 "incident_reporting/suspicious_module_incident.cc",
194 "incident_reporting/suspicious_module_incident.h",
195 "incident_reporting/tracked_preference_incident.cc",
196 "incident_reporting/tracked_preference_incident.h",
197 "incident_reporting/variations_seed_signature_analyzer.cc",
198 "incident_reporting/variations_seed_signature_analyzer.h",
199 "incident_reporting/variations_seed_signature_incident.cc",
200 "incident_reporting/variations_seed_signature_incident.h",
201 "local_database_manager.cc",
202 "local_database_manager.h",
203 "path_sanitizer.cc",
204 "path_sanitizer.h",
205 "protocol_manager.cc",
206 "protocol_manager.h",
207 "protocol_parser.cc",
208 "protocol_parser.h",
209 "safe_browsing_database.cc",
210 "safe_browsing_database.h",
211 "safe_browsing_store.cc",
212 "safe_browsing_store.h",
213 "safe_browsing_store_file.cc",
214 "safe_browsing_store_file.h",
215 "safe_browsing_util.cc",
216 "safe_browsing_util.h",
217 "sandboxed_dmg_analyzer_mac.cc",
218 "sandboxed_dmg_analyzer_mac.h",
219 "sandboxed_zip_analyzer.cc",
220 "sandboxed_zip_analyzer.h",
221 "services_delegate_impl.cc",
222 "services_delegate_impl.h",
223 "signature_evaluator_mac.h",
224 "signature_evaluator_mac.mm",
225 "two_phase_uploader.cc",
226 "two_phase_uploader.h",
227 "v4_test_utils.cc",
228 "v4_test_utils.h",
229 ]
230 deps += [ "//components/safe_browsing_db:safe_browsing_db" ]
231 if (is_win) {
232 deps += [ "//chrome/browser/safe_browsing/incident_reporting:state_store _data_proto" ]
233 }
234 } else if (safe_browsing_mode == 2) {
235 sources += [
236 "../loader/safe_browsing_resource_throttle.cc",
237 "../loader/safe_browsing_resource_throttle.h",
238 "services_delegate_stub.cc",
239 "services_delegate_stub.h",
240 ]
241 deps += [ "//components/safe_browsing_db:safe_browsing_db_mobile" ]
242 }
243 }
244 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698