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

Side by Side Diff: components/metrics.gypi

Issue 290343005: Pass MetricsServiceClient into MetricsService, and create a simple stubbed TestMetricsServiceClient… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/metrics/test_metrics_service_client.h » ('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 'target_name': 'metrics', 8 'target_name': 'metrics',
9 'type': 'static_library', 9 'type': 'static_library',
10 'include_dirs': [ 10 'include_dirs': [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 'metrics/proto/sampled_profile.proto', 53 'metrics/proto/sampled_profile.proto',
54 'metrics/proto/system_profile.proto', 54 'metrics/proto/system_profile.proto',
55 'metrics/proto/user_action_event.proto', 55 'metrics/proto/user_action_event.proto',
56 ], 56 ],
57 'variables': { 57 'variables': {
58 'proto_in_dir': 'metrics/proto', 58 'proto_in_dir': 'metrics/proto',
59 'proto_out_dir': 'components/metrics/proto', 59 'proto_out_dir': 'components/metrics/proto',
60 }, 60 },
61 'includes': [ '../build/protoc.gypi' ], 61 'includes': [ '../build/protoc.gypi' ],
62 }, 62 },
63 {
64 # TODO(isherman): Remove all //chrome dependencies on this target, and
65 # merge the files in this target with components_unittests.
66 'target_name': 'metrics_test_support',
67 'type': 'static_library',
68 'include_dirs': [
69 '..',
70 ],
71 'dependencies': [
72 'component_metrics_proto',
73 'metrics',
74 ],
75 'export_dependent_settings': [
76 'component_metrics_proto',
77 ],
78 'sources': [
79 'metrics/test_metrics_service_client.cc',
80 'metrics/test_metrics_service_client.h',
81 ],
82 },
63 ], 83 ],
64 'conditions': [ 84 'conditions': [
65 ['chromeos==1', { 85 ['chromeos==1', {
66 'targets': [ 86 'targets': [
67 { 87 {
68 'target_name': 'metrics_chromeos', 88 'target_name': 'metrics_chromeos',
69 'type': 'static_library', 89 'type': 'static_library',
70 'sources': [ 90 'sources': [
71 'metrics/chromeos/serialization_utils.cc', 91 'metrics/chromeos/serialization_utils.cc',
72 'metrics/chromeos/serialization_utils.h', 92 'metrics/chromeos/serialization_utils.h',
73 'metrics/chromeos/metric_sample.cc', 93 'metrics/chromeos/metric_sample.cc',
74 'metrics/chromeos/metric_sample.h', 94 'metrics/chromeos/metric_sample.h',
75 ], 95 ],
76 'dependencies': [ 96 'dependencies': [
77 '../base/base.gyp:base', 97 '../base/base.gyp:base',
78 ], 98 ],
79 }, 99 },
80 ], 100 ],
81 }], 101 }],
82 ], 102 ],
83 } 103 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698