[tracing] Simplify and improve thread-hopping logic of memory-infra
[chromium-blink-merge.git] / components / pref_registry.gypi
blob86dfdce93cc7f15b5c4b96a3f4c28113406d8745
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       # 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       ],
16       'include_dirs': [
17         '..',
18       ],
19       'defines': [
20         'PREF_REGISTRY_IMPLEMENTATION',
21       ],
22       'sources': [
23         'pref_registry/pref_registry_export.h',
24         'pref_registry/pref_registry_syncable.cc',
25         'pref_registry/pref_registry_syncable.h',
26       ],
27     },
28     {
29       # GN version: //components/pref_registry:test_support
30       'target_name': 'pref_registry_test_support',
31       'type': 'static_library',
32       'dependencies': [
33         'pref_registry',
34         '../base/base.gyp:base_prefs_test_support',
35       ],
36       'include_dirs': [
37         '..',
38       ],
39       'sources': [
40         'pref_registry/testing_pref_service_syncable.cc',
41         'pref_registry/testing_pref_service_syncable.h',
42       ],
43     },
44   ],