OLD | NEW |
| (Empty) |
1 # Copyright (c) 2013 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 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'prefs', | |
9 'type': '<(component)', | |
10 'dependencies': [ | |
11 '../../base/base.gyp:base', | |
12 ], | |
13 'include_dirs': [ | |
14 '../..', | |
15 ], | |
16 'defines': [ | |
17 'COMPONENTS_PREFS_IMPLEMENTATION', | |
18 ], | |
19 'sources': [ | |
20 'default_pref_store.cc', | |
21 'default_pref_store.h', | |
22 'in_memory_pref_store.cc', | |
23 'in_memory_pref_store.h', | |
24 'json_pref_store.cc', | |
25 'json_pref_store.h', | |
26 'overlay_user_pref_store.cc', | |
27 'overlay_user_pref_store.h', | |
28 'pref_change_registrar.cc', | |
29 'pref_change_registrar.h', | |
30 'pref_member.cc', | |
31 'pref_member.h', | |
32 'pref_notifier_impl.cc', | |
33 'pref_notifier_impl.h', | |
34 'pref_registry.cc', | |
35 'pref_registry.h', | |
36 'pref_registry_simple.cc', | |
37 'pref_registry_simple.h', | |
38 'pref_service.cc', | |
39 'pref_service.h', | |
40 'pref_service_factory.cc', | |
41 'pref_service_factory.h', | |
42 'pref_store.cc', | |
43 'pref_store.h', | |
44 'pref_value_map.cc', | |
45 'pref_value_map.h', | |
46 'pref_value_store.cc', | |
47 'pref_value_store.h', | |
48 'scoped_user_pref_update.cc', | |
49 'scoped_user_pref_update.h', | |
50 'value_map_pref_store.cc', | |
51 'value_map_pref_store.h', | |
52 ], | |
53 'conditions': [ | |
54 ['OS!="ios"', { | |
55 'sources': [ | |
56 'base_prefs_export.h', | |
57 'persistent_pref_store.h', | |
58 'pref_filter.h', | |
59 'pref_notifier.h', | |
60 'pref_observer.h', | |
61 'writeable_pref_store.h', | |
62 ] | |
63 }] | |
64 ], | |
65 }, | |
66 { | |
67 'target_name': 'prefs_test_support', | |
68 'type': 'static_library', | |
69 'include_dirs': [ | |
70 '../..', | |
71 ], | |
72 'dependencies': [ | |
73 'prefs', | |
74 '<(DEPTH)/testing/gmock.gyp:gmock', | |
75 '<(DEPTH)/testing/gtest.gyp:gtest', | |
76 ], | |
77 'sources': [ | |
78 'mock_pref_change_callback.cc', | |
79 'mock_pref_change_callback.h', | |
80 'pref_store_observer_mock.cc', | |
81 'pref_store_observer_mock.h', | |
82 'testing_pref_service.cc', | |
83 'testing_pref_service.h', | |
84 'testing_pref_store.cc', | |
85 'testing_pref_store.h', | |
86 ], | |
87 }, | |
88 ], | |
89 } | |
OLD | NEW |