BUILD.gn 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 2015 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. static_library("content") {
  5. sources = [
  6. "content_favicon_driver.cc",
  7. "content_favicon_driver.h",
  8. "favicon_url_util.cc",
  9. "favicon_url_util.h",
  10. "large_favicon_provider_getter.cc",
  11. "large_favicon_provider_getter.h",
  12. ]
  13. public_deps = [
  14. "//components/favicon/core",
  15. "//ui/gfx",
  16. ]
  17. deps = [
  18. "//base",
  19. "//components/favicon_base",
  20. "//content/public/browser",
  21. "//content/public/common",
  22. "//url",
  23. ]
  24. }
  25. source_set("unit_tests") {
  26. testonly = true
  27. sources = [ "content_favicon_driver_unittest.cc" ]
  28. deps = [
  29. ":content",
  30. "//base/test:test_support",
  31. "//components/favicon/core",
  32. "//components/favicon/core/test:test_support",
  33. "//content/public/browser",
  34. "//content/public/common",
  35. "//content/test:test_support",
  36. "//skia",
  37. "//testing/gmock",
  38. "//testing/gtest",
  39. ]
  40. }