| 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/rappor", |
| 21 "//ipc", | 22 "//ipc", |
| 23 "//net", |
| 22 ] | 24 ] |
| 23 } | 25 } |
| 24 | 26 |
| 25 source_set("unit_tests") { | 27 source_set("unit_tests") { |
| 26 testonly = true | 28 testonly = true |
| 27 sources = [ | 29 sources = [ |
| 28 "metrics_web_contents_observer_unittest.cc", | 30 "metrics_web_contents_observer_unittest.cc", |
| 29 ] | 31 ] |
| 30 deps = [ | 32 deps = [ |
| 31 ":browser", | 33 ":browser", |
| 34 "//base", |
| 35 "//base/test:test_support", |
| 36 "//components/page_load_metrics/common", |
| 37 "//components/rappor:test_support", |
| 38 "//content/test:test_support", |
| 39 "//net", |
| 32 "//testing/gtest", | 40 "//testing/gtest", |
| 33 ] | 41 ] |
| 34 } | 42 } |
| OLD | NEW |