| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 "log_router.cc", | 67 "log_router.cc", |
| 68 "log_router.h", | 68 "log_router.h", |
| 69 "login_database.cc", | 69 "login_database.cc", |
| 70 "login_database.h", | 70 "login_database.h", |
| 71 "login_database_ios.cc", | 71 "login_database_ios.cc", |
| 72 "login_database_mac.cc", | 72 "login_database_mac.cc", |
| 73 "login_database_posix.cc", | 73 "login_database_posix.cc", |
| 74 "login_database_win.cc", | 74 "login_database_win.cc", |
| 75 "login_model.cc", | 75 "login_model.cc", |
| 76 "login_model.h", | 76 "login_model.h", |
| 77 "obsolete_http_cleaner.cc", | |
| 78 "obsolete_http_cleaner.h", | |
| 79 "password_autofill_manager.cc", | 77 "password_autofill_manager.cc", |
| 80 "password_autofill_manager.h", | 78 "password_autofill_manager.h", |
| 81 "password_bubble_experiment.cc", | 79 "password_bubble_experiment.cc", |
| 82 "password_bubble_experiment.h", | 80 "password_bubble_experiment.h", |
| 83 "password_form_manager.cc", | 81 "password_form_manager.cc", |
| 84 "password_form_manager.h", | 82 "password_form_manager.h", |
| 85 "password_generation_manager.cc", | 83 "password_generation_manager.cc", |
| 86 "password_generation_manager.h", | 84 "password_generation_manager.h", |
| 87 "password_manager.cc", | 85 "password_manager.cc", |
| 88 "password_manager.h", | 86 "password_manager.h", |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 "//google_apis", | 158 "//google_apis", |
| 161 "//net", | 159 "//net", |
| 162 "//sql", | 160 "//sql", |
| 163 "//third_party/protobuf:protobuf_lite", | 161 "//third_party/protobuf:protobuf_lite", |
| 164 "//third_party/re2", | 162 "//third_party/re2", |
| 165 "//ui/base", | 163 "//ui/base", |
| 166 "//ui/gfx", | 164 "//ui/gfx", |
| 167 "//url", | 165 "//url", |
| 168 ] | 166 ] |
| 169 | 167 |
| 168 if (!is_ios) { |
| 169 sources += [ |
| 170 "hsts_query.cc", |
| 171 "hsts_query.h", |
| 172 "http_data_cleaner.cc", |
| 173 "http_data_cleaner.h", |
| 174 ] |
| 175 } |
| 176 |
| 170 if (is_mac || is_ios) { | 177 if (is_mac || is_ios) { |
| 171 sources -= [ "login_database_posix.cc" ] | 178 sources -= [ "login_database_posix.cc" ] |
| 172 } | 179 } |
| 173 | 180 |
| 174 if (!is_ios) { | 181 if (!is_ios) { |
| 175 deps += [ "//components/safe_browsing/password_protection" ] | 182 deps += [ "//components/safe_browsing/password_protection" ] |
| 176 } | 183 } |
| 177 | 184 |
| 178 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 185 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 179 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 186 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 ] | 223 ] |
| 217 | 224 |
| 218 public_deps = [ | 225 public_deps = [ |
| 219 ":browser", | 226 ":browser", |
| 220 "//testing/gmock", | 227 "//testing/gmock", |
| 221 "//url:url", | 228 "//url:url", |
| 222 ] | 229 ] |
| 223 deps = [ | 230 deps = [ |
| 224 "//base", | 231 "//base", |
| 225 "//components/autofill/core/common", | 232 "//components/autofill/core/common", |
| 233 "//net:net", |
| 226 "//testing/gtest", | 234 "//testing/gtest", |
| 227 ] | 235 ] |
| 228 } | 236 } |
| 229 | 237 |
| 230 bundle_data("unit_tests_bundle_data") { | 238 bundle_data("unit_tests_bundle_data") { |
| 231 visibility = [ ":unit_tests" ] | 239 visibility = [ ":unit_tests" ] |
| 232 testonly = true | 240 testonly = true |
| 233 sources = [ | 241 sources = [ |
| 234 "//components/test/data/password_manager/login_db_v1.sql", | 242 "//components/test/data/password_manager/login_db_v1.sql", |
| 235 "//components/test/data/password_manager/login_db_v10.sql", | 243 "//components/test/data/password_manager/login_db_v10.sql", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 "form_fetcher_impl_unittest.cc", | 289 "form_fetcher_impl_unittest.cc", |
| 282 "form_saver_impl_unittest.cc", | 290 "form_saver_impl_unittest.cc", |
| 283 "http_password_store_migrator_unittest.cc", | 291 "http_password_store_migrator_unittest.cc", |
| 284 "import/csv_reader_unittest.cc", | 292 "import/csv_reader_unittest.cc", |
| 285 "import/password_csv_reader_unittest.cc", | 293 "import/password_csv_reader_unittest.cc", |
| 286 "import/password_importer_unittest.cc", | 294 "import/password_importer_unittest.cc", |
| 287 "log_manager_unittest.cc", | 295 "log_manager_unittest.cc", |
| 288 "log_router_unittest.cc", | 296 "log_router_unittest.cc", |
| 289 "login_database_unittest.cc", | 297 "login_database_unittest.cc", |
| 290 "login_model_unittest.cc", | 298 "login_model_unittest.cc", |
| 291 "obsolete_http_cleaner_unittest.cc", | |
| 292 "password_autofill_manager_unittest.cc", | 299 "password_autofill_manager_unittest.cc", |
| 293 "password_bubble_experiment_unittest.cc", | 300 "password_bubble_experiment_unittest.cc", |
| 294 "password_form_manager_unittest.cc", | 301 "password_form_manager_unittest.cc", |
| 295 "password_generation_manager_unittest.cc", | 302 "password_generation_manager_unittest.cc", |
| 296 "password_manager_settings_migration_experiment_unittest.cc", | 303 "password_manager_settings_migration_experiment_unittest.cc", |
| 297 "password_manager_unittest.cc", | 304 "password_manager_unittest.cc", |
| 298 "password_manager_util_unittest.cc", | 305 "password_manager_util_unittest.cc", |
| 299 "password_reuse_detection_manager_unittest.cc", | 306 "password_reuse_detection_manager_unittest.cc", |
| 300 "password_reuse_detector_unittest.cc", | 307 "password_reuse_detector_unittest.cc", |
| 301 "password_store_default_unittest.cc", | 308 "password_store_default_unittest.cc", |
| 302 "password_store_origin_unittest.h", | 309 "password_store_origin_unittest.h", |
| 303 "password_store_unittest.cc", | 310 "password_store_unittest.cc", |
| 304 "password_syncable_service_unittest.cc", | 311 "password_syncable_service_unittest.cc", |
| 305 "password_ui_utils_unittest.cc", | 312 "password_ui_utils_unittest.cc", |
| 306 "psl_matching_helper_unittest.cc", | 313 "psl_matching_helper_unittest.cc", |
| 307 "sql_table_builder_unittest.cc", | 314 "sql_table_builder_unittest.cc", |
| 308 "statistics_table_unittest.cc", | 315 "statistics_table_unittest.cc", |
| 309 ] | 316 ] |
| 310 if (is_mac) { | 317 if (is_mac) { |
| 311 sources -= [ "password_store_default_unittest.cc" ] | 318 sources -= [ "password_store_default_unittest.cc" ] |
| 312 } | 319 } |
| 313 if (is_ios) { | 320 if (is_ios) { |
| 314 sources += [ "login_database_ios_unittest.cc" ] | 321 sources += [ "login_database_ios_unittest.cc" ] |
| 322 } else { |
| 323 sources += [ |
| 324 "hsts_query_unittest.cc", |
| 325 "http_data_cleaner_unittest.cc", |
| 326 ] |
| 315 } | 327 } |
| 316 deps = [ | 328 deps = [ |
| 317 ":test_support", | 329 ":test_support", |
| 318 ":unit_tests_bundle_data", | 330 ":unit_tests_bundle_data", |
| 319 "//base/test:test_support", | 331 "//base/test:test_support", |
| 320 "//components/autofill/core/browser:test_support", | 332 "//components/autofill/core/browser:test_support", |
| 321 "//components/autofill/core/browser/proto", | 333 "//components/autofill/core/browser/proto", |
| 322 "//components/autofill/core/common", | 334 "//components/autofill/core/common", |
| 323 "//components/os_crypt:test_support", | 335 "//components/os_crypt:test_support", |
| 324 "//components/password_manager/core/browser:proto", | 336 "//components/password_manager/core/browser:proto", |
| 325 "//components/password_manager/core/common", | 337 "//components/password_manager/core/common", |
| 326 "//components/prefs:test_support", | 338 "//components/prefs:test_support", |
| 327 "//components/security_state/core", | 339 "//components/security_state/core", |
| 328 "//components/strings", | 340 "//components/strings", |
| 329 "//components/sync:test_support_driver", | 341 "//components/sync:test_support_driver", |
| 330 "//components/sync:test_support_model", | 342 "//components/sync:test_support_model", |
| 331 "//components/variations", | 343 "//components/variations", |
| 332 "//net:test_support", | 344 "//net:test_support", |
| 333 "//sql:test_support", | 345 "//sql:test_support", |
| 334 "//testing/gmock", | 346 "//testing/gmock", |
| 335 "//testing/gtest", | 347 "//testing/gtest", |
| 336 "//ui/base", | 348 "//ui/base", |
| 337 "//url", | 349 "//url", |
| 338 ] | 350 ] |
| 339 } | 351 } |
| OLD | NEW |