| 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 |
| 11 password_reuse_detection_support = !is_android && !is_ios |
| 12 if (password_reuse_detection_support) { |
| 13 defines = [ "PASSWORD_REUSE_DETECTION_SUPPORT" ] |
| 14 } |
| 15 |
| 11 static_library("browser") { | 16 static_library("browser") { |
| 12 sources = [ | 17 sources = [ |
| 13 "affiliated_match_helper.cc", | 18 "affiliated_match_helper.cc", |
| 14 "affiliated_match_helper.h", | 19 "affiliated_match_helper.h", |
| 15 "affiliation_backend.cc", | 20 "affiliation_backend.cc", |
| 16 "affiliation_backend.h", | 21 "affiliation_backend.h", |
| 17 "affiliation_database.cc", | 22 "affiliation_database.cc", |
| 18 "affiliation_database.h", | 23 "affiliation_database.h", |
| 19 "affiliation_fetch_throttler.cc", | 24 "affiliation_fetch_throttler.cc", |
| 20 "affiliation_fetch_throttler.h", | 25 "affiliation_fetch_throttler.h", |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 "password_manager_constants.h", | 97 "password_manager_constants.h", |
| 93 "password_manager_driver.h", | 98 "password_manager_driver.h", |
| 94 "password_manager_internals_service.cc", | 99 "password_manager_internals_service.cc", |
| 95 "password_manager_internals_service.h", | 100 "password_manager_internals_service.h", |
| 96 "password_manager_metrics_util.cc", | 101 "password_manager_metrics_util.cc", |
| 97 "password_manager_metrics_util.h", | 102 "password_manager_metrics_util.h", |
| 98 "password_manager_settings_migration_experiment.cc", | 103 "password_manager_settings_migration_experiment.cc", |
| 99 "password_manager_settings_migration_experiment.h", | 104 "password_manager_settings_migration_experiment.h", |
| 100 "password_manager_util.cc", | 105 "password_manager_util.cc", |
| 101 "password_manager_util.h", | 106 "password_manager_util.h", |
| 102 "password_reuse_detection_manager.cc", | |
| 103 "password_reuse_detection_manager.h", | |
| 104 "password_reuse_detector.cc", | |
| 105 "password_reuse_detector.h", | |
| 106 "password_reuse_detector_consumer.cc", | |
| 107 "password_reuse_detector_consumer.h", | |
| 108 "password_store.cc", | 107 "password_store.cc", |
| 109 "password_store.h", | 108 "password_store.h", |
| 110 "password_store_change.cc", | 109 "password_store_change.cc", |
| 111 "password_store_change.h", | 110 "password_store_change.h", |
| 112 "password_store_consumer.cc", | 111 "password_store_consumer.cc", |
| 113 "password_store_consumer.h", | 112 "password_store_consumer.h", |
| 114 "password_store_default.cc", | 113 "password_store_default.cc", |
| 115 "password_store_default.h", | 114 "password_store_default.h", |
| 116 "password_store_factory_util.cc", | 115 "password_store_factory_util.cc", |
| 117 "password_store_factory_util.h", | 116 "password_store_factory_util.h", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 128 "statistics_table.cc", | 127 "statistics_table.cc", |
| 129 "statistics_table.h", | 128 "statistics_table.h", |
| 130 "test_affiliation_fetcher_factory.h", | 129 "test_affiliation_fetcher_factory.h", |
| 131 "webdata/logins_table.cc", | 130 "webdata/logins_table.cc", |
| 132 "webdata/logins_table.h", | 131 "webdata/logins_table.h", |
| 133 "webdata/logins_table_win.cc", | 132 "webdata/logins_table_win.cc", |
| 134 "webdata/password_web_data_service_win.cc", | 133 "webdata/password_web_data_service_win.cc", |
| 135 "webdata/password_web_data_service_win.h", | 134 "webdata/password_web_data_service_win.h", |
| 136 ] | 135 ] |
| 137 | 136 |
| 137 if (password_reuse_detection_support) { |
| 138 sources += [ |
| 139 "password_reuse_detection_manager.cc", |
| 140 "password_reuse_detection_manager.h", |
| 141 "password_reuse_detector.cc", |
| 142 "password_reuse_detector.h", |
| 143 "password_reuse_detector_consumer.cc", |
| 144 "password_reuse_detector_consumer.h", |
| 145 ] |
| 146 } |
| 147 |
| 138 public_deps = [ | 148 public_deps = [ |
| 139 "//base", | 149 "//base", |
| 140 "//components/sync", | 150 "//components/sync", |
| 141 ] | 151 ] |
| 142 deps = [ | 152 deps = [ |
| 143 ":proto", | 153 ":proto", |
| 144 "//base", | 154 "//base", |
| 145 "//base:i18n", | 155 "//base:i18n", |
| 146 "//components/autofill/core/browser", | 156 "//components/autofill/core/browser", |
| 147 "//components/autofill/core/browser/proto", | 157 "//components/autofill/core/browser/proto", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 "login_database_unittest.cc", | 299 "login_database_unittest.cc", |
| 290 "login_model_unittest.cc", | 300 "login_model_unittest.cc", |
| 291 "obsolete_http_cleaner_unittest.cc", | 301 "obsolete_http_cleaner_unittest.cc", |
| 292 "password_autofill_manager_unittest.cc", | 302 "password_autofill_manager_unittest.cc", |
| 293 "password_bubble_experiment_unittest.cc", | 303 "password_bubble_experiment_unittest.cc", |
| 294 "password_form_manager_unittest.cc", | 304 "password_form_manager_unittest.cc", |
| 295 "password_generation_manager_unittest.cc", | 305 "password_generation_manager_unittest.cc", |
| 296 "password_manager_settings_migration_experiment_unittest.cc", | 306 "password_manager_settings_migration_experiment_unittest.cc", |
| 297 "password_manager_unittest.cc", | 307 "password_manager_unittest.cc", |
| 298 "password_manager_util_unittest.cc", | 308 "password_manager_util_unittest.cc", |
| 299 "password_reuse_detection_manager_unittest.cc", | |
| 300 "password_reuse_detector_unittest.cc", | |
| 301 "password_store_default_unittest.cc", | 309 "password_store_default_unittest.cc", |
| 302 "password_store_origin_unittest.h", | 310 "password_store_origin_unittest.h", |
| 303 "password_store_unittest.cc", | 311 "password_store_unittest.cc", |
| 304 "password_syncable_service_unittest.cc", | 312 "password_syncable_service_unittest.cc", |
| 305 "password_ui_utils_unittest.cc", | 313 "password_ui_utils_unittest.cc", |
| 306 "psl_matching_helper_unittest.cc", | 314 "psl_matching_helper_unittest.cc", |
| 307 "sql_table_builder_unittest.cc", | 315 "sql_table_builder_unittest.cc", |
| 308 "statistics_table_unittest.cc", | 316 "statistics_table_unittest.cc", |
| 309 ] | 317 ] |
| 310 if (is_mac) { | 318 if (is_mac) { |
| 311 sources -= [ "password_store_default_unittest.cc" ] | 319 sources -= [ "password_store_default_unittest.cc" ] |
| 312 } | 320 } |
| 313 if (is_ios) { | 321 if (is_ios) { |
| 314 sources += [ "login_database_ios_unittest.cc" ] | 322 sources += [ "login_database_ios_unittest.cc" ] |
| 315 } | 323 } |
| 324 if (password_reuse_detection_support) { |
| 325 sources += [ |
| 326 "password_reuse_detection_manager_unittest.cc", |
| 327 "password_reuse_detector_unittest.cc", |
| 328 ] |
| 329 } |
| 316 deps = [ | 330 deps = [ |
| 317 ":test_support", | 331 ":test_support", |
| 318 ":unit_tests_bundle_data", | 332 ":unit_tests_bundle_data", |
| 319 "//base/test:test_support", | 333 "//base/test:test_support", |
| 320 "//components/autofill/core/browser:test_support", | 334 "//components/autofill/core/browser:test_support", |
| 321 "//components/autofill/core/browser/proto", | 335 "//components/autofill/core/browser/proto", |
| 322 "//components/autofill/core/common", | 336 "//components/autofill/core/common", |
| 323 "//components/os_crypt:test_support", | 337 "//components/os_crypt:test_support", |
| 324 "//components/password_manager/core/browser:proto", | 338 "//components/password_manager/core/browser:proto", |
| 325 "//components/password_manager/core/common", | 339 "//components/password_manager/core/common", |
| 326 "//components/prefs:test_support", | 340 "//components/prefs:test_support", |
| 327 "//components/security_state/core", | 341 "//components/security_state/core", |
| 328 "//components/strings", | 342 "//components/strings", |
| 329 "//components/sync:test_support_driver", | 343 "//components/sync:test_support_driver", |
| 330 "//components/sync:test_support_model", | 344 "//components/sync:test_support_model", |
| 331 "//components/variations", | 345 "//components/variations", |
| 332 "//net:test_support", | 346 "//net:test_support", |
| 333 "//sql:test_support", | 347 "//sql:test_support", |
| 334 "//testing/gmock", | 348 "//testing/gmock", |
| 335 "//testing/gtest", | 349 "//testing/gtest", |
| 336 "//ui/base", | 350 "//ui/base", |
| 337 "//url", | 351 "//url", |
| 338 ] | 352 ] |
| 339 } | 353 } |
| OLD | NEW |