BUILD.gn 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # Copyright 2019 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/chromeos/ui_mode.gni")
  5. import("//build/config/features.gni")
  6. static_library("driver") {
  7. sources = [
  8. "active_devices_provider.h",
  9. "backend_migrator.cc",
  10. "backend_migrator.h",
  11. "configure_context.h",
  12. "data_type_controller.cc",
  13. "data_type_controller.h",
  14. "data_type_encryption_handler.h",
  15. "data_type_manager.cc",
  16. "data_type_manager.h",
  17. "data_type_manager_impl.cc",
  18. "data_type_manager_impl.h",
  19. "data_type_manager_observer.h",
  20. "data_type_status_table.cc",
  21. "data_type_status_table.h",
  22. "glue/sync_engine_backend.cc",
  23. "glue/sync_engine_backend.h",
  24. "glue/sync_engine_impl.cc",
  25. "glue/sync_engine_impl.h",
  26. "glue/sync_transport_data_prefs.cc",
  27. "glue/sync_transport_data_prefs.h",
  28. "model_load_manager.cc",
  29. "model_load_manager.h",
  30. "model_type_controller.cc",
  31. "model_type_controller.h",
  32. "non_ui_syncable_service_based_model_type_controller.cc",
  33. "non_ui_syncable_service_based_model_type_controller.h",
  34. "passphrase_type_metrics_provider.cc",
  35. "passphrase_type_metrics_provider.h",
  36. "startup_controller.cc",
  37. "startup_controller.h",
  38. "sync_api_component_factory.h",
  39. "sync_auth_manager.cc",
  40. "sync_auth_manager.h",
  41. "sync_auth_util.cc",
  42. "sync_auth_util.h",
  43. "sync_client.h",
  44. "sync_internals_util.cc",
  45. "sync_internals_util.h",
  46. "sync_policy_handler.cc",
  47. "sync_policy_handler.h",
  48. "sync_service.cc",
  49. "sync_service.h",
  50. "sync_service_crypto.cc",
  51. "sync_service_crypto.h",
  52. "sync_service_impl.cc",
  53. "sync_service_impl.h",
  54. "sync_service_observer.cc",
  55. "sync_service_observer.h",
  56. "sync_service_utils.cc",
  57. "sync_service_utils.h",
  58. "sync_session_durations_metrics_recorder.cc",
  59. "sync_session_durations_metrics_recorder.h",
  60. "sync_stopped_reporter.cc",
  61. "sync_stopped_reporter.h",
  62. "sync_token_status.h",
  63. "sync_type_preference_provider.h",
  64. "sync_user_settings.h",
  65. "sync_user_settings_impl.cc",
  66. "sync_user_settings_impl.h",
  67. "syncable_service_based_model_type_controller.cc",
  68. "syncable_service_based_model_type_controller.h",
  69. "trusted_vault_client.h",
  70. "trusted_vault_histograms.cc",
  71. "trusted_vault_histograms.h",
  72. ]
  73. public_deps = [
  74. "//base",
  75. "//components/invalidation/public",
  76. "//components/sync/base",
  77. "//components/sync/engine",
  78. "//components/sync/model",
  79. "//components/sync/nigori",
  80. "//components/sync/protocol",
  81. "//components/sync/protocol:util",
  82. "//net",
  83. "//third_party/metrics_proto",
  84. "//url",
  85. ]
  86. deps = [
  87. "//base",
  88. "//base:i18n",
  89. "//build:chromeos_buildflags",
  90. "//components/invalidation/impl:feature_list",
  91. "//components/keyed_service/core",
  92. "//components/metrics",
  93. "//components/os_crypt",
  94. "//components/policy:generated",
  95. "//components/policy/core/browser",
  96. "//components/prefs",
  97. "//components/signin/public/identity_manager",
  98. "//components/sync/invalidations",
  99. "//components/version_info",
  100. "//components/version_info:generate_version_info",
  101. "//services/network/public/cpp",
  102. ]
  103. if (is_chromeos_ash) {
  104. deps += [ "//ash/constants" ]
  105. }
  106. configs += [ "//build/config/compiler:wexit_time_destructors" ]
  107. }