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 # GYP version: components/page_load_metrics.gypi:page_load_metrics_browser | 5 # GYP version: components/page_load_metrics.gypi:page_load_metrics_browser |
6 static_library("browser") { | 6 static_library("browser") { |
7 sources = [ | 7 sources = [ |
8 "metrics_web_contents_observer.cc", | 8 "metrics_web_contents_observer.cc", |
9 "metrics_web_contents_observer.h", | 9 "metrics_web_contents_observer.h", |
10 "page_load_metrics_observer.cc", | 10 "page_load_metrics_observer.cc", |
11 "page_load_metrics_observer.h", | 11 "page_load_metrics_observer.h", |
12 "page_load_metrics_util.cc", | 12 "page_load_metrics_util.cc", |
13 "page_load_metrics_util.h", | 13 "page_load_metrics_util.h", |
14 ] | 14 ] |
15 public_deps = [ | 15 public_deps = [ |
16 "//content/public/browser", | 16 "//content/public/browser", |
17 ] | 17 ] |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//components/page_load_metrics/common", | 20 "//components/page_load_metrics/common", |
| 21 "//components/page_load_metrics/common:page_load_metrics_mojom", |
21 "//components/rappor", | 22 "//components/rappor", |
22 "//ipc", | 23 "//ipc", |
23 "//net", | 24 "//net", |
| 25 "//services/shell/public/cpp", |
24 "//third_party/WebKit/public:blink_headers", | 26 "//third_party/WebKit/public:blink_headers", |
25 "//ui/base", | 27 "//ui/base", |
26 ] | 28 ] |
27 } | 29 } |
28 | 30 |
29 source_set("unit_tests") { | 31 source_set("unit_tests") { |
30 testonly = true | 32 testonly = true |
31 sources = [ | 33 sources = [ |
32 "metrics_web_contents_observer_unittest.cc", | 34 "metrics_web_contents_observer_unittest.cc", |
33 ] | 35 ] |
34 deps = [ | 36 deps = [ |
35 ":browser", | 37 ":browser", |
36 "//base", | 38 "//base", |
37 "//base/test:test_support", | 39 "//base/test:test_support", |
38 "//components/page_load_metrics/common", | 40 "//components/page_load_metrics/common", |
| 41 "//components/page_load_metrics/common:page_load_metrics_mojom", |
39 "//components/rappor:test_support", | 42 "//components/rappor:test_support", |
40 "//content/test:test_support", | 43 "//content/test:test_support", |
41 "//net", | 44 "//net", |
| 45 "//services/shell/public/cpp", |
42 "//testing/gtest", | 46 "//testing/gtest", |
43 "//third_party/WebKit/public:blink_headers", | 47 "//third_party/WebKit/public:blink_headers", |
44 ] | 48 ] |
45 } | 49 } |
OLD | NEW |