| 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', |
| 11 'include_dirs': [ | 11 'include_dirs': [ |
| 12 '..', | 12 '..', |
| 13 ], | 13 ], |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
| 16 '../base/base.gyp:base_i18n', | 16 '../base/base.gyp:base_i18n', |
| 17 '../base/base.gyp:base_prefs', | 17 '../base/base.gyp:base_prefs', |
| 18 'component_metrics_mojo_bindings', |
| 18 'component_metrics_proto', | 19 'component_metrics_proto', |
| 19 'compression', | 20 'compression', |
| 20 'variations', | 21 'variations', |
| 21 ], | 22 ], |
| 22 'export_dependent_settings': [ | 23 'export_dependent_settings': [ |
| 23 'component_metrics_proto', | 24 'component_metrics_proto', |
| 25 'component_metrics_mojo_bindings', |
| 24 ], | 26 ], |
| 25 'sources': [ | 27 'sources': [ |
| 26 'metrics/call_stack_profile_metrics_provider.cc', | 28 'metrics/call_stack_profile_metrics_provider.cc', |
| 27 'metrics/call_stack_profile_metrics_provider.h', | 29 'metrics/call_stack_profile_metrics_provider.h', |
| 28 'metrics/clean_exit_beacon.cc', | 30 'metrics/clean_exit_beacon.cc', |
| 29 'metrics/clean_exit_beacon.h', | 31 'metrics/clean_exit_beacon.h', |
| 30 'metrics/client_info.cc', | 32 'metrics/client_info.cc', |
| 31 'metrics/client_info.h', | 33 'metrics/client_info.h', |
| 32 'metrics/cloned_install_detector.cc', | 34 'metrics/cloned_install_detector.cc', |
| 33 'metrics/cloned_install_detector.h', | 35 'metrics/cloned_install_detector.h', |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 'sources': [ | 216 'sources': [ |
| 215 'metrics/profiler/profiler_metrics_provider.cc', | 217 'metrics/profiler/profiler_metrics_provider.cc', |
| 216 'metrics/profiler/profiler_metrics_provider.h', | 218 'metrics/profiler/profiler_metrics_provider.h', |
| 217 'metrics/profiler/tracking_synchronizer.cc', | 219 'metrics/profiler/tracking_synchronizer.cc', |
| 218 'metrics/profiler/tracking_synchronizer.h', | 220 'metrics/profiler/tracking_synchronizer.h', |
| 219 'metrics/profiler/tracking_synchronizer_delegate.h', | 221 'metrics/profiler/tracking_synchronizer_delegate.h', |
| 220 'metrics/profiler/tracking_synchronizer_observer.cc', | 222 'metrics/profiler/tracking_synchronizer_observer.cc', |
| 221 'metrics/profiler/tracking_synchronizer_observer.h', | 223 'metrics/profiler/tracking_synchronizer_observer.h', |
| 222 ], | 224 ], |
| 223 }, | 225 }, |
| 226 { |
| 227 # TODO(sque): GN version |
| 228 'target_name': 'component_metrics_mojo_bindings', |
| 229 'type': 'static_library', |
| 230 'includes': [ |
| 231 '../third_party/mojo/mojom_bindings_generator.gypi', |
| 232 ], |
| 233 'sources': [ |
| 234 'metrics/leak_detector/leak_detector_monitor.mojom', |
| 235 'metrics/leak_detector/leak_detector_monitor_impl.cc', |
| 236 'metrics/leak_detector/leak_detector_monitor_impl.h', |
| 237 ], |
| 238 }, |
| 224 ], | 239 ], |
| 225 'conditions': [ | 240 'conditions': [ |
| 226 ['OS=="linux"', { | 241 ['OS=="linux"', { |
| 227 'targets': [ | 242 'targets': [ |
| 228 { | 243 { |
| 229 'target_name': 'metrics_serialization', | 244 'target_name': 'metrics_serialization', |
| 230 'type': 'static_library', | 245 'type': 'static_library', |
| 231 'sources': [ | 246 'sources': [ |
| 232 'metrics/serialization/metric_sample.cc', | 247 'metrics/serialization/metric_sample.cc', |
| 233 'metrics/serialization/metric_sample.h', | 248 'metrics/serialization/metric_sample.h', |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 ], | 337 ], |
| 323 'sources': [ | 338 'sources': [ |
| 324 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.cc', | 339 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.cc', |
| 325 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.h', | 340 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.h', |
| 326 ], | 341 ], |
| 327 }, | 342 }, |
| 328 ], | 343 ], |
| 329 }], | 344 }], |
| 330 ], | 345 ], |
| 331 } | 346 } |
| OLD | NEW |