Implements RLZTrackerDelegate on iOS.
[chromium-blink-merge.git] / components / favicon.gypi
blobf7666ec97643234184f0575f1a148f8721e7c53e
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 version: //components/favicon/core
9       'target_name': 'favicon_core',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../content/content.gyp:content_browser',
14         '../skia/skia.gyp:skia',
15         '../ui/base/ui_base.gyp:ui_base',
16         '../ui/gfx/gfx.gyp:gfx',
17         '../url/url.gyp:url_lib',
18         'bookmarks_browser',
19         'favicon_base',
20         'history_core_browser',
21         'keyed_service_core',
22       ],
23       'sources': [
24         # Note: sources list duplicated in GN build.
25         'favicon/core/fallback_icon_client.h',
26         'favicon/core/fallback_icon_service.cc',
27         'favicon/core/fallback_icon_service.h',
28         'favicon/core/favicon_client.h',
29         'favicon/core/favicon_driver.cc',
30         'favicon/core/favicon_driver.h',
31         'favicon/core/favicon_driver_impl.cc',
32         'favicon/core/favicon_driver_impl.h',
33         'favicon/core/favicon_driver_observer.h',
34         'favicon/core/favicon_handler.cc',
35         'favicon/core/favicon_handler.h',
36         'favicon/core/favicon_service.cc',
37         'favicon/core/favicon_service.h',
38         'favicon/core/favicon_url.cc',
39         'favicon/core/favicon_url.h',
40         'favicon/core/large_icon_service.cc',
41         'favicon/core/large_icon_service.h',
42       ],
43       'include_dirs': [
44         '..',
45       ],
46     },
47   ],
48   'conditions': [
49     ['OS!="ios"', {
50       'targets': [
51         {
52           # GN version: //components/favicon/content
53           'target_name': 'favicon_content',
54           'type': 'static_library',
55           'dependencies': [
56             '../base/base.gyp:base',
57             '../content/content.gyp:content_browser',
58             '../content/content.gyp:content_common',
59             '../ui/gfx/gfx.gyp:gfx',
60             'favicon_base',
61             'favicon_core',
62           ],
63           'sources': [
64             # Note: sources list duplicated in GN build.
65             'favicon/content/content_favicon_driver.cc',
66             'favicon/content/content_favicon_driver.h',
67             'favicon/content/favicon_url_util.cc',
68             'favicon/content/favicon_url_util.h',
69           ],
70           'include_dirs': [
71             '..',
72           ],
73         },
74       ],
75     }],
76     ['OS=="ios"', {
77       'targets': [
78         {
79           'target_name': 'favicon_ios',
80           'type': 'static_library',
81           'dependencies': [
82             '../base/base.gyp:base',
83             '../ios/web/ios_web.gyp:ios_web',
84             '../ui/gfx/gfx.gyp:gfx',
85             'favicon_base',
86             'favicon_core',
87           ],
88           'sources': [
89             'favicon/ios/favicon_url_util.cc',
90             'favicon/ios/favicon_url_util.h',
91             'favicon/ios/web_favicon_driver.cc',
92             'favicon/ios/web_favicon_driver.h',
93           ],
94           'include_dirs': [
95             '..',
96           ],
97         },
98       ],
99     }],
100   ],