Home | History | Annotate | Download | only in sync_driver
      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
      3 # found in the LICENSE file.
      4 
      5 static_library("sync_driver") {
      6   sources = [
      7     "backend_data_type_configurer.cc",
      8     "backend_data_type_configurer.h",
      9     "change_processor.cc",
     10     "change_processor.h",
     11     "data_type_controller.cc",
     12     "data_type_controller.h",
     13     "data_type_encryption_handler.cc",
     14     "data_type_encryption_handler.h",
     15     "data_type_error_handler.h",
     16     "data_type_manager.cc",
     17     "data_type_manager.h",
     18     "data_type_manager_impl.cc",
     19     "data_type_manager_impl.h",
     20     "data_type_manager_observer.h",
     21     "data_type_status_table.cc",
     22     "data_type_status_table.h",
     23     "device_info.cc",
     24     "device_info.h",
     25     "device_info_data_type_controller.cc",
     26     "device_info_data_type_controller.h",
     27     "device_info_sync_service.cc",
     28     "device_info_sync_service.h",
     29     "device_info_tracker.h",
     30     "generic_change_processor.cc",
     31     "generic_change_processor.h",
     32     "generic_change_processor_factory.cc",
     33     "generic_change_processor_factory.h",
     34     "local_device_info_provider.h",
     35     "model_association_manager.cc",
     36     "model_association_manager.h",
     37     "model_associator.h",
     38     "non_blocking_data_type_controller.cc",
     39     "non_blocking_data_type_controller.h",
     40     "non_blocking_data_type_manager.cc",
     41     "non_blocking_data_type_manager.h",
     42     "non_ui_data_type_controller.cc",
     43     "non_ui_data_type_controller.h",
     44     "pref_names.cc",
     45     "pref_names.h",
     46     "proxy_data_type_controller.cc",
     47     "proxy_data_type_controller.h",
     48     "sync_api_component_factory.h",
     49     "shared_change_processor.cc",
     50     "shared_change_processor.h",
     51     "shared_change_processor_ref.cc",
     52     "shared_change_processor_ref.h",
     53     "sync_frontend.cc",
     54     "sync_frontend.h",
     55     "sync_prefs.cc",
     56     "sync_prefs.h",
     57     "system_encryptor.cc",
     58     "system_encryptor.h",
     59     "ui_data_type_controller.cc",
     60     "ui_data_type_controller.h",
     61     "user_selectable_sync_type.h",
     62   ]
     63 
     64   deps = [
     65     "//base",
     66     "//components/os_crypt",
     67     "//sync",
     68   ]
     69 }
     70 
     71 static_library("test_support") {
     72   testonly = true
     73   sources = [
     74     "change_processor_mock.cc",
     75     "change_processor_mock.h",
     76     "data_type_controller_mock.cc",
     77     "data_type_controller_mock.h",
     78     "data_type_error_handler_mock.cc",
     79     "data_type_error_handler_mock.h",
     80     "data_type_manager_mock.cc",
     81     "data_type_manager_mock.h",
     82     "fake_data_type_controller.cc",
     83     "fake_data_type_controller.h",
     84     "fake_generic_change_processor.cc",
     85     "fake_generic_change_processor.h",
     86     "model_associator_mock.cc",
     87     "model_associator_mock.h",
     88     "non_ui_data_type_controller_mock.cc",
     89     "non_ui_data_type_controller_mock.h",
     90   ]
     91 
     92   deps = [
     93     ":sync_driver",
     94     "//base",
     95     "//sync",
     96     "//sync:test_support_sync_internal_api",
     97     "//testing/gmock",
     98     "//testing/gtest",
     99   ]
    100 }
    101