chromium/chrome/browser/favicon/BUILD.gn

# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chromeos/ui_mode.gni")

source_set("favicon") {
  sources = [
    "chrome_favicon_client.cc",
    "chrome_favicon_client.h",
    "favicon_service_factory.cc",
    "favicon_service_factory.h",
    "favicon_utils.cc",
    "favicon_utils.h",
    "history_ui_favicon_request_handler_factory.cc",
    "history_ui_favicon_request_handler_factory.h",
    "large_icon_service_factory.cc",
    "large_icon_service_factory.h",
  ]
  public_deps = [ "//chrome/browser:browser_public_dependencies" ]
  deps = [
    "//chrome/app/resources:platform_locale_settings",
    "//chrome/browser/image_fetcher",
    "//chrome/browser/profiles",
    "//chrome/browser/profiles:profile",
    "//chrome/browser/sync:factories",
    "//chrome/common",
    "//components/bookmarks/browser",
    "//components/favicon/content",
    "//components/favicon/core",
    "//components/favicon/core:history_implementation",
    "//components/image_fetcher/core",
    "//components/keyed_service/content",
    "//components/password_manager/content/common",
    "//components/search_engines",
    "//components/sync",
    "//content/public/browser",
    "//ui/gfx",
    "//ui/native_theme",
    "//ui/resources",
  ]
  if (is_chromeos_ash) {
    deps += [ "//ash/constants:constants" ]
  }
}