1 # Copyright 2015 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.
5 import("//build/config/features.gni")
7 source_set("syncable_prefs") {
9 "pref_model_associator.cc",
10 "pref_model_associator.h",
11 "pref_model_associator_client.h",
12 "pref_service_syncable.cc",
13 "pref_service_syncable.h",
14 "pref_service_syncable_factory.cc",
15 "pref_service_syncable_factory.h",
16 "pref_service_syncable_observer.h",
17 "synced_pref_change_registrar.cc",
18 "synced_pref_change_registrar.h",
19 "synced_pref_observer.h",
25 "//components/pref_registry",
29 if (enable_configuration_policy) {
31 "//components/policy:policy_component_browser",
32 "//components/policy:policy_component_common",
37 source_set("test_support") {
40 "pref_service_mock_factory.cc",
41 "pref_service_mock_factory.h",
42 "testing_pref_service_syncable.cc",
43 "testing_pref_service_syncable.h",
52 source_set("unit_tests") {
55 "pref_model_associator_unittest.cc",
56 "pref_service_syncable_unittest.cc",
63 "//sync:test_support_sync_api",