blob: c461d543342645227dfd6a1369bbe9daaff2606f [file] [log] [blame]
# 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.
source_set("core") {
sources = [
"fallback_url_util.cc",
"fallback_url_util.h",
"favicon_client.h",
"favicon_driver.cc",
"favicon_driver.h",
"favicon_driver_impl.cc",
"favicon_driver_impl.h",
"favicon_driver_observer.h",
"favicon_handler.cc",
"favicon_handler.h",
"favicon_service.cc",
"favicon_service.h",
"favicon_url.cc",
"favicon_url.h",
"favicon_util.cc",
"favicon_util.h",
"large_icon_service.cc",
"large_icon_service.h",
]
deps = [
"//base",
"//base:i18n",
"//components/bookmarks/browser",
"//components/favicon_base",
"//components/history/core/browser",
"//components/keyed_service/core",
"//net:net",
"//skia",
"//ui/base",
"//ui/gfx",
"//url",
]
if (!is_ios) {
sources += [
"fallback_icon_client.h",
"fallback_icon_service.cc",
"fallback_icon_service.h",
]
}
}
source_set("unit_tests") {
testonly = true
sources = [
"fallback_url_util_unittest.cc",
"favicon_handler_unittest.cc",
"large_icon_service_unittest.cc",
]
deps = [
":core",
"//base",
"//components/favicon_base",
"//skia",
"//testing/gtest",
"//ui/base",
"//ui/gfx",
"//ui/gfx:test_support",
"//url",
]
}