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

Side by Side Diff: components/safe_browsing_db/BUILD.gn

Issue 1960893002: Revert of Skeleton of the overall design for the database for Pver4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « components/safe_browsing_db.gypi ('k') | components/safe_browsing_db/v4_database.h » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 proto_library("proto") { 7 proto_library("proto") {
8 sources = [ 8 sources = [
9 "safebrowsing.proto", 9 "safebrowsing.proto",
10 ] 10 ]
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "//crypto", 148 "//crypto",
149 "//net", 149 "//net",
150 "//url:url", 150 "//url:url",
151 ] 151 ]
152 if (is_win) { 152 if (is_win) {
153 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 153 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
154 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. 154 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
155 } 155 }
156 } 156 }
157 157
158 source_set("v4_database") {
159 sources = [
160 "v4_database.cc",
161 "v4_database.h",
162 ]
163 public_deps = [
164 ":proto",
165 ]
166 deps = [
167 ":v4_protocol_manager_util",
168 ":v4_store",
169 "//base",
170 ]
171 }
172
173 source_set("v4_get_hash_protocol_manager") { 158 source_set("v4_get_hash_protocol_manager") {
174 sources = [ 159 sources = [
175 "v4_get_hash_protocol_manager.cc", 160 "v4_get_hash_protocol_manager.cc",
176 "v4_get_hash_protocol_manager.h", 161 "v4_get_hash_protocol_manager.h",
177 ] 162 ]
178 public_deps = [ 163 public_deps = [
179 ":proto", 164 ":proto",
180 ] 165 ]
181 deps = [ 166 deps = [
182 ":util", 167 ":util",
183 ":v4_protocol_manager_util", 168 ":v4_protocol_manager_util",
184 "//base", 169 "//base",
185 "//net", 170 "//net",
186 "//url:url", 171 "//url:url",
187 ] 172 ]
188 } 173 }
189 174
190 source_set("v4_local_database_manager") { 175 source_set("v4_local_database_manager") {
191 sources = [ 176 sources = [
192 "v4_local_database_manager.cc", 177 "v4_local_database_manager.cc",
193 "v4_local_database_manager.h", 178 "v4_local_database_manager.h",
194 ] 179 ]
195 deps = [ 180 deps = [
196 ":database_manager", 181 ":database_manager",
197 ":hit_report", 182 ":hit_report",
198 ":proto", 183 ":proto",
199 ":v4_database",
200 ":v4_protocol_manager_util", 184 ":v4_protocol_manager_util",
201 ":v4_update_protocol_manager", 185 ":v4_update_protocol_manager",
202 "//base", 186 "//base",
203 "//content/public/browser", 187 "//content/public/browser",
204 "//net", 188 "//net",
205 "//url:url", 189 "//url:url",
206 ] 190 ]
207 } 191 }
208 192
209 source_set("v4_protocol_manager_util") { 193 source_set("v4_protocol_manager_util") {
210 sources = [ 194 sources = [
211 "v4_protocol_manager_util.cc", 195 "v4_protocol_manager_util.cc",
212 "v4_protocol_manager_util.h", 196 "v4_protocol_manager_util.h",
213 ] 197 ]
214 deps = [ 198 deps = [
215 ":proto", 199 ":proto",
216 "//base", 200 "//base",
217 "//net", 201 "//net",
218 "//url:url", 202 "//url:url",
219 ] 203 ]
220 } 204 }
221 205
222 source_set("v4_store") {
223 sources = [
224 "v4_store.h",
225 ]
226 deps = []
227 }
228
229 source_set("v4_update_protocol_manager") { 206 source_set("v4_update_protocol_manager") {
230 sources = [ 207 sources = [
231 "v4_update_protocol_manager.cc", 208 "v4_update_protocol_manager.cc",
232 "v4_update_protocol_manager.h", 209 "v4_update_protocol_manager.h",
233 ] 210 ]
234 deps = [ 211 deps = [
235 ":proto", 212 ":proto",
236 ":util", 213 ":util",
237 ":v4_protocol_manager_util", 214 ":v4_protocol_manager_util",
238 "//base", 215 "//base",
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 "//base", 266 "//base",
290 "//components/variations", 267 "//components/variations",
291 "//testing/gtest", 268 "//testing/gtest",
292 "//url", 269 "//url",
293 ] 270 ]
294 if (is_win) { 271 if (is_win) {
295 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 272 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
296 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. 273 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
297 } 274 }
298 } 275 }
OLDNEW
« no previous file with comments | « components/safe_browsing_db.gypi ('k') | components/safe_browsing_db/v4_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698