Index: components/page_load_metrics.gypi |
diff --git a/components/page_load_metrics.gypi b/components/page_load_metrics.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d9e7302819651db3c9daa80a3a99b03d36d08e6a |
--- /dev/null |
+++ b/components/page_load_metrics.gypi |
@@ -0,0 +1,66 @@ |
+# 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. |
+ |
+{ |
+ 'conditions': [ |
+ ['OS != "ios"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'page_load_metrics_common', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../ipc/ipc.gyp:ipc', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'page_load_metrics/common/page_load_metrics_messages.cc', |
+ 'page_load_metrics/common/page_load_metrics_messages.h', |
+ 'page_load_metrics/common/page_load_timing.cc', |
+ 'page_load_metrics/common/page_load_timing.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'page_load_metrics_browser', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../content/content.gyp:content_browser', |
+ '../ipc/ipc.gyp:ipc', |
+ 'page_load_metrics_common', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'page_load_metrics/browser/metrics_web_contents_observer.cc', |
+ 'page_load_metrics/browser/metrics_web_contents_observer.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'page_load_metrics_renderer', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../content/content.gyp:content_renderer', |
+ '../third_party/WebKit/public/blink.gyp:blink', |
+ '../url/url.gyp:url_lib', |
+ 'page_load_metrics_common', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'page_load_metrics/renderer/metrics_render_frame_observer.cc', |
+ 'page_load_metrics/renderer/metrics_render_frame_observer.h', |
+ 'page_load_metrics/renderer/page_timing_metrics_sender.cc', |
+ 'page_load_metrics/renderer/page_timing_metrics_sender.h', |
+ ], |
+ }, |
+ ], |
+ }] |
+ ] |
+} |