Rollback feature is taken out of the flag.
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
blob787a4f32fc7704ceebe8014c905373f66d848282
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_search_service.cc',
29         'enhanced_bookmarks/bookmark_server_search_service.h',
30         'enhanced_bookmarks/bookmark_server_service.cc',
31         'enhanced_bookmarks/bookmark_server_service.h',
32         'enhanced_bookmarks/enhanced_bookmark_model.cc',
33         'enhanced_bookmarks/enhanced_bookmark_model.h',
34         'enhanced_bookmarks/enhanced_bookmark_model_observer.h',
35         'enhanced_bookmarks/enhanced_bookmark_utils.cc',
36         'enhanced_bookmarks/enhanced_bookmark_utils.h',
37         'enhanced_bookmarks/image_store.cc',
38         'enhanced_bookmarks/image_store.h',
39         'enhanced_bookmarks/image_store_util.cc',
40         'enhanced_bookmarks/image_store_util.h',
41         'enhanced_bookmarks/image_store_util_ios.mm',
42         'enhanced_bookmarks/item_position.cc',
43         'enhanced_bookmarks/item_position.h',
44         'enhanced_bookmarks/metadata_accessor.cc',
45         'enhanced_bookmarks/metadata_accessor.h',
46         'enhanced_bookmarks/persistent_image_store.cc',
47         'enhanced_bookmarks/persistent_image_store.h',
48       ],
49       'conditions': [
50         ['OS=="ios"', {
51           'sources!': [
52             'enhanced_bookmarks/image_store_util.cc',
53           ],
54         }],
55       ],
56     },
57     {
58       'target_name': 'enhanced_bookmarks_test_support',
59       'type': 'static_library',
60       'include_dirs': [
61         '..',
62       ],
63       'dependencies': [
64         '../testing/gtest.gyp:gtest',
65         'enhanced_bookmarks',
66       ],
67       'sources': [
68         'enhanced_bookmarks/test_image_store.cc',
69         'enhanced_bookmarks/test_image_store.h',
70       ],
71     },
72     {
73       'target_name': 'enhanced_bookmarks_proto',
74       'type': 'static_library',
75       'sources': [
76         'enhanced_bookmarks/proto/metadata.proto',
77         'enhanced_bookmarks/proto/search.proto',
78       ],
79       'variables': {
80         'proto_in_dir': './enhanced_bookmarks/proto',
81         'proto_out_dir': 'components/enhanced_bookmarks/proto',
82       },
83       'includes': [ '../build/protoc.gypi' ],
84     },
85   ],