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      # GN version: //components/pref_registry
9      'target_name': 'pref_registry',
10      'type': '<(component)',
11      'dependencies': [
12        '../base/base.gyp:base',
13        '../base/base.gyp:base_prefs',
14        '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
15        '../ui/base/ui_base.gyp:ui_base',
16      ],
17      'include_dirs': [
18        '..',
19      ],
20      'defines': [
21        'PREF_REGISTRY_IMPLEMENTATION',
22      ],
23      'sources': [
24        'pref_registry/pref_registry_export.h',
25        'pref_registry/pref_registry_syncable.cc',
26        'pref_registry/pref_registry_syncable.h',
27      ],
28    },
29    {
30      # GN version: //components/pref_registry:test_support
31      'target_name': 'pref_registry_test_support',
32      'type': 'static_library',
33      'dependencies': [
34        'pref_registry',
35        '../base/base.gyp:base_prefs_test_support',
36      ],
37      'include_dirs': [
38        '..',
39      ],
40      'sources': [
41        'pref_registry/testing_pref_service_syncable.cc',
42        'pref_registry/testing_pref_service_syncable.h',
43      ],
44    },
45  ],
46}
47