OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("content") { | 5 # GYP version: components/page_load_metrics.gypi:page_load_metrics_browser |
| 6 static_library("browser") { |
6 sources = [ | 7 sources = [ |
7 "content_favicon_driver.cc", | 8 "metrics_web_contents_observer.cc", |
8 "content_favicon_driver.h", | 9 "metrics_web_contents_observer.h", |
9 "favicon_url_util.cc", | |
10 "favicon_url_util.h", | |
11 ] | 10 ] |
12 | |
13 public_deps = [ | 11 public_deps = [ |
14 "//ui/gfx", | 12 "//content/public/browser", |
15 ] | 13 ] |
16 deps = [ | 14 deps = [ |
17 "//base", | 15 "//base", |
18 "//components/favicon/core", | 16 "//components/page_load_metrics/common", |
19 "//components/favicon_base", | 17 "//ipc", |
20 "//content/public/browser", | |
21 "//content/public/common", | |
22 ] | 18 ] |
23 } | 19 } |
24 | 20 |
25 source_set("unit_tests") { | 21 source_set("unit_tests") { |
26 testonly = true | 22 testonly = true |
27 sources = [ | 23 sources = [ |
28 "content_favicon_driver_unittest.cc", | 24 "metrics_web_contents_observer_unittest.cc", |
29 ] | 25 ] |
30 deps = [ | 26 deps = [ |
31 ":content", | 27 ":browser", |
32 "//content/public/browser", | |
33 "//testing/gtest", | 28 "//testing/gtest", |
34 ] | 29 ] |
35 } | 30 } |
OLD | NEW |