OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'metrics', | 8 'target_name': 'metrics', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '..', | 11 '..', |
12 ], | 12 ], |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
15 'component_metrics_proto', | |
15 ], | 16 ], |
16 'sources': [ | 17 'sources': [ |
17 'metrics/metrics_hashes.cc', | 18 'metrics/metrics_hashes.cc', |
18 'metrics/metrics_hashes.h', | 19 'metrics/metrics_hashes.h', |
20 'metrics/metrics_log_base.cc', | |
21 'metrics/metrics_log_base.h', | |
22 'metrics/metrics_log_manager.cc', | |
23 'metrics/metrics_log_manager.h', | |
19 ], | 24 ], |
20 }, | 25 }, |
26 { | |
27 # Protobuf compiler / generator for UMA (User Metrics Analysis). | |
28 'target_name': 'component_metrics_proto', | |
Alexei Svitkine (slow)
2014/04/22 15:28:10
I think you will need to add an explicit dependenc
bsimonnet
2014/04/22 16:52:43
I added a dependency on components.gyp:component_m
Alexei Svitkine (slow)
2014/04/22 20:51:17
It's probably needed. See some of the latter commi
| |
29 'type': 'static_library', | |
30 'sources': [ | |
31 'metrics/proto/chrome_user_metrics_extension.proto', | |
32 'metrics/proto/histogram_event.proto', | |
33 'metrics/proto/omnibox_event.proto', | |
34 'metrics/proto/perf_data.proto', | |
35 'metrics/proto/profiler_event.proto', | |
36 'metrics/proto/system_profile.proto', | |
37 'metrics/proto/user_action_event.proto', | |
38 ], | |
39 'variables': { | |
40 'proto_in_dir': 'metrics/proto', | |
41 'proto_out_dir': 'components/metrics/proto', | |
42 }, | |
43 'includes': [ '../build/protoc.gypi' ], | |
44 }, | |
21 ], | 45 ], |
22 } | 46 } |
OLD | NEW |