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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 "//testing/gmock", | 186 "//testing/gmock", |
187 "//url:url", | 187 "//url:url", |
188 ] | 188 ] |
189 deps = [ | 189 deps = [ |
190 "//base", | 190 "//base", |
191 "//components/autofill/core/common", | 191 "//components/autofill/core/common", |
192 "//testing/gtest", | 192 "//testing/gtest", |
193 ] | 193 ] |
194 } | 194 } |
195 | 195 |
| 196 bundle_data("unit_tests_bundle_data") { |
| 197 visibility = [ ":unit_tests" ] |
| 198 testonly = true |
| 199 sources = [ |
| 200 "//components/test/data/password_manager/login_db_v1.sql", |
| 201 "//components/test/data/password_manager/login_db_v10.sql", |
| 202 "//components/test/data/password_manager/login_db_v11.sql", |
| 203 "//components/test/data/password_manager/login_db_v12.sql", |
| 204 "//components/test/data/password_manager/login_db_v13.sql", |
| 205 "//components/test/data/password_manager/login_db_v14.sql", |
| 206 "//components/test/data/password_manager/login_db_v15.sql", |
| 207 "//components/test/data/password_manager/login_db_v16.sql", |
| 208 "//components/test/data/password_manager/login_db_v17.sql", |
| 209 "//components/test/data/password_manager/login_db_v1_broken.sql", |
| 210 "//components/test/data/password_manager/login_db_v2.sql", |
| 211 "//components/test/data/password_manager/login_db_v2_broken.sql", |
| 212 "//components/test/data/password_manager/login_db_v3.sql", |
| 213 "//components/test/data/password_manager/login_db_v3_broken.sql", |
| 214 "//components/test/data/password_manager/login_db_v4.sql", |
| 215 "//components/test/data/password_manager/login_db_v5.sql", |
| 216 "//components/test/data/password_manager/login_db_v6.sql", |
| 217 "//components/test/data/password_manager/login_db_v7.sql", |
| 218 "//components/test/data/password_manager/login_db_v8.sql", |
| 219 "//components/test/data/password_manager/login_db_v9.sql", |
| 220 "//components/test/data/password_manager/login_db_v9_without_use_additional_
auth_field.sql", |
| 221 ] |
| 222 outputs = [ |
| 223 "{{bundle_resources_dir}}/" + |
| 224 "{{source_root_relative_dir}}/{{source_file_part}}", |
| 225 ] |
| 226 } |
| 227 |
196 source_set("unit_tests") { | 228 source_set("unit_tests") { |
197 testonly = true | 229 testonly = true |
198 sources = [ | 230 sources = [ |
199 "affiliated_match_helper_unittest.cc", | 231 "affiliated_match_helper_unittest.cc", |
200 "affiliation_backend_unittest.cc", | 232 "affiliation_backend_unittest.cc", |
201 "affiliation_database_unittest.cc", | 233 "affiliation_database_unittest.cc", |
202 "affiliation_fetch_throttler_unittest.cc", | 234 "affiliation_fetch_throttler_unittest.cc", |
203 "affiliation_fetcher_unittest.cc", | 235 "affiliation_fetcher_unittest.cc", |
204 "affiliation_service_unittest.cc", | 236 "affiliation_service_unittest.cc", |
205 "affiliation_utils_unittest.cc", | 237 "affiliation_utils_unittest.cc", |
(...skipping 15 matching lines...) Expand all Loading... |
221 "password_store_default_unittest.cc", | 253 "password_store_default_unittest.cc", |
222 "password_store_origin_unittest.h", | 254 "password_store_origin_unittest.h", |
223 "password_store_unittest.cc", | 255 "password_store_unittest.cc", |
224 "password_syncable_service_unittest.cc", | 256 "password_syncable_service_unittest.cc", |
225 "password_ui_utils_unittest.cc", | 257 "password_ui_utils_unittest.cc", |
226 "psl_matching_helper_unittest.cc", | 258 "psl_matching_helper_unittest.cc", |
227 "statistics_table_unittest.cc", | 259 "statistics_table_unittest.cc", |
228 ] | 260 ] |
229 deps = [ | 261 deps = [ |
230 ":test_support", | 262 ":test_support", |
| 263 ":unit_tests_bundle_data", |
231 "//base/test:test_support", | 264 "//base/test:test_support", |
232 "//components/autofill/core/browser:test_support", | 265 "//components/autofill/core/browser:test_support", |
233 "//components/autofill/core/browser/proto", | 266 "//components/autofill/core/browser/proto", |
234 "//components/autofill/core/common", | 267 "//components/autofill/core/common", |
235 "//components/os_crypt", | 268 "//components/os_crypt", |
236 "//components/password_manager/core/browser:proto", | 269 "//components/password_manager/core/browser:proto", |
237 "//components/password_manager/core/common", | 270 "//components/password_manager/core/common", |
238 "//components/prefs:test_support", | 271 "//components/prefs:test_support", |
239 "//components/strings", | 272 "//components/strings", |
240 "//components/sync_driver:test_support", | 273 "//components/sync_driver:test_support", |
241 "//components/variations", | 274 "//components/variations", |
242 "//net:test_support", | 275 "//net:test_support", |
243 "//sql:test_support", | 276 "//sql:test_support", |
244 "//sync:test_support_sync_api", | 277 "//sync:test_support_sync_api", |
245 "//testing/gmock", | 278 "//testing/gmock", |
246 "//testing/gtest", | 279 "//testing/gtest", |
247 "//ui/base", | 280 "//ui/base", |
248 "//url", | 281 "//url", |
249 ] | 282 ] |
250 } | 283 } |
OLD | NEW |