Chromium Code Reviews| 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': [ |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 48 'metrics/proto/sampled_profile.proto', | 48 'metrics/proto/sampled_profile.proto', |
| 49 'metrics/proto/system_profile.proto', | 49 'metrics/proto/system_profile.proto', |
| 50 'metrics/proto/user_action_event.proto', | 50 'metrics/proto/user_action_event.proto', |
| 51 ], | 51 ], |
| 52 'variables': { | 52 'variables': { |
| 53 'proto_in_dir': 'metrics/proto', | 53 'proto_in_dir': 'metrics/proto', |
| 54 'proto_out_dir': 'components/metrics/proto', | 54 'proto_out_dir': 'components/metrics/proto', |
| 55 }, | 55 }, |
| 56 'includes': [ '../build/protoc.gypi' ], | 56 'includes': [ '../build/protoc.gypi' ], |
| 57 }, | 57 }, |
| 58 { | |
| 59 # TODO(isherman): Remove all //chrome dependencies on this target, and | |
|
blundell
2014/05/20 08:08:56
I don't understand this TODO. It's fine for //chro
Ilya Sherman
2014/05/20 08:28:26
I agree that there's no DEPS issues if //chrome co
blundell
2014/05/20 09:07:07
OK. Personally I think it would be fine to have th
| |
| 60 # merge the files in this target with components_unittests. | |
| 61 'target_name': 'metrics_test_support', | |
| 62 'type': 'static_library', | |
| 63 'include_dirs': [ | |
| 64 '..', | |
| 65 ], | |
| 66 'dependencies': [ | |
| 67 'component_metrics_proto', | |
| 68 'metrics', | |
| 69 ], | |
| 70 'export_dependent_settings': [ | |
| 71 'component_metrics_proto', | |
| 72 ], | |
| 73 'sources': [ | |
| 74 'metrics/test_metrics_service_client.cc', | |
| 75 'metrics/test_metrics_service_client.h', | |
| 76 ], | |
| 77 }, | |
| 58 ], | 78 ], |
| 59 'conditions': [ | 79 'conditions': [ |
| 60 ['chromeos==1', { | 80 ['chromeos==1', { |
| 61 'targets': [ | 81 'targets': [ |
| 62 { | 82 { |
| 63 'target_name': 'metrics_chromeos', | 83 'target_name': 'metrics_chromeos', |
| 64 'type': 'static_library', | 84 'type': 'static_library', |
| 65 'sources': [ | 85 'sources': [ |
| 66 'metrics/chromeos/serialization_utils.cc', | 86 'metrics/chromeos/serialization_utils.cc', |
| 67 'metrics/chromeos/serialization_utils.h', | 87 'metrics/chromeos/serialization_utils.h', |
| 68 'metrics/chromeos/metric_sample.cc', | 88 'metrics/chromeos/metric_sample.cc', |
| 69 'metrics/chromeos/metric_sample.h', | 89 'metrics/chromeos/metric_sample.h', |
| 70 ], | 90 ], |
| 71 'dependencies': [ | 91 'dependencies': [ |
| 72 '../base/base.gyp:base', | 92 '../base/base.gyp:base', |
| 73 ], | 93 ], |
| 74 }, | 94 }, |
| 75 ], | 95 ], |
| 76 }], | 96 }], |
| 77 ], | 97 ], |
| 78 } | 98 } |
| OLD | NEW |