Index: components/page_load_metrics/renderer/BUILD.gn |
diff --git a/components/page_load_metrics/renderer/BUILD.gn b/components/page_load_metrics/renderer/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8415acff7620cf0840cfdc36b10e17b9d4694253 |
--- /dev/null |
+++ b/components/page_load_metrics/renderer/BUILD.gn |
@@ -0,0 +1,36 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# GYP version: components/page_load_metrics.gypi:page_load_metrics_renderer |
+static_library("renderer") { |
+ sources = [ |
+ "metrics_render_frame_observer.cc", |
+ "metrics_render_frame_observer.h", |
+ "page_timing_metrics_sender.cc", |
+ "page_timing_metrics_sender.h", |
+ ] |
+ public_deps = [ |
+ "//content/public/renderer", |
+ ] |
+ deps = [ |
+ "//base", |
+ "//components/page_load_metrics/common", |
+ "//third_party/WebKit/public:blink", |
+ "//url", |
+ ] |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "metrics_render_frame_observer_unittest.cc", |
+ "page_timing_metrics_sender_unittest.cc", |
+ ] |
+ deps = [ |
+ ":renderer", |
+ "//ipc", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ ] |
+} |