OOPIF: Create missing RenderFrameProxies for new frames.
[chromium-blink-merge.git] / components / favicon.gypi
blobf2c9cf54b7459b8b634d8f0349a052b64698f796
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         '../skia/skia.gyp:skia',
13         '../ui/gfx/gfx.gyp:gfx',
14         '../url/url.gyp:url_lib',
15         'bookmarks_browser',
16         'favicon_base',
17         'history_core_browser',
18         'keyed_service_core',
19       ],
20       'sources': [
21         # Note: sources list duplicated in GN build.
22         'favicon/core/fallback_icon_client.h',
23         'favicon/core/fallback_icon_service.cc',
24         'favicon/core/fallback_icon_service.h',
25         'favicon/core/favicon_client.h',
26         'favicon/core/favicon_driver.h',
27         'favicon/core/favicon_driver_observer.h',
28         'favicon/core/favicon_handler.cc',
29         'favicon/core/favicon_handler.h',
30         'favicon/core/favicon_service.cc',
31         'favicon/core/favicon_service.h',
32         'favicon/core/favicon_url.cc',
33         'favicon/core/favicon_url.h',
34       ],
35       'include_dirs': [
36         '..',
37       ],
38     },
39   ],
40   'conditions': [
41     ['OS!="ios"', {
42       'targets': [
43         {
44           # GN version: //components/favicon/content
45           'target_name': 'favicon_content',
46           'type': 'static_library',
47           'dependencies': [
48             '../content/content.gyp:content_browser',
49             '../content/content.gyp:content_common',
50             'favicon_base',
51             'favicon_core',
52           ],
53           'sources': [
54             # Note: sources list duplicated in GN build.
55             'favicon/content/favicon_url_util.cc',
56             'favicon/content/favicon_url_util.h',
57           ],
58           'include_dirs': [
59             '..',
60           ],
61         },
62       ],
63     }],
64     ['OS=="ios"', {
65       'targets': [
66         {
67           'target_name': 'favicon_ios',
68           'type': 'static_library',
69           'dependencies': [
70             '../ios/web/ios_web.gyp:ios_web',
71             'favicon_base',
72             'favicon_core',
73           ],
74           'sources': [
75             'favicon/ios/favicon_url_util.h',
76             'favicon/ios/favicon_url_util.cc',
77           ],
78           'include_dirs': [
79             '..',
80           ],
81         },
82       ],
83     }],
84   ],