summaryrefslogtreecommitdiffstats
path: root/components/page_load_metrics.gypi
blob: 53ec8c2e142326f99ac822507798a710a487c78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 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',
            'page_load_metrics/browser/page_load_metrics_observer.cc',
            'page_load_metrics/browser/page_load_metrics_observer.h',
            'page_load_metrics/browser/page_load_metrics_util.cc',
            'page_load_metrics/browser/page_load_metrics_util.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',
          ],
        },
      ],
    }]
  ]
}