| Index: components/favicon/content/BUILD.gn
|
| diff --git a/components/favicon/content/BUILD.gn b/components/favicon/content/BUILD.gn
|
| index 1bea91e7b39519790fc6c8a0fbeb5575d7dfeeb5..fb1110b87ca4df4bb46a3f87a5511b887eb1cd33 100644
|
| --- a/components/favicon/content/BUILD.gn
|
| +++ b/components/favicon/content/BUILD.gn
|
| @@ -2,7 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -static_library("content") {
|
| +source_set("content") {
|
| sources = [
|
| "content_favicon_driver.cc",
|
| "content_favicon_driver.h",
|
| @@ -10,12 +10,26 @@ static_library("content") {
|
| "favicon_url_util.h",
|
| ]
|
|
|
| + public_deps = [
|
| + "//ui/gfx",
|
| + ]
|
| deps = [
|
| "//base",
|
| "//components/favicon/core",
|
| "//components/favicon_base",
|
| "//content/public/browser",
|
| "//content/public/common",
|
| - "//ui/gfx",
|
| + ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| + sources = [
|
| + "content_favicon_driver_unittest.cc",
|
| + ]
|
| + deps = [
|
| + ":content",
|
| + "//content/public/browser",
|
| + "//testing/gtest",
|
| ]
|
| }
|
|
|