ProjectingObserverChromeos: Drop DBusThreadManager dependency for better testing.
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
blob71b815a63cee4eb87e74cb90d4e24ba06afe351c
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': 'enhanced_bookmarks',
9       'type': 'static_library',
10       'include_dirs': [
11         '..',
12       ],
13       'dependencies': [
14         '../base/base.gyp:base',
15         '../google_apis/google_apis.gyp:google_apis',
16         '../net/net.gyp:net',
17         '../sql/sql.gyp:sql',
18         '../ui/gfx/gfx.gyp:gfx',
19         '../url/url.gyp:url_lib',
20         'bookmarks_browser',
21         'enhanced_bookmarks_proto',
22         'keyed_service_core',
23         'signin_core_browser',
24       ],
25       'sources': [
26         'enhanced_bookmarks/bookmark_image_service.cc',
27         'enhanced_bookmarks/bookmark_image_service.h',
28         'enhanced_bookmarks/bookmark_server_cluster_service.cc',
29         'enhanced_bookmarks/bookmark_server_cluster_service.h',
30         'enhanced_bookmarks/bookmark_server_search_service.cc',
31         'enhanced_bookmarks/bookmark_server_search_service.h',
32         'enhanced_bookmarks/bookmark_server_service.cc',
33         'enhanced_bookmarks/bookmark_server_service.h',
34         'enhanced_bookmarks/enhanced_bookmark_model.cc',
35         'enhanced_bookmarks/enhanced_bookmark_model.h',
36         'enhanced_bookmarks/enhanced_bookmark_model_observer.h',
37         'enhanced_bookmarks/enhanced_bookmark_utils.cc',
38         'enhanced_bookmarks/enhanced_bookmark_utils.h',
39         'enhanced_bookmarks/image_store.cc',
40         'enhanced_bookmarks/image_store.h',
41         'enhanced_bookmarks/image_store_util.cc',
42         'enhanced_bookmarks/image_store_util.h',
43         'enhanced_bookmarks/image_store_util_ios.mm',
44         'enhanced_bookmarks/item_position.cc',
45         'enhanced_bookmarks/item_position.h',
46         'enhanced_bookmarks/metadata_accessor.cc',
47         'enhanced_bookmarks/metadata_accessor.h',
48         'enhanced_bookmarks/persistent_image_store.cc',
49         'enhanced_bookmarks/persistent_image_store.h',
50         'enhanced_bookmarks/pref_names.cc',
51         'enhanced_bookmarks/pref_names.h',
52       ],
53       'conditions': [
54         ['OS=="ios"', {
55           'sources!': [
56             'enhanced_bookmarks/image_store_util.cc',
57           ],
58         }],
59       ],
60     },
61     {
62       'target_name': 'enhanced_bookmarks_test_support',
63       'type': 'static_library',
64       'include_dirs': [
65         '..',
66       ],
67       'dependencies': [
68         '../testing/gtest.gyp:gtest',
69         'enhanced_bookmarks',
70       ],
71       'sources': [
72         'enhanced_bookmarks/test_image_store.cc',
73         'enhanced_bookmarks/test_image_store.h',
74       ],
75     },
76     {
77       'target_name': 'enhanced_bookmarks_proto',
78       'type': 'static_library',
79       'sources': [
80         'enhanced_bookmarks/proto/cluster.proto',
81         'enhanced_bookmarks/proto/metadata.proto',
82         'enhanced_bookmarks/proto/search.proto',
83       ],
84       'variables': {
85         'proto_in_dir': './enhanced_bookmarks/proto',
86         'proto_out_dir': 'components/enhanced_bookmarks/proto',
87       },
88       'includes': [ '../build/protoc.gypi' ],
89     },
90   ],