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 'component_metrics_proto', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 'metrics/metrics_hashes.cc', | 18 'metrics/metrics_hashes.cc', |
19 'metrics/metrics_hashes.h', | 19 'metrics/metrics_hashes.h', |
20 'metrics/metrics_log_base.cc', | 20 'metrics/metrics_log_base.cc', |
21 'metrics/metrics_log_base.h', | 21 'metrics/metrics_log_base.h', |
22 'metrics/metrics_log_manager.cc', | 22 'metrics/metrics_log_manager.cc', |
23 'metrics/metrics_log_manager.h', | 23 'metrics/metrics_log_manager.h', |
24 'metrics/metrics_pref_names.cc', | 24 'metrics/metrics_pref_names.cc', |
25 'metrics/metrics_pref_names.h', | 25 'metrics/metrics_pref_names.h', |
| 26 'metrics/metrics_service_observer.cc', |
| 27 'metrics/metrics_service_observer.h', |
26 'metrics/persisted_logs.cc', | 28 'metrics/persisted_logs.cc', |
27 'metrics/persisted_logs.h', | 29 'metrics/persisted_logs.h', |
28 ], | 30 ], |
29 }, | 31 }, |
30 { | 32 { |
31 # Protobuf compiler / generator for UMA (User Metrics Analysis). | 33 # Protobuf compiler / generator for UMA (User Metrics Analysis). |
32 'target_name': 'component_metrics_proto', | 34 'target_name': 'component_metrics_proto', |
33 'type': 'static_library', | 35 'type': 'static_library', |
34 'sources': [ | 36 'sources': [ |
35 'metrics/proto/chrome_user_metrics_extension.proto', | 37 'metrics/proto/chrome_user_metrics_extension.proto', |
36 'metrics/proto/histogram_event.proto', | 38 'metrics/proto/histogram_event.proto', |
37 'metrics/proto/omnibox_event.proto', | 39 'metrics/proto/omnibox_event.proto', |
38 'metrics/proto/perf_data.proto', | 40 'metrics/proto/perf_data.proto', |
39 'metrics/proto/profiler_event.proto', | 41 'metrics/proto/profiler_event.proto', |
40 'metrics/proto/sampled_profile.proto', | 42 'metrics/proto/sampled_profile.proto', |
41 'metrics/proto/system_profile.proto', | 43 'metrics/proto/system_profile.proto', |
42 'metrics/proto/user_action_event.proto', | 44 'metrics/proto/user_action_event.proto', |
43 ], | 45 ], |
44 'variables': { | 46 'variables': { |
45 'proto_in_dir': 'metrics/proto', | 47 'proto_in_dir': 'metrics/proto', |
46 'proto_out_dir': 'components/metrics/proto', | 48 'proto_out_dir': 'components/metrics/proto', |
47 }, | 49 }, |
48 'includes': [ '../build/protoc.gypi' ], | 50 'includes': [ '../build/protoc.gypi' ], |
49 }, | 51 }, |
50 ], | 52 ], |
51 } | 53 } |
OLD | NEW |