| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 ['chromeos==1', { | 73 ['chromeos==1', { |
| 74 'dependencies': [ | 74 'dependencies': [ |
| 75 'metrics_serialization', | 75 'metrics_serialization', |
| 76 ], | 76 ], |
| 77 }], | 77 }], |
| 78 ['OS=="win"', { | 78 ['OS=="win"', { |
| 79 'sources!': [ | 79 'sources!': [ |
| 80 'metrics/machine_id_provider_stub.cc', | 80 'metrics/machine_id_provider_stub.cc', |
| 81 ], | 81 ], |
| 82 }], | 82 }], |
| 83 ['enable_leak_detector==1 and chromeos==1', { |
| 84 'dependencies': [ |
| 85 'metrics_leak_detector', |
| 86 ], |
| 87 }], |
| 83 ], | 88 ], |
| 84 }, | 89 }, |
| 85 { | 90 { |
| 86 # GN version: //components/metrics:gpu | 91 # GN version: //components/metrics:gpu |
| 87 'target_name': 'metrics_gpu', | 92 'target_name': 'metrics_gpu', |
| 88 'type': 'static_library', | 93 'type': 'static_library', |
| 89 'include_dirs': [ | 94 'include_dirs': [ |
| 90 '..', | 95 '..', |
| 91 ], | 96 ], |
| 92 'dependencies': [ | 97 'dependencies': [ |
| 93 '../base/base.gyp:base', | 98 '../base/base.gyp:base', |
| 94 '../content/content.gyp:content_browser', | 99 '../content/content.gyp:content_browser', |
| 95 '../ui/gfx/gfx.gyp:gfx', | 100 '../ui/gfx/gfx.gyp:gfx', |
| 96 'component_metrics_proto', | 101 'component_metrics_proto', |
| 97 'metrics', | 102 'metrics', |
| 98 ], | 103 ], |
| 99 'sources': [ | 104 'sources': [ |
| 100 'metrics/gpu/gpu_metrics_provider.cc', | 105 'metrics/gpu/gpu_metrics_provider.cc', |
| 101 'metrics/gpu/gpu_metrics_provider.h', | 106 'metrics/gpu/gpu_metrics_provider.h', |
| 102 ], | 107 ], |
| 103 }, | 108 }, |
| 104 { | 109 { |
| 110 'target_name': 'metrics_leak_detector', |
| 111 'type': 'static_library', |
| 112 'include_dirs': [ |
| 113 # In these modules, the tcmalloc include path does not take precendence |
| 114 # over the top-level chromium path. |
| 115 '..', |
| 116 '../third_party/tcmalloc/chromium/src', |
| 117 ], |
| 118 'dependencies': [ |
| 119 '../base/base.gyp:base', |
| 120 '../base/allocator/allocator.gyp:allocator', |
| 121 ], |
| 122 'sources': [ |
| 123 'metrics/leak_detector/call_stack_table.cc', |
| 124 'metrics/leak_detector/call_stack_table.h', |
| 125 'metrics/leak_detector/leak_analyzer.cc', |
| 126 'metrics/leak_detector/leak_analyzer.h', |
| 127 'metrics/leak_detector/leak_detector.cc', |
| 128 'metrics/leak_detector/leak_detector_impl.cc', |
| 129 'metrics/leak_detector/leak_detector_impl.h', |
| 130 'metrics/leak_detector/leak_detector_value_type.h', |
| 131 'metrics/leak_detector/ranked_list.cc', |
| 132 'metrics/leak_detector/ranked_list.h', |
| 133 ], |
| 134 }, |
| 135 { |
| 105 # GN version: //components/metrics:net | 136 # GN version: //components/metrics:net |
| 106 'target_name': 'metrics_net', | 137 'target_name': 'metrics_net', |
| 107 'type': 'static_library', | 138 'type': 'static_library', |
| 108 'include_dirs': [ | 139 'include_dirs': [ |
| 109 '..', | 140 '..', |
| 110 ], | 141 ], |
| 111 'dependencies': [ | 142 'dependencies': [ |
| 112 '../base/base.gyp:base', | 143 '../base/base.gyp:base', |
| 113 '../net/net.gyp:net', | 144 '../net/net.gyp:net', |
| 114 '../url/url.gyp:url_lib', | 145 '../url/url.gyp:url_lib', |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 'metrics/serialization/serialization_utils.h', | 246 'metrics/serialization/serialization_utils.h', |
| 216 ], | 247 ], |
| 217 'dependencies': [ | 248 'dependencies': [ |
| 218 '../base/base.gyp:base', | 249 '../base/base.gyp:base', |
| 219 ], | 250 ], |
| 220 }, | 251 }, |
| 221 ], | 252 ], |
| 222 }], | 253 }], |
| 223 ], | 254 ], |
| 224 } | 255 } |
| OLD | NEW |