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

Side by Side Diff: components/metrics.gypi

Issue 365793002: Add lots of GN targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « components/autofill/core/common/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # GN version: //components/metrics
8 'target_name': 'metrics', 9 'target_name': 'metrics',
9 'type': 'static_library', 10 'type': 'static_library',
10 'include_dirs': [ 11 'include_dirs': [
11 '..', 12 '..',
12 ], 13 ],
13 'dependencies': [ 14 'dependencies': [
14 '../base/base.gyp:base', 15 '../base/base.gyp:base',
15 '../third_party/zlib/zlib.gyp:zlib', 16 '../third_party/zlib/zlib.gyp:zlib',
16 'component_metrics_proto', 17 'component_metrics_proto',
17 'variations', 18 'variations',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ], 57 ],
57 }], 58 }],
58 ['OS=="win"', { 59 ['OS=="win"', {
59 'sources!': [ 60 'sources!': [
60 'metrics/machine_id_provider_stub.cc', 61 'metrics/machine_id_provider_stub.cc',
61 ], 62 ],
62 }], 63 }],
63 ], 64 ],
64 }, 65 },
65 { 66 {
67 # GN version: //components/metrics:net
66 'target_name': 'metrics_net', 68 'target_name': 'metrics_net',
67 'type': 'static_library', 69 'type': 'static_library',
68 'include_dirs': [ 70 'include_dirs': [
69 '..', 71 '..',
70 ], 72 ],
71 'dependencies': [ 73 'dependencies': [
72 '../net/net.gyp:net', 74 '../net/net.gyp:net',
73 'metrics', 75 'metrics',
74 ], 76 ],
75 'sources': [ 77 'sources': [
76 'metrics/net/net_metrics_log_uploader.cc', 78 'metrics/net/net_metrics_log_uploader.cc',
77 'metrics/net/net_metrics_log_uploader.h', 79 'metrics/net/net_metrics_log_uploader.h',
78 ], 80 ],
79 }, 81 },
80 { 82 {
81 # Protobuf compiler / generator for UMA (User Metrics Analysis). 83 # Protobuf compiler / generator for UMA (User Metrics Analysis).
82 # 84 #
83 # GN version: //component/metrics/proto:proto 85 # GN version: //components/metrics/proto:proto
84 'target_name': 'component_metrics_proto', 86 'target_name': 'component_metrics_proto',
85 'type': 'static_library', 87 'type': 'static_library',
86 'sources': [ 88 'sources': [
87 'metrics/proto/chrome_user_metrics_extension.proto', 89 'metrics/proto/chrome_user_metrics_extension.proto',
88 'metrics/proto/histogram_event.proto', 90 'metrics/proto/histogram_event.proto',
89 'metrics/proto/omnibox_event.proto', 91 'metrics/proto/omnibox_event.proto',
90 'metrics/proto/omnibox_input_type.proto', 92 'metrics/proto/omnibox_input_type.proto',
91 'metrics/proto/perf_data.proto', 93 'metrics/proto/perf_data.proto',
92 'metrics/proto/profiler_event.proto', 94 'metrics/proto/profiler_event.proto',
93 'metrics/proto/sampled_profile.proto', 95 'metrics/proto/sampled_profile.proto',
94 'metrics/proto/system_profile.proto', 96 'metrics/proto/system_profile.proto',
95 'metrics/proto/user_action_event.proto', 97 'metrics/proto/user_action_event.proto',
96 ], 98 ],
97 'variables': { 99 'variables': {
98 'proto_in_dir': 'metrics/proto', 100 'proto_in_dir': 'metrics/proto',
99 'proto_out_dir': 'components/metrics/proto', 101 'proto_out_dir': 'components/metrics/proto',
100 }, 102 },
101 'includes': [ '../build/protoc.gypi' ], 103 'includes': [ '../build/protoc.gypi' ],
102 }, 104 },
103 { 105 {
104 # TODO(isherman): Remove all //chrome dependencies on this target, and 106 # TODO(isherman): Remove all //chrome dependencies on this target, and
105 # merge the files in this target with components_unittests. 107 # merge the files in this target with components_unittests.
108 # GN version: //components/metrics:test_support
106 'target_name': 'metrics_test_support', 109 'target_name': 'metrics_test_support',
107 'type': 'static_library', 110 'type': 'static_library',
108 'include_dirs': [ 111 'include_dirs': [
109 '..', 112 '..',
110 ], 113 ],
111 'dependencies': [ 114 'dependencies': [
112 'component_metrics_proto', 115 'component_metrics_proto',
113 'metrics', 116 'metrics',
114 ], 117 ],
115 'export_dependent_settings': [ 118 'export_dependent_settings': [
(...skipping 18 matching lines...) Expand all
134 'metrics/chromeos/metric_sample.h', 137 'metrics/chromeos/metric_sample.h',
135 ], 138 ],
136 'dependencies': [ 139 'dependencies': [
137 '../base/base.gyp:base', 140 '../base/base.gyp:base',
138 ], 141 ],
139 }, 142 },
140 ], 143 ],
141 }], 144 }],
142 ], 145 ],
143 } 146 }
OLDNEW
« no previous file with comments | « components/autofill/core/common/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698