[Eraser strings] Remove/replace some supervised user strings
[chromium-blink-merge.git] / components / user_prefs.gypi
blob236e8eda73d28409d5b7cf61ae21f65afa8715e0
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.
6   'targets': [
7     {
8       'target_name': 'user_prefs',
9       'type': '<(component)',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../base/base.gyp:base_prefs',
13       ],
14       'include_dirs': [
15         '..',
16       ],
17       'defines': [
18         'USER_PREFS_IMPLEMENTATION',
19       ],
20       'sources': [
21         'user_prefs/user_prefs.cc',
22         'user_prefs/user_prefs.h',
23         'user_prefs/user_prefs_export.h',
24       ],
25     },
26     {
27       'target_name': 'user_prefs_tracked',
28       'type': 'static_library',
29       'include_dirs': [
30         '..',
31       ],
32       'dependencies': [
33       ],
34       'sources': [
35         'user_prefs/tracked/device_id.h',
36         'user_prefs/tracked/device_id_stub.cc',
37         'user_prefs/tracked/device_id_win.cc',
38         'user_prefs/tracked/dictionary_hash_store_contents.cc',
39         'user_prefs/tracked/dictionary_hash_store_contents.h',
40         'user_prefs/tracked/hash_store_contents.h',
41         'user_prefs/tracked/interceptable_pref_filter.cc',
42         'user_prefs/tracked/interceptable_pref_filter.h',
43         'user_prefs/tracked/pref_hash_calculator.cc',
44         'user_prefs/tracked/pref_hash_calculator.h',
45         'user_prefs/tracked/pref_hash_filter.cc',
46         'user_prefs/tracked/pref_hash_filter.h',
47         'user_prefs/tracked/pref_hash_store.h',
48         'user_prefs/tracked/pref_hash_store_impl.cc',
49         'user_prefs/tracked/pref_hash_store_impl.h',
50         'user_prefs/tracked/pref_hash_store_transaction.h',
51         'user_prefs/tracked/pref_names.cc',
52         'user_prefs/tracked/pref_names.h',
53         'user_prefs/tracked/pref_service_hash_store_contents.cc',
54         'user_prefs/tracked/pref_service_hash_store_contents.h',
55         'user_prefs/tracked/segregated_pref_store.cc',
56         'user_prefs/tracked/segregated_pref_store.h',
57         'user_prefs/tracked/tracked_atomic_preference.cc',
58         'user_prefs/tracked/tracked_atomic_preference.h',
59         'user_prefs/tracked/tracked_preference.h',
60         'user_prefs/tracked/tracked_preference_helper.cc',
61         'user_prefs/tracked/tracked_preference_helper.h',
62         'user_prefs/tracked/tracked_preference_validation_delegate.h',
63         'user_prefs/tracked/tracked_preferences_migration.cc',
64         'user_prefs/tracked/tracked_preferences_migration.h',
65         'user_prefs/tracked/tracked_split_preference.cc',
66         'user_prefs/tracked/tracked_split_preference.h',
67       ],
68       'conditions': [
69         ['OS=="win"', {
70           'sources!': [
71             'user_prefs/tracked/device_id_stub.cc',
72           ],
73         }],
74       ],
76       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
77       'msvs_disabled_warnings': [4267, ],
78     },
79     {
80       'target_name': 'user_prefs_tracked_test_support',
81       'type': 'static_library',
82       'include_dirs': [
83         '..',
84       ],
85       'dependencies': [
86       ],
87       'sources': [
88         'user_prefs/tracked/mock_validation_delegate.cc',
89         'user_prefs/tracked/mock_validation_delegate.h',
90       ],
91     },
92   ],