| OLD | NEW |
| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 ] | 42 ] |
| 43 } | 43 } |
| 44 | 44 |
| 45 source_set("database_manager") { | 45 source_set("database_manager") { |
| 46 sources = [ | 46 sources = [ |
| 47 "database_manager.cc", | 47 "database_manager.cc", |
| 48 "database_manager.h", | 48 "database_manager.h", |
| 49 ] | 49 ] |
| 50 deps = [ | 50 deps = [ |
| 51 ":hit_report", | 51 ":hit_report", |
| 52 ":proto", |
| 52 ":util", | 53 ":util", |
| 54 ":v4_get_hash_protocol_manager", |
| 53 "//base:base", | 55 "//base:base", |
| 54 "//content/public/common", | 56 "//content/public/common", |
| 57 "//net", |
| 55 "//url:url", | 58 "//url:url", |
| 56 ] | 59 ] |
| 57 } | 60 } |
| 58 | 61 |
| 59 source_set("hit_report") { | 62 source_set("hit_report") { |
| 60 sources = [ | 63 sources = [ |
| 61 "hit_report.cc", | 64 "hit_report.cc", |
| 62 "hit_report.h", | 65 "hit_report.h", |
| 63 ] | 66 ] |
| 64 deps = [ | 67 deps = [ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 93 ] | 96 ] |
| 94 } | 97 } |
| 95 | 98 |
| 96 source_set("remote_database_manager") { | 99 source_set("remote_database_manager") { |
| 97 sources = [ | 100 sources = [ |
| 98 "remote_database_manager.cc", | 101 "remote_database_manager.cc", |
| 99 "remote_database_manager.h", | 102 "remote_database_manager.h", |
| 100 ] | 103 ] |
| 101 deps = [ | 104 deps = [ |
| 102 ":database_manager", | 105 ":database_manager", |
| 106 ":proto", |
| 103 ":safe_browsing_api_handler", | 107 ":safe_browsing_api_handler", |
| 108 ":v4_get_hash_protocol_manager", |
| 104 "//base:base", | 109 "//base:base", |
| 105 "//components/variations", | 110 "//components/variations", |
| 106 "//content/public/browser", | 111 "//content/public/browser", |
| 107 "//url:url", | 112 "//url:url", |
| 108 ] | 113 ] |
| 109 } | 114 } |
| 110 | 115 |
| 111 source_set("safe_browsing_api_handler") { | 116 source_set("safe_browsing_api_handler") { |
| 112 sources = [ | 117 sources = [ |
| 113 "safe_browsing_api_handler.cc", | 118 "safe_browsing_api_handler.cc", |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 "//base", | 203 "//base", |
| 199 "//components/variations", | 204 "//components/variations", |
| 200 "//testing/gtest", | 205 "//testing/gtest", |
| 201 "//url", | 206 "//url", |
| 202 ] | 207 ] |
| 203 if (is_win) { | 208 if (is_win) { |
| 204 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 209 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 205 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 210 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 206 } | 211 } |
| 207 } | 212 } |
| OLD | NEW |