Forward accessibility events to the automation extension process.
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
blobda5435528be92a7fcc4630b2eba171c5c40fdabd
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       # GN: //components/enhanced_bookmarks:enhanced_bookmarks
9       'target_name': 'enhanced_bookmarks',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../google_apis/google_apis.gyp:google_apis',
17         '../net/net.gyp:net',
18         '../skia/skia.gyp:skia',
19         '../sql/sql.gyp:sql',
20         '../ui/gfx/gfx.gyp:gfx',
21         '../url/url.gyp:url_lib',
22         'bookmarks_browser',
23         'enhanced_bookmarks_proto',
24         'keyed_service_core',
25         'signin_core_browser',
26         'sync_driver',
27       ],
28       'sources': [
29         'enhanced_bookmarks/bookmark_image_service.cc',
30         'enhanced_bookmarks/bookmark_image_service.h',
31         'enhanced_bookmarks/bookmark_server_cluster_service.cc',
32         'enhanced_bookmarks/bookmark_server_cluster_service.h',
33         'enhanced_bookmarks/bookmark_server_search_service.cc',
34         'enhanced_bookmarks/bookmark_server_search_service.h',
35         'enhanced_bookmarks/bookmark_server_service.cc',
36         'enhanced_bookmarks/bookmark_server_service.h',
37         'enhanced_bookmarks/enhanced_bookmark_model.cc',
38         'enhanced_bookmarks/enhanced_bookmark_model.h',
39         'enhanced_bookmarks/enhanced_bookmark_model_observer.h',
40         'enhanced_bookmarks/enhanced_bookmark_utils.cc',
41         'enhanced_bookmarks/enhanced_bookmark_utils.h',
42         'enhanced_bookmarks/image_record.cc',
43         'enhanced_bookmarks/image_record.h',
44         'enhanced_bookmarks/image_store.cc',
45         'enhanced_bookmarks/image_store.h',
46         'enhanced_bookmarks/image_store_util.cc',
47         'enhanced_bookmarks/image_store_util.h',
48         'enhanced_bookmarks/image_store_util_ios.mm',
49         'enhanced_bookmarks/item_position.cc',
50         'enhanced_bookmarks/item_position.h',
51         'enhanced_bookmarks/metadata_accessor.cc',
52         'enhanced_bookmarks/metadata_accessor.h',
53         'enhanced_bookmarks/persistent_image_store.cc',
54         'enhanced_bookmarks/persistent_image_store.h',
55         'enhanced_bookmarks/pref_names.cc',
56         'enhanced_bookmarks/pref_names.h',
57       ],
58       'conditions': [
59         ['OS=="ios"', {
60           'sources!': [
61             'enhanced_bookmarks/image_store_util.cc',
62           ],
63         }],
64       ],
65     },
66     {
67       # GN: //components/enhanced_bookmarks:enhanced_bookmarks_test_support
68       'target_name': 'enhanced_bookmarks_test_support',
69       'type': 'static_library',
70       'include_dirs': [
71         '..',
72       ],
73       'dependencies': [
74         '../testing/gtest.gyp:gtest',
75         'enhanced_bookmarks',
76       ],
77       'sources': [
78         'enhanced_bookmarks/test_image_store.cc',
79         'enhanced_bookmarks/test_image_store.h',
80       ],
81     },
82     {
83       'target_name': 'enhanced_bookmarks_proto',
84       'type': 'static_library',
85       'sources': [
86         'enhanced_bookmarks/proto/cluster.proto',
87         'enhanced_bookmarks/proto/metadata.proto',
88         'enhanced_bookmarks/proto/search.proto',
89       ],
90       'variables': {
91         'proto_in_dir': './enhanced_bookmarks/proto',
92         'proto_out_dir': 'components/enhanced_bookmarks/proto',
93       },
94       'includes': [ '../build/protoc.gypi' ],
95     },
96   ],
97   'conditions' : [
98     ['OS=="android"', {
99       'targets': [
100         {
101           # GN: //components/enhanced_bookmarks:enhanced_bookmarks_java_enums_srcjar
102           'target_name': 'enhanced_bookmarks_java_enums_srcjar',
103           'type': 'none',
104           'variables': {
105             'source_file': 'enhanced_bookmarks/enhanced_bookmark_utils.h',
106           },
107           'includes': [ '../build/android/java_cpp_enum.gypi' ],
108         },
109       ],
110      },
111    ],
112   ],