Lazily build the app list model.
[chromium-blink-merge.git] / components / favicon.gypi
blob8a9378bdf06a8f90608229f884257bcf5cf6ea30
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_handler.cc',
28         'favicon/core/favicon_handler.h',
29         'favicon/core/favicon_service.cc',
30         'favicon/core/favicon_service.h',
31         'favicon/core/favicon_tab_helper_observer.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.h',
56             'favicon/content/favicon_url_util.cc',
57           ],
58           'include_dirs': [
59             '..',
60           ],
61         },
62       ],
63     }],
64   ],