Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: components/metrics.gypi

Issue 227873002: Create a histogram serialization mechanism in components/metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move files into chromeos. Fixed linting issues. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698