Add google_apis_unittests, midi_unittests to GN swarming.
[chromium-blink-merge.git] / components / favicon.gypi
blob7ca9af35e42497e5ef1e0042fcd1bfe1d0c50664
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/favicon_util.cc',
41         'favicon/core/favicon_util.h',
42         'favicon/core/large_icon_service.cc',
43         'favicon/core/large_icon_service.h',
44       ],
45       'include_dirs': [
46         '..',
47       ],
48     },
49   ],
50   'conditions': [
51     ['OS!="ios"', {
52       'targets': [
53         {
54           # GN version: //components/favicon/content
55           'target_name': 'favicon_content',
56           'type': 'static_library',
57           'dependencies': [
58             '../base/base.gyp:base',
59             '../content/content.gyp:content_browser',
60             '../content/content.gyp:content_common',
61             '../ui/gfx/gfx.gyp:gfx',
62             'favicon_base',
63             'favicon_core',
64           ],
65           'sources': [
66             # Note: sources list duplicated in GN build.
67             'favicon/content/content_favicon_driver.cc',
68             'favicon/content/content_favicon_driver.h',
69             'favicon/content/favicon_url_util.cc',
70             'favicon/content/favicon_url_util.h',
71           ],
72           'include_dirs': [
73             '..',
74           ],
75         },
76       ],
77     }],
78     ['OS=="ios"', {
79       'targets': [
80         {
81           'target_name': 'favicon_ios',
82           'type': 'static_library',
83           'dependencies': [
84             '../base/base.gyp:base',
85             '../ios/web/ios_web.gyp:ios_web',
86             '../ui/gfx/gfx.gyp:gfx',
87             'favicon_base',
88             'favicon_core',
89           ],
90           'sources': [
91             'favicon/ios/favicon_url_util.cc',
92             'favicon/ios/favicon_url_util.h',
93             'favicon/ios/web_favicon_driver.cc',
94             'favicon/ios/web_favicon_driver.h',
95           ],
96           'include_dirs': [
97             '..',
98           ],
99         },
100       ],
101     }],
102   ],