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 ], | 15 ], |
16 'sources': [ | 16 'sources': [ |
17 'metrics/metrics_hashes.cc', | 17 'metrics/metrics_hashes.cc', |
18 'metrics/metrics_hashes.h', | 18 'metrics/metrics_hashes.h', |
19 ], | 19 ], |
20 'conditions': [ | |
21 ['chromeos==1', { | |
22 'dependencies': [ | |
23 'metrics_export', | |
24 ], | |
25 }, | |
26 ], | |
27 ], | |
20 }, | 28 }, |
21 ], | 29 { |
30 'target_name': 'metrics_export', | |
31 'type': 'static_library', | |
32 'sources':[ | |
33 'metrics/chromeos/crash_sample.cc', | |
34 'metrics/chromeos/crash_sample.h', | |
35 'metrics/chromeos/histogram_sample.cc', | |
36 'metrics/chromeos/histogram_sample.h', | |
37 'metrics/chromeos/linearhistogram_sample.cc', | |
Luigi Semenzato
2014/05/08 17:19:37
Whoa, that's a lot of small files/classes.
| |
38 'metrics/chromeos/linearhistogram_sample.h', | |
39 'metrics/chromeos/metrics_utils.cc', | |
40 'metrics/chromeos/metrics_utils.h', | |
41 'metrics/chromeos/metric_sample.cc', | |
42 'metrics/chromeos/metric_sample.h', | |
43 'metrics/chromeos/sparsehistogram_sample.cc', | |
44 'metrics/chromeos/sparsehistogram_sample.h', | |
45 'metrics/chromeos/useraction_sample.cc', | |
46 'metrics/chromeos/useraction_sample.h', | |
47 ], | |
48 'dependencies': [ | |
49 '../base/base.gyp:base', | |
50 ], | |
51 }, | |
52 ], | |
22 } | 53 } |
OLD | NEW |