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