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 # GN version: //components/metrics | 8 # GN version: //components/metrics |
9 'target_name': 'metrics', | 9 'target_name': 'metrics', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 'metrics/metrics_state_manager.cc', | 46 'metrics/metrics_state_manager.cc', |
47 'metrics/metrics_state_manager.h', | 47 'metrics/metrics_state_manager.h', |
48 'metrics/metrics_switches.cc', | 48 'metrics/metrics_switches.cc', |
49 'metrics/metrics_switches.h', | 49 'metrics/metrics_switches.h', |
50 'metrics/persisted_logs.cc', | 50 'metrics/persisted_logs.cc', |
51 'metrics/persisted_logs.h', | 51 'metrics/persisted_logs.h', |
52 ], | 52 ], |
53 'conditions': [ | 53 'conditions': [ |
54 ['chromeos==1', { | 54 ['chromeos==1', { |
55 'dependencies': [ | 55 'dependencies': [ |
56 'metrics_chromeos', | 56 'metrics_external_utils', |
57 ], | 57 ], |
58 }], | 58 }], |
59 ['OS=="win"', { | 59 ['OS=="win"', { |
60 'sources!': [ | 60 'sources!': [ |
61 'metrics/machine_id_provider_stub.cc', | 61 'metrics/machine_id_provider_stub.cc', |
62 ], | 62 ], |
63 }], | 63 }], |
64 ], | 64 ], |
65 }, | 65 }, |
66 { | 66 { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 'metrics', | 116 'metrics', |
117 ], | 117 ], |
118 'export_dependent_settings': [ | 118 'export_dependent_settings': [ |
119 'component_metrics_proto', | 119 'component_metrics_proto', |
120 ], | 120 ], |
121 'sources': [ | 121 'sources': [ |
122 'metrics/test_metrics_service_client.cc', | 122 'metrics/test_metrics_service_client.cc', |
123 'metrics/test_metrics_service_client.h', | 123 'metrics/test_metrics_service_client.h', |
124 ], | 124 ], |
125 }, | 125 }, |
126 ], | 126 { |
127 'conditions': [ | 127 'target_name': 'metrics_external_utils', |
Ilya Sherman
2014/07/16 03:31:46
nit: This should probably be named "metrics_extern
| |
128 ['chromeos==1', { | 128 'type': 'static_library', |
129 'targets': [ | 129 'sources': [ |
130 { | 130 'metrics/external/serialization_utils.cc', |
131 'target_name': 'metrics_chromeos', | 131 'metrics/external/serialization_utils.h', |
132 'type': 'static_library', | 132 'metrics/external/metric_sample.cc', |
133 'sources': [ | 133 'metrics/external/metric_sample.h', |
134 'metrics/chromeos/serialization_utils.cc', | |
135 'metrics/chromeos/serialization_utils.h', | |
136 'metrics/chromeos/metric_sample.cc', | |
137 'metrics/chromeos/metric_sample.h', | |
138 ], | |
139 'dependencies': [ | |
140 '../base/base.gyp:base', | |
141 ], | |
142 }, | |
143 ], | 134 ], |
144 }], | 135 'dependencies': [ |
136 '../base/base.gyp:base', | |
137 ], | |
138 }, | |
145 ], | 139 ], |
146 } | 140 } |
OLD | NEW |