Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / components / visitedlink.gypi
blobbca40f2f9b5c4b659cfc31a1d7f28989f8fcb14d
1 # Copyright (c) 2013 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': 'visitedlink_common',
9       'type': 'static_library',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../content/content.gyp:content_common',
13         '../ipc/ipc.gyp:ipc',
14         '../url/url.gyp:url_lib',
15       ],
16       'sources': [
17         'visitedlink/common/visitedlink_common.cc',
18         'visitedlink/common/visitedlink_common.h',
19         'visitedlink/common/visitedlink_message_generator.cc',
20         'visitedlink/common/visitedlink_message_generator.h',
21         'visitedlink/common/visitedlink_messages.h',
22       ],
23     },
24     {
25       'target_name': 'visitedlink_browser',
26       'type': 'static_library',
27       'include_dirs': [
28         '../skia/config',
29       ],
30       'dependencies': [
31         'visitedlink_common',
32         '../base/base.gyp:base',
33         '../content/content.gyp:content_browser',
34         '../content/content.gyp:content_common',
35       ],
36       'sources': [
37         'visitedlink/browser/visitedlink_delegate.h',
38         'visitedlink/browser/visitedlink_event_listener.cc',
39         'visitedlink/browser/visitedlink_event_listener.h',
40         'visitedlink/browser/visitedlink_master.cc',
41         'visitedlink/browser/visitedlink_master.h',
42       ],
43     }
44   ],
45   'conditions': [
46     ['OS != "ios"', {
47       'targets': [
48         {
49           'target_name': 'visitedlink_renderer',
50           'type': 'static_library',
51           'dependencies': [
52             'visitedlink_common',
53             '../base/base.gyp:base',
54             '../content/content.gyp:content_common',
55             '../content/content.gyp:content_renderer',
56             '../third_party/WebKit/public/blink.gyp:blink',
57           ],
58           'sources': [
59             'visitedlink/renderer/visitedlink_slave.cc',
60             'visitedlink/renderer/visitedlink_slave.h',
61           ],
62         },
63       ],
64     }],
65   ],