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