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