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("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 "webdata/password_web_data_service_win.cc", | 105 "webdata/password_web_data_service_win.cc", |
106 "webdata/password_web_data_service_win.h", | 106 "webdata/password_web_data_service_win.h", |
107 ] | 107 ] |
108 | 108 |
109 public_deps = [ | 109 public_deps = [ |
110 "//base", | 110 "//base", |
111 "//sync", | 111 "//sync", |
112 ] | 112 ] |
113 deps = [ | 113 deps = [ |
114 ":proto", | 114 ":proto", |
| 115 "//base", |
| 116 "//base:i18n", |
| 117 "//base:prefs", |
| 118 "//components/autofill/core/browser", |
115 "//components/autofill/core/common", | 119 "//components/autofill/core/common", |
116 "//components/keyed_service/core", | 120 "//components/keyed_service/core", |
117 "//components/os_crypt", | 121 "//components/os_crypt", |
118 "//components/password_manager/core/common", | 122 "//components/password_manager/core/common", |
| 123 "//components/pref_registry", |
119 "//components/strings", | 124 "//components/strings", |
120 "//components/sync_driver", | 125 "//components/sync_driver", |
121 "//components/url_formatter", | 126 "//components/url_formatter", |
| 127 "//components/variations", |
| 128 "//components/webdata/common", |
| 129 "//google_apis", |
122 "//net", | 130 "//net", |
123 "//sql", | 131 "//sql", |
124 "//third_party/protobuf:protobuf_lite", | 132 "//third_party/protobuf:protobuf_lite", |
125 "//third_party/re2", | 133 "//third_party/re2", |
| 134 "//ui/base", |
| 135 "//ui/gfx", |
126 "//url", | 136 "//url", |
127 ] | 137 ] |
128 | 138 |
129 if (is_mac || is_ios) { | 139 if (is_mac || is_ios) { |
130 sources -= [ "login_database_posix.cc" ] | 140 sources -= [ "login_database_posix.cc" ] |
131 } | 141 } |
132 | 142 |
133 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 143 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
134 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 144 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
135 } | 145 } |
136 | 146 |
137 proto_library("proto") { | 147 proto_library("proto") { |
138 sources = [ | 148 sources = [ |
139 "affiliation_api.proto", | 149 "affiliation_api.proto", |
140 ] | 150 ] |
141 } | 151 } |
142 | 152 |
143 source_set("test_support") { | 153 source_set("test_support") { |
144 testonly = true | 154 testonly = true |
145 sources = [ | 155 sources = [ |
146 "fake_affiliation_api.cc", | 156 "fake_affiliation_api.cc", |
147 "fake_affiliation_api.h", | 157 "fake_affiliation_api.h", |
148 "fake_affiliation_fetcher.cc", | 158 "fake_affiliation_fetcher.cc", |
149 "fake_affiliation_fetcher.h", | 159 "fake_affiliation_fetcher.h", |
| 160 "mock_affiliated_match_helper.cc", |
| 161 "mock_affiliated_match_helper.h", |
150 "mock_affiliation_consumer.cc", | 162 "mock_affiliation_consumer.cc", |
151 "mock_affiliation_consumer.h", | 163 "mock_affiliation_consumer.h", |
152 "mock_password_store.cc", | 164 "mock_password_store.cc", |
153 "mock_password_store.h", | 165 "mock_password_store.h", |
154 "password_manager_test_utils.cc", | 166 "password_manager_test_utils.cc", |
155 "password_manager_test_utils.h", | 167 "password_manager_test_utils.h", |
156 "stub_log_manager.cc", | 168 "stub_log_manager.cc", |
157 "stub_log_manager.h", | 169 "stub_log_manager.h", |
158 "stub_password_manager_client.cc", | 170 "stub_password_manager_client.cc", |
159 "stub_password_manager_client.h", | 171 "stub_password_manager_client.h", |
(...skipping 25 matching lines...) Expand all Loading... |
185 "affiliation_service_unittest.cc", | 197 "affiliation_service_unittest.cc", |
186 "affiliation_utils_unittest.cc", | 198 "affiliation_utils_unittest.cc", |
187 "browser_save_password_progress_logger_unittest.cc", | 199 "browser_save_password_progress_logger_unittest.cc", |
188 "export/csv_writer_unittest.cc", | 200 "export/csv_writer_unittest.cc", |
189 "facet_manager_unittest.cc", | 201 "facet_manager_unittest.cc", |
190 "import/csv_reader_unittest.cc", | 202 "import/csv_reader_unittest.cc", |
191 "log_manager_unittest.cc", | 203 "log_manager_unittest.cc", |
192 "log_router_unittest.cc", | 204 "log_router_unittest.cc", |
193 "login_database_unittest.cc", | 205 "login_database_unittest.cc", |
194 "login_model_unittest.cc", | 206 "login_model_unittest.cc", |
195 "mock_affiliated_match_helper.cc", | |
196 "mock_affiliated_match_helper.h", | |
197 "password_autofill_manager_unittest.cc", | 207 "password_autofill_manager_unittest.cc", |
198 "password_bubble_experiment_unittest.cc", | 208 "password_bubble_experiment_unittest.cc", |
199 "password_form_manager_unittest.cc", | 209 "password_form_manager_unittest.cc", |
200 "password_generation_manager_unittest.cc", | 210 "password_generation_manager_unittest.cc", |
201 "password_manager_metrics_util_unittest.cc", | 211 "password_manager_metrics_util_unittest.cc", |
202 "password_manager_settings_migration_experiment_unittest.cc", | 212 "password_manager_settings_migration_experiment_unittest.cc", |
203 "password_manager_unittest.cc", | 213 "password_manager_unittest.cc", |
204 "password_manager_util_unittest.cc", | 214 "password_manager_util_unittest.cc", |
205 "password_store_default_unittest.cc", | 215 "password_store_default_unittest.cc", |
206 "password_store_unittest.cc", | 216 "password_store_unittest.cc", |
207 "password_syncable_service_unittest.cc", | 217 "password_syncable_service_unittest.cc", |
208 "password_ui_utils_unittest.cc", | 218 "password_ui_utils_unittest.cc", |
209 "psl_matching_helper_unittest.cc", | 219 "psl_matching_helper_unittest.cc", |
210 "statistics_table_unittest.cc", | 220 "statistics_table_unittest.cc", |
211 ] | 221 ] |
212 deps = [ | 222 deps = [ |
213 ":test_support", | 223 ":test_support", |
| 224 "//base:prefs_test_support", |
| 225 "//base/test:test_support", |
| 226 "//components/autofill/core/browser:test_support", |
| 227 "//components/autofill/core/common", |
| 228 "//components/os_crypt", |
| 229 "//components/password_manager/core/browser:proto", |
| 230 "//components/password_manager/core/common", |
| 231 "//components/strings", |
| 232 "//components/sync_driver:test_support", |
| 233 "//components/variations", |
| 234 "//net:test_support", |
214 "//sql:test_support", | 235 "//sql:test_support", |
| 236 "//sync:test_support_sync_api", |
215 "//testing/gmock", | 237 "//testing/gmock", |
216 "//testing/gtest", | 238 "//testing/gtest", |
| 239 "//ui/base", |
| 240 "//url", |
217 ] | 241 ] |
218 } | 242 } |
OLD | NEW |