Index: components/page_load_metrics/browser/BUILD.gn |
diff --git a/components/favicon/content/BUILD.gn b/components/page_load_metrics/browser/BUILD.gn |
similarity index 51% |
copy from components/favicon/content/BUILD.gn |
copy to components/page_load_metrics/browser/BUILD.gn |
index fb1110b87ca4df4bb46a3f87a5511b887eb1cd33..4a404ab5bffc720c2fac39fba6544d2b0664852e 100644 |
--- a/components/favicon/content/BUILD.gn |
+++ b/components/page_load_metrics/browser/BUILD.gn |
@@ -2,34 +2,29 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-source_set("content") { |
+# GYP version: components/page_load_metrics.gypi:page_load_metrics_browser |
+static_library("browser") { |
sources = [ |
- "content_favicon_driver.cc", |
- "content_favicon_driver.h", |
- "favicon_url_util.cc", |
- "favicon_url_util.h", |
+ "metrics_web_contents_observer.cc", |
+ "metrics_web_contents_observer.h", |
] |
- |
public_deps = [ |
- "//ui/gfx", |
+ "//content/public/browser", |
] |
deps = [ |
"//base", |
- "//components/favicon/core", |
- "//components/favicon_base", |
- "//content/public/browser", |
- "//content/public/common", |
+ "//components/page_load_metrics/common", |
+ "//ipc", |
] |
} |
source_set("unit_tests") { |
testonly = true |
sources = [ |
- "content_favicon_driver_unittest.cc", |
+ "metrics_web_contents_observer_unittest.cc", |
] |
deps = [ |
- ":content", |
- "//content/public/browser", |
+ ":browser", |
"//testing/gtest", |
] |
} |