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

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: Update components_test.gyp to match metrics_export. 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 'component_metrics_proto', 15 'component_metrics_proto',
16 ], 16 ],
17 'sources': [ 17 'sources': [
18 'metrics/metrics_hashes.cc', 18 'metrics/metrics_hashes.cc',
19 'metrics/metrics_hashes.h', 19 'metrics/metrics_hashes.h',
20 'metrics/metrics_log_base.cc', 20 'metrics/metrics_log_base.cc',
21 'metrics/metrics_log_base.h', 21 'metrics/metrics_log_base.h',
22 'metrics/metrics_log_manager.cc', 22 'metrics/metrics_log_manager.cc',
23 'metrics/metrics_log_manager.h', 23 'metrics/metrics_log_manager.h',
24 ], 24 ],
25 'conditions': [
26 ['chromeos==1', {
27 'dependencies': [
28 'metrics_chromeos',
29 ],
Alexei Svitkine (slow) 2014/05/15 13:43:26 Nit: Bad indentation.
bsimonnet 2014/05/15 19:23:40 Done.
30 },
31 ],
32 ],
25 }, 33 },
26 { 34 {
27 # Protobuf compiler / generator for UMA (User Metrics Analysis). 35 # Protobuf compiler / generator for UMA (User Metrics Analysis).
28 'target_name': 'component_metrics_proto', 36 'target_name': 'component_metrics_proto',
29 'type': 'static_library', 37 'type': 'static_library',
30 'sources': [ 38 'sources': [
31 'metrics/proto/chrome_user_metrics_extension.proto', 39 'metrics/proto/chrome_user_metrics_extension.proto',
32 'metrics/proto/histogram_event.proto', 40 'metrics/proto/histogram_event.proto',
33 'metrics/proto/omnibox_event.proto', 41 'metrics/proto/omnibox_event.proto',
34 'metrics/proto/perf_data.proto', 42 'metrics/proto/perf_data.proto',
35 'metrics/proto/profiler_event.proto', 43 'metrics/proto/profiler_event.proto',
36 'metrics/proto/system_profile.proto', 44 'metrics/proto/system_profile.proto',
37 'metrics/proto/user_action_event.proto', 45 'metrics/proto/user_action_event.proto',
38 ], 46 ],
39 'variables': { 47 'variables': {
40 'proto_in_dir': 'metrics/proto', 48 'proto_in_dir': 'metrics/proto',
41 'proto_out_dir': 'components/metrics/proto', 49 'proto_out_dir': 'components/metrics/proto',
42 }, 50 },
43 'includes': [ '../build/protoc.gypi' ], 51 'includes': [ '../build/protoc.gypi' ],
44 }, 52 },
45 ], 53 {
54 'target_name': 'metrics_chromeos',
55 'type': 'static_library',
56 'sources':[
57 'metrics/chromeos/metrics_utils.cc',
58 'metrics/chromeos/metrics_utils.h',
59 'metrics/chromeos/metric_sample.cc',
60 'metrics/chromeos/metric_sample.h',
61 ],
62 'dependencies': [
63 '../base/base.gyp:base',
64 ],
65 },
66 ],
46 } 67 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698