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_provider.h', | 18 'metrics/metrics_provider.h', |
19 'metrics/cloned_install_detector.cc', | 19 'metrics/cloned_install_detector.cc', |
20 'metrics/cloned_install_detector.h', | 20 'metrics/cloned_install_detector.h', |
21 'metrics/machine_id_provider.h', | 21 'metrics/machine_id_provider.h', |
22 'metrics/machine_id_provider_stub.cc', | 22 'metrics/machine_id_provider_stub.cc', |
23 'metrics/machine_id_provider_win.cc', | 23 'metrics/machine_id_provider_win.cc', |
24 'metrics/metrics_hashes.cc', | 24 'metrics/metrics_hashes.cc', |
25 'metrics/metrics_hashes.h', | 25 'metrics/metrics_hashes.h', |
26 'metrics/metrics_log_base.cc', | 26 'metrics/metrics_log_base.cc', |
27 'metrics/metrics_log_base.h', | 27 'metrics/metrics_log_base.h', |
| 28 'metrics/metrics_log_uploader.cc', |
| 29 'metrics/metrics_log_uploader.h', |
28 'metrics/metrics_log_manager.cc', | 30 'metrics/metrics_log_manager.cc', |
29 'metrics/metrics_log_manager.h', | 31 'metrics/metrics_log_manager.h', |
30 'metrics/metrics_pref_names.cc', | 32 'metrics/metrics_pref_names.cc', |
31 'metrics/metrics_pref_names.h', | 33 'metrics/metrics_pref_names.h', |
32 'metrics/metrics_reporting_scheduler.cc', | 34 'metrics/metrics_reporting_scheduler.cc', |
33 'metrics/metrics_reporting_scheduler.h', | 35 'metrics/metrics_reporting_scheduler.h', |
34 'metrics/metrics_service_client.h', | 36 'metrics/metrics_service_client.h', |
35 'metrics/metrics_service_observer.cc', | 37 'metrics/metrics_service_observer.cc', |
36 'metrics/metrics_service_observer.h', | 38 'metrics/metrics_service_observer.h', |
37 'metrics/persisted_logs.cc', | 39 'metrics/persisted_logs.cc', |
38 'metrics/persisted_logs.h', | 40 'metrics/persisted_logs.h', |
39 ], | 41 ], |
40 'conditions': [ | 42 'conditions': [ |
41 ['chromeos==1', { | 43 ['chromeos==1', { |
42 'dependencies': [ | 44 'dependencies': [ |
43 'metrics_chromeos', | 45 'metrics_chromeos', |
44 ], | 46 ], |
45 }], | 47 }], |
46 ['OS=="win"', { | 48 ['OS=="win"', { |
47 'sources!': [ | 49 'sources!': [ |
48 'metrics/machine_id_provider_stub.cc', | 50 'metrics/machine_id_provider_stub.cc', |
49 ], | 51 ], |
50 }], | 52 }], |
51 ], | 53 ], |
52 }, | 54 }, |
53 { | 55 { |
| 56 'target_name': 'metrics_net', |
| 57 'type': 'static_library', |
| 58 'include_dirs': [ |
| 59 '..', |
| 60 ], |
| 61 'dependencies': [ |
| 62 '../net/net.gyp:net', |
| 63 '../third_party/zlib/zlib.gyp:zlib', |
| 64 'metrics', |
| 65 ], |
| 66 'sources': [ |
| 67 'metrics/net/compression_utils.cc', |
| 68 'metrics/net/compression_utils.h', |
| 69 'metrics/net/net_metrics_log_uploader.cc', |
| 70 'metrics/net/net_metrics_log_uploader.h', |
| 71 ], |
| 72 }, |
| 73 { |
54 # Protobuf compiler / generator for UMA (User Metrics Analysis). | 74 # Protobuf compiler / generator for UMA (User Metrics Analysis). |
55 'target_name': 'component_metrics_proto', | 75 'target_name': 'component_metrics_proto', |
56 'type': 'static_library', | 76 'type': 'static_library', |
57 'sources': [ | 77 'sources': [ |
58 'metrics/proto/chrome_user_metrics_extension.proto', | 78 'metrics/proto/chrome_user_metrics_extension.proto', |
59 'metrics/proto/histogram_event.proto', | 79 'metrics/proto/histogram_event.proto', |
60 'metrics/proto/omnibox_event.proto', | 80 'metrics/proto/omnibox_event.proto', |
61 'metrics/proto/perf_data.proto', | 81 'metrics/proto/perf_data.proto', |
62 'metrics/proto/profiler_event.proto', | 82 'metrics/proto/profiler_event.proto', |
63 'metrics/proto/sampled_profile.proto', | 83 'metrics/proto/sampled_profile.proto', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 'metrics/chromeos/metric_sample.h', | 124 'metrics/chromeos/metric_sample.h', |
105 ], | 125 ], |
106 'dependencies': [ | 126 'dependencies': [ |
107 '../base/base.gyp:base', | 127 '../base/base.gyp:base', |
108 ], | 128 ], |
109 }, | 129 }, |
110 ], | 130 ], |
111 }], | 131 }], |
112 ], | 132 ], |
113 } | 133 } |
OLD | NEW |