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
|
# Copyright 2014 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.
{
'targets': [
{
'target_name': 'metrics',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'../base/base.gyp:base',
'component_metrics_proto',
],
'sources': [
'metrics/metrics_hashes.cc',
'metrics/metrics_hashes.h',
'metrics/metrics_log_base.cc',
'metrics/metrics_log_base.h',
'metrics/metrics_log_manager.cc',
'metrics/metrics_log_manager.h',
],
},
{
# Protobuf compiler / generator for UMA (User Metrics Analysis).
'target_name': 'component_metrics_proto',
'type': 'static_library',
'sources': [
'metrics/proto/chrome_user_metrics_extension.proto',
'metrics/proto/histogram_event.proto',
'metrics/proto/omnibox_event.proto',
'metrics/proto/perf_data.proto',
'metrics/proto/profiler_event.proto',
'metrics/proto/system_profile.proto',
'metrics/proto/user_action_event.proto',
],
'variables': {
'proto_in_dir': 'metrics/proto',
'proto_out_dir': 'components/metrics/proto',
},
'includes': [ '../build/protoc.gypi' ],
},
],
}
|