Chromium Code Reviews| Index: components/metrics.gypi |
| diff --git a/components/metrics.gypi b/components/metrics.gypi |
| index e0fe84889fe14dcbc611a7e4d04047a580221611..8ccce134b6e867f16afa9476216946d7578877b2 100644 |
| --- a/components/metrics.gypi |
| +++ b/components/metrics.gypi |
| @@ -22,6 +22,14 @@ |
| 'metrics/metrics_log_manager.cc', |
| 'metrics/metrics_log_manager.h', |
| ], |
| + 'conditions': [ |
| + ['chromeos==1', { |
| + 'dependencies': [ |
| + 'metrics_chromeos', |
| + ], |
|
Alexei Svitkine (slow)
2014/05/15 13:43:26
Nit: Bad indentation.
bsimonnet
2014/05/15 19:23:40
Done.
|
| + }, |
| + ], |
| + ], |
| }, |
| { |
| # Protobuf compiler / generator for UMA (User Metrics Analysis). |
| @@ -42,5 +50,18 @@ |
| }, |
| 'includes': [ '../build/protoc.gypi' ], |
| }, |
| - ], |
| + { |
| + 'target_name': 'metrics_chromeos', |
| + 'type': 'static_library', |
| + 'sources':[ |
| + 'metrics/chromeos/metrics_utils.cc', |
| + 'metrics/chromeos/metrics_utils.h', |
| + 'metrics/chromeos/metric_sample.cc', |
| + 'metrics/chromeos/metric_sample.h', |
| + ], |
| + 'dependencies': [ |
| + '../base/base.gyp:base', |
| + ], |
| + }, |
| + ], |
| } |