Add diagnostics_writer.cc to the list of files allowed to printf.
[chromium-blink-merge.git] / components / bookmarks.gypi
blobc88c26e5043246d1942b0d1b2454e7915bfdc03b
1 # Copyright 2014 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': 'bookmarks_browser',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'dependencies': [
14         '../base/base.gyp:base',
15         '../net/net.gyp:net',
16         '../third_party/icu/icu.gyp:icuuc',
17         '../ui/base/ui_base.gyp:ui_base',
18         '../ui/gfx/gfx.gyp:gfx',
19         '../url/url.gyp:url_lib',
20         'bookmarks_common',
21         'components_strings.gyp:components_strings',
22         'favicon_base',
23         'keyed_service_core',
24         'pref_registry',
25         'query_parser',
26         'startup_metric_utils',
27       ],
28       'sources': [
29         'bookmarks/browser/base_bookmark_model_observer.cc',
30         'bookmarks/browser/base_bookmark_model_observer.h',
31         'bookmarks/browser/bookmark_client.cc',
32         'bookmarks/browser/bookmark_client.h',
33         'bookmarks/browser/bookmark_codec.cc',
34         'bookmarks/browser/bookmark_codec.h',
35         'bookmarks/browser/bookmark_expanded_state_tracker.cc',
36         'bookmarks/browser/bookmark_expanded_state_tracker.h',
37         'bookmarks/browser/bookmark_index.cc',
38         'bookmarks/browser/bookmark_index.h',
39         'bookmarks/browser/bookmark_match.cc',
40         'bookmarks/browser/bookmark_match.h',
41         'bookmarks/browser/bookmark_model.cc',
42         'bookmarks/browser/bookmark_model.h',
43         'bookmarks/browser/bookmark_model_observer.h',
44         'bookmarks/browser/bookmark_node.cc',
45         'bookmarks/browser/bookmark_node.h',
46         'bookmarks/browser/bookmark_node_data.cc',
47         'bookmarks/browser/bookmark_node_data.h',
48         'bookmarks/browser/bookmark_node_data_ios.cc',
49         'bookmarks/browser/bookmark_node_data_mac.cc',
50         'bookmarks/browser/bookmark_node_data_views.cc',
51         'bookmarks/browser/bookmark_pasteboard_helper_mac.h',
52         'bookmarks/browser/bookmark_pasteboard_helper_mac.mm',
53         'bookmarks/browser/bookmark_storage.cc',
54         'bookmarks/browser/bookmark_storage.h',
55         'bookmarks/browser/bookmark_utils.cc',
56         'bookmarks/browser/bookmark_utils.h',
57         'bookmarks/browser/scoped_group_bookmark_actions.cc',
58         'bookmarks/browser/scoped_group_bookmark_actions.h',
59       ],
60     },
61     {
62       'target_name': 'bookmarks_common',
63       'type': 'static_library',
64       'include_dirs': [
65         '..',
66       ],
67       'dependencies': [
68         '../base/base.gyp:base',
69       ],
70       'sources': [
71         'bookmarks/common/bookmark_constants.cc',
72         'bookmarks/common/bookmark_constants.h',
73         'bookmarks/common/bookmark_pref_names.cc',
74         'bookmarks/common/bookmark_pref_names.h',
75       ],
76     },
77     {
78       'target_name': 'bookmarks_test_support',
79       'type': 'static_library',
80       'include_dirs': [
81         '..',
82       ],
83       'dependencies': [
84         '../base/base.gyp:base',
85         '../testing/gmock.gyp:gmock',
86         '../ui/events/platform/events_platform.gyp:events_platform',
87         '../url/url.gyp:url_lib',
88         'bookmarks_browser',
89       ],
90       'sources': [
91         'bookmarks/test/bookmark_test_helpers.cc',
92         'bookmarks/test/bookmark_test_helpers.h',
93         'bookmarks/test/mock_bookmark_model_observer.cc',
94         'bookmarks/test/mock_bookmark_model_observer.h',
95         'bookmarks/test/test_bookmark_client.cc',
96         'bookmarks/test/test_bookmark_client.h',
97       ],
98       'conditions': [
99         ['use_x11==1', {
100           'dependencies': [
101             '../ui/events/platform/x11/x11_events_platform.gyp:x11_events_platform',
102           ],
103         }],
104       ],
105     },
106   ],