Remove migrateNetworkPredictionPreferences().
[chromium-blink-merge.git] / components / enhanced_bookmarks.gypi
blobd9d895303d8677b7938bf8ac3e46bc32d120c40a
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         'variations',
28       ],
29       'sources': [
30         'enhanced_bookmarks/bookmark_server_cluster_service.cc',
31         'enhanced_bookmarks/bookmark_server_cluster_service.h',
32         'enhanced_bookmarks/bookmark_server_service.cc',
33         'enhanced_bookmarks/bookmark_server_service.h',
34         'enhanced_bookmarks/enhanced_bookmark_features.cc',
35         'enhanced_bookmarks/enhanced_bookmark_features.h',
36         'enhanced_bookmarks/enhanced_bookmark_model.cc',
37         'enhanced_bookmarks/enhanced_bookmark_model.h',
38         'enhanced_bookmarks/enhanced_bookmark_model_observer.h',
39         'enhanced_bookmarks/enhanced_bookmark_switches.cc',
40         'enhanced_bookmarks/enhanced_bookmark_switches.h',
41         'enhanced_bookmarks/enhanced_bookmark_utils.cc',
42         'enhanced_bookmarks/enhanced_bookmark_utils.h',
43         'enhanced_bookmarks/image_record.cc',
44         'enhanced_bookmarks/image_record.h',
45         'enhanced_bookmarks/image_store.cc',
46         'enhanced_bookmarks/image_store.h',
47         'enhanced_bookmarks/image_store_util.cc',
48         'enhanced_bookmarks/image_store_util.h',
49         'enhanced_bookmarks/image_store_util_ios.mm',
50         'enhanced_bookmarks/item_position.cc',
51         'enhanced_bookmarks/item_position.h',
52         'enhanced_bookmarks/metadata_accessor.cc',
53         'enhanced_bookmarks/metadata_accessor.h',
54         'enhanced_bookmarks/persistent_image_store.cc',
55         'enhanced_bookmarks/persistent_image_store.h',
56         'enhanced_bookmarks/pref_names.cc',
57         'enhanced_bookmarks/pref_names.h',
58       ],
59       'conditions': [
60         ['OS=="ios"', {
61           'sources!': [
62             'enhanced_bookmarks/image_store_util.cc',
63           ],
64         }],
65       ],
66     },
67     {
68       # GN: //components/enhanced_bookmarks:enhanced_bookmarks_test_support
69       'target_name': 'enhanced_bookmarks_test_support',
70       'type': 'static_library',
71       'include_dirs': [
72         '..',
73       ],
74       'dependencies': [
75         '../skia/skia.gyp:skia',
76         '../testing/gtest.gyp:gtest',
77         'enhanced_bookmarks',
78       ],
79       'sources': [
80         'enhanced_bookmarks/test_image_store.cc',
81         'enhanced_bookmarks/test_image_store.h',
82       ],
83     },
84     {
85       'target_name': 'enhanced_bookmarks_proto',
86       'type': 'static_library',
87       'sources': [
88         'enhanced_bookmarks/proto/cluster.proto',
89         'enhanced_bookmarks/proto/metadata.proto',
90         'enhanced_bookmarks/proto/search.proto',
91       ],
92       'variables': {
93         'proto_in_dir': './enhanced_bookmarks/proto',
94         'proto_out_dir': 'components/enhanced_bookmarks/proto',
95       },
96       'includes': [ '../build/protoc.gypi' ],
97     },
98   ],
99   'conditions' : [
100     ['OS=="android"', {
101       'targets': [
102         {
103           # GN: //components/enhanced_bookmarks:enhanced_bookmarks_java_enums_srcjar
104           'target_name': 'enhanced_bookmarks_java_enums_srcjar',
105           'type': 'none',
106           'variables': {
107             'source_file': 'enhanced_bookmarks/enhanced_bookmark_utils.h',
108           },
109           'includes': [ '../build/android/java_cpp_enum.gypi' ],
110         },
111       ],
112      },
113    ],
114   ],