1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
# GN version: //components/syncable_prefs
'target_name': 'syncable_prefs',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../sync/sync.gyp:sync',
'pref_registry',
'prefs/prefs.gyp:prefs',
],
'include_dirs': [
'..',
],
'sources': [
'syncable_prefs/pref_model_associator.cc',
'syncable_prefs/pref_model_associator.h',
'syncable_prefs/pref_model_associator_client.h',
'syncable_prefs/pref_service_syncable.cc',
'syncable_prefs/pref_service_syncable.h',
'syncable_prefs/pref_service_syncable_factory.cc',
'syncable_prefs/pref_service_syncable_factory.h',
'syncable_prefs/pref_service_syncable_observer.h',
'syncable_prefs/synced_pref_change_registrar.cc',
'syncable_prefs/synced_pref_change_registrar.h',
'syncable_prefs/synced_pref_observer.h',
],
'conditions': [
['configuration_policy==1', {
'dependencies': [
'policy_component_browser',
'policy_component_common',
],
}],
],
},
{
# GN version: //components/syncable_prefs:test_support
'target_name': 'syncable_prefs_test_support',
'type': 'static_library',
'dependencies': [
'../testing/gtest.gyp:gtest',
'syncable_prefs',
],
'include_dirs': [
'..',
],
'sources': [
'syncable_prefs/pref_service_mock_factory.cc',
'syncable_prefs/pref_service_mock_factory.h',
'syncable_prefs/testing_pref_service_syncable.cc',
'syncable_prefs/testing_pref_service_syncable.h',
],
},
],
}
|