summaryrefslogtreecommitdiffstats
path: root/components/favicon.gypi
blob: 09a78f22ce3733c066718f91b90b26510d6e79fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      # GN version: //components/favicon/core
      'target_name': 'favicon_core',
      'type': 'static_library',
      'dependencies': [
        '../ui/gfx/gfx.gyp:gfx_geometry',
        '../url/url.gyp:url_lib',
        'favicon_base',
      ],
      'sources': [
        # Note: sources list duplicated in GN build.
        'favicon/core/favicon_driver.h',
        'favicon/core/favicon_url.cc',
        'favicon/core/favicon_url.h',
      ],
      'include_dirs': [
        '..',
      ],
    },
    {
      # GN version: //components/favicon/core/browser
      'target_name': 'favicon_core_browser',
      'type': 'static_library',
      'dependencies': [
        '../skia/skia.gyp:skia',
        '../ui/gfx/gfx.gyp:gfx',
        '../url/url.gyp:url_lib',
        'bookmarks_browser',
        'favicon_base',
        'favicon_core',
        'history_core_browser',
        'keyed_service_core',
      ],
      'sources': [
        # Note: sources list duplicated in GN build.
        'favicon/core/browser/favicon_client.h',
        'favicon/core/browser/favicon_handler.cc',
        'favicon/core/browser/favicon_handler.h',
        'favicon/core/browser/favicon_service.cc',
        'favicon/core/browser/favicon_service.h',
        'favicon/core/browser/favicon_tab_helper_observer.h',
      ],
      'include_dirs': [
        '..',
      ],
    },
  ],
}