| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 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 '../base/base.gyp:base_i18n', | |
| 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_url_util.cc', | |
| 26 'favicon/core/fallback_url_util.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 'favicon/core/favicon_util.cc', | |
| 40 'favicon/core/favicon_util.h', | |
| 41 'favicon/core/large_icon_service.cc', | |
| 42 'favicon/core/large_icon_service.h', | |
| 43 ], | |
| 44 'include_dirs': [ | |
| 45 '..', | |
| 46 ], | |
| 47 'conditions': [ | |
| 48 ['OS!="ios"', { | |
| 49 'sources': [ | |
| 50 'favicon/core/fallback_icon_client.h', | |
| 51 'favicon/core/fallback_icon_service.cc', | |
| 52 'favicon/core/fallback_icon_service.h', | |
| 53 ], | |
| 54 }], | |
| 55 ], | |
| 56 }, | |
| 57 ], | |
| 58 'conditions': [ | |
| 59 ['OS!="ios"', { | |
| 60 'targets': [ | |
| 61 { | |
| 62 # GN version: //components/favicon/content | |
| 63 'target_name': 'favicon_content', | |
| 64 'type': 'static_library', | |
| 65 'dependencies': [ | |
| 66 '../base/base.gyp:base', | |
| 67 '../content/content.gyp:content_browser', | |
| 68 '../content/content.gyp:content_common', | |
| 69 '../ui/gfx/gfx.gyp:gfx', | |
| 70 'favicon_base', | |
| 71 'favicon_core', | |
| 72 ], | |
| 73 'sources': [ | |
| 74 # Note: sources list duplicated in GN build. | |
| 75 'favicon/content/content_favicon_driver.cc', | |
| 76 'favicon/content/content_favicon_driver.h', | |
| 77 'favicon/content/favicon_url_util.cc', | |
| 78 'favicon/content/favicon_url_util.h', | |
| 79 ], | |
| 80 'include_dirs': [ | |
| 81 '..', | |
| 82 ], | |
| 83 }, | |
| 84 ], | |
| 85 }], | |
| 86 ['OS=="ios"', { | |
| 87 'targets': [ | |
| 88 { | |
| 89 # GN version: //components/favicon/ios | |
| 90 'target_name': 'favicon_ios', | |
| 91 'type': 'static_library', | |
| 92 'dependencies': [ | |
| 93 '../base/base.gyp:base', | |
| 94 '../ios/web/ios_web.gyp:ios_web', | |
| 95 '../ui/gfx/gfx.gyp:gfx', | |
| 96 'favicon_base', | |
| 97 'favicon_core', | |
| 98 ], | |
| 99 'sources': [ | |
| 100 'favicon/ios/favicon_url_util.cc', | |
| 101 'favicon/ios/favicon_url_util.h', | |
| 102 'favicon/ios/web_favicon_driver.h', | |
| 103 'favicon/ios/web_favicon_driver.mm', | |
| 104 ], | |
| 105 'include_dirs': [ | |
| 106 '..', | |
| 107 ], | |
| 108 }, | |
| 109 ], | |
| 110 }], | |
| 111 ], | |
| 112 } | |
| OLD | NEW |