| 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 # TODO(crbug.com/706392): Fix password reuse detection for Android. | 11 # TODO(crbug.com/706392): Fix password reuse detection for Android. |
| 12 password_reuse_detection_support = !is_android && !is_ios | 12 password_reuse_detection_support = !is_android && !is_ios |
| 13 | 13 |
| 14 static_library("browser") { | 14 static_library("browser") { |
| 15 sources = [ | 15 sources = [ |
| 16 "affiliated_match_helper.cc", | 16 "android_affiliation/affiliated_match_helper.cc", |
| 17 "affiliated_match_helper.h", | 17 "android_affiliation/affiliated_match_helper.h", |
| 18 "affiliation_backend.cc", | 18 "android_affiliation/affiliation_backend.cc", |
| 19 "affiliation_backend.h", | 19 "android_affiliation/affiliation_backend.h", |
| 20 "affiliation_database.cc", | 20 "android_affiliation/affiliation_database.cc", |
| 21 "affiliation_database.h", | 21 "android_affiliation/affiliation_database.h", |
| 22 "affiliation_fetch_throttler.cc", | 22 "android_affiliation/affiliation_fetch_throttler.cc", |
| 23 "affiliation_fetch_throttler.h", | 23 "android_affiliation/affiliation_fetch_throttler.h", |
| 24 "affiliation_fetch_throttler_delegate.h", | 24 "android_affiliation/affiliation_fetch_throttler_delegate.h", |
| 25 "affiliation_fetcher.cc", | 25 "android_affiliation/affiliation_fetcher.cc", |
| 26 "affiliation_fetcher.h", | 26 "android_affiliation/affiliation_fetcher.h", |
| 27 "affiliation_fetcher_delegate.h", | 27 "android_affiliation/affiliation_fetcher_delegate.h", |
| 28 "affiliation_service.cc", | 28 "android_affiliation/affiliation_service.cc", |
| 29 "affiliation_service.h", | 29 "android_affiliation/affiliation_service.h", |
| 30 "affiliation_utils.cc", | 30 "android_affiliation/affiliation_utils.cc", |
| 31 "affiliation_utils.h", | 31 "android_affiliation/affiliation_utils.h", |
| 32 "android_affiliation/facet_manager.cc", |
| 33 "android_affiliation/facet_manager.h", |
| 34 "android_affiliation/facet_manager_host.h", |
| 35 "android_affiliation/test_affiliation_fetcher_factory.h", |
| 32 "browser_save_password_progress_logger.cc", | 36 "browser_save_password_progress_logger.cc", |
| 33 "browser_save_password_progress_logger.h", | 37 "browser_save_password_progress_logger.h", |
| 34 "credential_manager_logger.cc", | 38 "credential_manager_logger.cc", |
| 35 "credential_manager_logger.h", | 39 "credential_manager_logger.h", |
| 36 "credential_manager_password_form_manager.cc", | 40 "credential_manager_password_form_manager.cc", |
| 37 "credential_manager_password_form_manager.h", | 41 "credential_manager_password_form_manager.h", |
| 38 "credential_manager_pending_prevent_silent_access_task.cc", | 42 "credential_manager_pending_prevent_silent_access_task.cc", |
| 39 "credential_manager_pending_prevent_silent_access_task.h", | 43 "credential_manager_pending_prevent_silent_access_task.h", |
| 40 "credential_manager_pending_request_task.cc", | 44 "credential_manager_pending_request_task.cc", |
| 41 "credential_manager_pending_request_task.h", | 45 "credential_manager_pending_request_task.h", |
| 42 "credentials_filter.h", | 46 "credentials_filter.h", |
| 43 "export/csv_writer.cc", | 47 "export/csv_writer.cc", |
| 44 "export/csv_writer.h", | 48 "export/csv_writer.h", |
| 45 "export/password_csv_writer.cc", | 49 "export/password_csv_writer.cc", |
| 46 "export/password_csv_writer.h", | 50 "export/password_csv_writer.h", |
| 47 "export/password_exporter.cc", | 51 "export/password_exporter.cc", |
| 48 "export/password_exporter.h", | 52 "export/password_exporter.h", |
| 49 "facet_manager.cc", | |
| 50 "facet_manager.h", | |
| 51 "facet_manager_host.h", | |
| 52 "form_fetcher.h", | 53 "form_fetcher.h", |
| 53 "form_fetcher_impl.cc", | 54 "form_fetcher_impl.cc", |
| 54 "form_fetcher_impl.h", | 55 "form_fetcher_impl.h", |
| 55 "form_saver.h", | 56 "form_saver.h", |
| 56 "form_saver_impl.cc", | 57 "form_saver_impl.cc", |
| 57 "form_saver_impl.h", | 58 "form_saver_impl.h", |
| 58 "http_password_store_migrator.cc", | 59 "http_password_store_migrator.cc", |
| 59 "http_password_store_migrator.h", | 60 "http_password_store_migrator.h", |
| 60 "import/csv_reader.cc", | 61 "import/csv_reader.cc", |
| 61 "import/csv_reader.h", | 62 "import/csv_reader.h", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 "psl_matching_helper.cc", | 121 "psl_matching_helper.cc", |
| 121 "psl_matching_helper.h", | 122 "psl_matching_helper.h", |
| 122 "site_affiliation/asset_link_retriever.cc", | 123 "site_affiliation/asset_link_retriever.cc", |
| 123 "site_affiliation/asset_link_retriever.h", | 124 "site_affiliation/asset_link_retriever.h", |
| 124 "sql_table_builder.cc", | 125 "sql_table_builder.cc", |
| 125 "sql_table_builder.h", | 126 "sql_table_builder.h", |
| 126 "statistics_table.cc", | 127 "statistics_table.cc", |
| 127 "statistics_table.h", | 128 "statistics_table.h", |
| 128 "suppressed_form_fetcher.cc", | 129 "suppressed_form_fetcher.cc", |
| 129 "suppressed_form_fetcher.h", | 130 "suppressed_form_fetcher.h", |
| 130 "test_affiliation_fetcher_factory.h", | |
| 131 "webdata/logins_table.cc", | 131 "webdata/logins_table.cc", |
| 132 "webdata/logins_table.h", | 132 "webdata/logins_table.h", |
| 133 "webdata/logins_table_win.cc", | 133 "webdata/logins_table_win.cc", |
| 134 "webdata/password_web_data_service_win.cc", | 134 "webdata/password_web_data_service_win.cc", |
| 135 "webdata/password_web_data_service_win.h", | 135 "webdata/password_web_data_service_win.h", |
| 136 ] | 136 ] |
| 137 | 137 |
| 138 if (password_reuse_detection_support) { | 138 if (password_reuse_detection_support) { |
| 139 sources += [ | 139 sources += [ |
| 140 "hash_password_manager.cc", | 140 "hash_password_manager.cc", |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 if (is_mac || is_ios) { | 193 if (is_mac || is_ios) { |
| 194 sources -= [ "login_database_posix.cc" ] | 194 sources -= [ "login_database_posix.cc" ] |
| 195 } | 195 } |
| 196 | 196 |
| 197 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 197 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 198 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 198 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 199 } | 199 } |
| 200 | 200 |
| 201 proto_library("proto") { | 201 proto_library("proto") { |
| 202 sources = [ | 202 sources = [ |
| 203 "affiliation_api.proto", | 203 "android_affiliation/affiliation_api.proto", |
| 204 ] | 204 ] |
| 205 } | 205 } |
| 206 | 206 |
| 207 static_library("test_support") { | 207 static_library("test_support") { |
| 208 testonly = true | 208 testonly = true |
| 209 sources = [ | 209 sources = [ |
| 210 "fake_affiliation_api.cc", | 210 "android_affiliation/fake_affiliation_api.cc", |
| 211 "fake_affiliation_api.h", | 211 "android_affiliation/fake_affiliation_api.h", |
| 212 "fake_affiliation_fetcher.cc", | 212 "android_affiliation/fake_affiliation_fetcher.cc", |
| 213 "fake_affiliation_fetcher.h", | 213 "android_affiliation/fake_affiliation_fetcher.h", |
| 214 "android_affiliation/mock_affiliated_match_helper.cc", |
| 215 "android_affiliation/mock_affiliated_match_helper.h", |
| 216 "android_affiliation/mock_affiliation_consumer.cc", |
| 217 "android_affiliation/mock_affiliation_consumer.h", |
| 214 "fake_form_fetcher.cc", | 218 "fake_form_fetcher.cc", |
| 215 "fake_form_fetcher.h", | 219 "fake_form_fetcher.h", |
| 216 "mock_affiliated_match_helper.cc", | |
| 217 "mock_affiliated_match_helper.h", | |
| 218 "mock_affiliation_consumer.cc", | |
| 219 "mock_affiliation_consumer.h", | |
| 220 "mock_password_store.cc", | 220 "mock_password_store.cc", |
| 221 "mock_password_store.h", | 221 "mock_password_store.h", |
| 222 "password_manager_test_utils.cc", | 222 "password_manager_test_utils.cc", |
| 223 "password_manager_test_utils.h", | 223 "password_manager_test_utils.h", |
| 224 "stub_credentials_filter.cc", | 224 "stub_credentials_filter.cc", |
| 225 "stub_credentials_filter.h", | 225 "stub_credentials_filter.h", |
| 226 "stub_form_saver.h", | 226 "stub_form_saver.h", |
| 227 "stub_log_manager.cc", | 227 "stub_log_manager.cc", |
| 228 "stub_log_manager.h", | 228 "stub_log_manager.h", |
| 229 "stub_password_manager_client.cc", | 229 "stub_password_manager_client.cc", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 ] | 277 ] |
| 278 outputs = [ | 278 outputs = [ |
| 279 "{{bundle_resources_dir}}/" + | 279 "{{bundle_resources_dir}}/" + |
| 280 "{{source_root_relative_dir}}/{{source_file_part}}", | 280 "{{source_root_relative_dir}}/{{source_file_part}}", |
| 281 ] | 281 ] |
| 282 } | 282 } |
| 283 | 283 |
| 284 source_set("unit_tests") { | 284 source_set("unit_tests") { |
| 285 testonly = true | 285 testonly = true |
| 286 sources = [ | 286 sources = [ |
| 287 "affiliated_match_helper_unittest.cc", | 287 "android_affiliation/affiliated_match_helper_unittest.cc", |
| 288 "affiliation_backend_unittest.cc", | 288 "android_affiliation/affiliation_backend_unittest.cc", |
| 289 "affiliation_database_unittest.cc", | 289 "android_affiliation/affiliation_database_unittest.cc", |
| 290 "affiliation_fetch_throttler_unittest.cc", | 290 "android_affiliation/affiliation_fetch_throttler_unittest.cc", |
| 291 "affiliation_fetcher_unittest.cc", | 291 "android_affiliation/affiliation_fetcher_unittest.cc", |
| 292 "affiliation_service_unittest.cc", | 292 "android_affiliation/affiliation_service_unittest.cc", |
| 293 "affiliation_utils_unittest.cc", | 293 "android_affiliation/affiliation_utils_unittest.cc", |
| 294 "android_affiliation/facet_manager_unittest.cc", |
| 294 "browser_save_password_progress_logger_unittest.cc", | 295 "browser_save_password_progress_logger_unittest.cc", |
| 295 "credential_manager_logger_unittest.cc", | 296 "credential_manager_logger_unittest.cc", |
| 296 "credential_manager_password_form_manager_unittest.cc", | 297 "credential_manager_password_form_manager_unittest.cc", |
| 297 "export/csv_writer_unittest.cc", | 298 "export/csv_writer_unittest.cc", |
| 298 "export/password_csv_writer_unittest.cc", | 299 "export/password_csv_writer_unittest.cc", |
| 299 "export/password_exporter_unittest.cc", | 300 "export/password_exporter_unittest.cc", |
| 300 "facet_manager_unittest.cc", | |
| 301 "form_fetcher_impl_unittest.cc", | 301 "form_fetcher_impl_unittest.cc", |
| 302 "form_saver_impl_unittest.cc", | 302 "form_saver_impl_unittest.cc", |
| 303 "http_password_store_migrator_unittest.cc", | 303 "http_password_store_migrator_unittest.cc", |
| 304 "import/csv_reader_unittest.cc", | 304 "import/csv_reader_unittest.cc", |
| 305 "import/password_csv_reader_unittest.cc", | 305 "import/password_csv_reader_unittest.cc", |
| 306 "import/password_importer_unittest.cc", | 306 "import/password_importer_unittest.cc", |
| 307 "log_manager_unittest.cc", | 307 "log_manager_unittest.cc", |
| 308 "log_router_unittest.cc", | 308 "log_router_unittest.cc", |
| 309 "login_database_unittest.cc", | 309 "login_database_unittest.cc", |
| 310 "login_model_unittest.cc", | 310 "login_model_unittest.cc", |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 "//components/sync:test_support_model", | 361 "//components/sync:test_support_model", |
| 362 "//components/variations", | 362 "//components/variations", |
| 363 "//net:test_support", | 363 "//net:test_support", |
| 364 "//sql:test_support", | 364 "//sql:test_support", |
| 365 "//testing/gmock", | 365 "//testing/gmock", |
| 366 "//testing/gtest", | 366 "//testing/gtest", |
| 367 "//ui/base", | 367 "//ui/base", |
| 368 "//url", | 368 "//url", |
| 369 ] | 369 ] |
| 370 } | 370 } |
| OLD | NEW |