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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'chromecast_branding%': 'Chromium', | 8 'chromecast_branding%': 'Chromium', |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 24 matching lines...) Expand all Loading... |
35 'internal/chromecast_internal.gyp:cast_common_internal', | 35 'internal/chromecast_internal.gyp:cast_common_internal', |
36 ], | 36 ], |
37 }, { | 37 }, { |
38 'sources': [ | 38 'sources': [ |
39 'common/chromecast_config_simple.cc', | 39 'common/chromecast_config_simple.cc', |
40 ], | 40 ], |
41 }], | 41 }], |
42 ], | 42 ], |
43 }, | 43 }, |
44 { | 44 { |
| 45 'target_name': 'cast_metrics', |
| 46 'type': '<(component)', |
| 47 'dependencies': [ |
| 48 '../components/components.gyp:component_metrics_proto', |
| 49 '../components/components.gyp:metrics', |
| 50 '../components/components.gyp:metrics_net', |
| 51 ], |
| 52 'sources': [ |
| 53 'metrics/cast_metrics_prefs.cc', |
| 54 'metrics/cast_metrics_prefs.h', |
| 55 'metrics/cast_metrics_service_client.cc', |
| 56 'metrics/cast_metrics_service_client.h', |
| 57 'metrics/platform_metrics_providers.h', |
| 58 ], |
| 59 'conditions': [ |
| 60 ['chromecast_branding=="Chrome"', { |
| 61 'dependencies': [ |
| 62 '<(cast_internal_gyp):cast_metrics_internal', |
| 63 ], |
| 64 }, { |
| 65 'sources': [ |
| 66 'metrics/platform_metrics_providers_simple.cc', |
| 67 ], |
| 68 }], |
| 69 ], |
| 70 }, |
| 71 { |
45 'target_name': 'cast_service', | 72 'target_name': 'cast_service', |
46 'type': '<(component)', | 73 'type': '<(component)', |
47 'dependencies': [ | 74 'dependencies': [ |
48 '../skia/skia.gyp:skia', | 75 '../skia/skia.gyp:skia', |
49 ], | 76 ], |
50 'sources': [ | 77 'sources': [ |
51 'service/cast_service.cc', | 78 'service/cast_service.cc', |
52 'service/cast_service.h', | 79 'service/cast_service.h', |
53 ], | 80 ], |
54 'conditions': [ | 81 'conditions': [ |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 }, | 148 }, |
122 'includes': [ '../build/repack_action.gypi' ], | 149 'includes': [ '../build/repack_action.gypi' ], |
123 }, | 150 }, |
124 ], | 151 ], |
125 }, | 152 }, |
126 { | 153 { |
127 'target_name': 'cast_shell', | 154 'target_name': 'cast_shell', |
128 'type': 'executable', | 155 'type': 'executable', |
129 'dependencies': [ | 156 'dependencies': [ |
130 'cast_common', | 157 'cast_common', |
| 158 'cast_metrics', |
131 'cast_service', | 159 'cast_service', |
132 'cast_shell_pak', | 160 'cast_shell_pak', |
133 'cast_shell_resources', | 161 'cast_shell_resources', |
134 'cast_version_header', | 162 'cast_version_header', |
135 'chromecast_locales.gyp:chromecast_locales_pak', | 163 'chromecast_locales.gyp:chromecast_locales_pak', |
136 'chromecast_locales.gyp:chromecast_settings', | 164 'chromecast_locales.gyp:chromecast_settings', |
137 '../ui/aura/aura.gyp:aura_test_support', | 165 '../components/components.gyp:component_metrics_proto', |
138 '../content/content.gyp:content', | 166 '../content/content.gyp:content', |
139 '../content/content.gyp:content_app_browser', | 167 '../content/content.gyp:content_app_browser', |
140 '../skia/skia.gyp:skia', | 168 '../skia/skia.gyp:skia', |
| 169 '../ui/aura/aura.gyp:aura_test_support', |
141 ], | 170 ], |
142 'sources': [ | 171 'sources': [ |
143 'net/network_change_notifier_cast.cc', | 172 'net/network_change_notifier_cast.cc', |
144 'net/network_change_notifier_cast.h', | 173 'net/network_change_notifier_cast.h', |
145 'net/network_change_notifier_factory_cast.cc', | 174 'net/network_change_notifier_factory_cast.cc', |
146 'net/network_change_notifier_factory_cast.h', | 175 'net/network_change_notifier_factory_cast.h', |
147 'shell/app/cast_main.cc', | 176 'shell/app/cast_main.cc', |
148 'shell/app/cast_main_delegate.cc', | 177 'shell/app/cast_main_delegate.cc', |
149 'shell/app/cast_main_delegate.h', | 178 'shell/app/cast_main_delegate.h', |
150 'shell/browser/cast_browser_context.cc', | 179 'shell/browser/cast_browser_context.cc', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 '<@(_outputs)', | 242 '<@(_outputs)', |
214 ], | 243 ], |
215 'includes': [ | 244 'includes': [ |
216 '../build/util/version.gypi', | 245 '../build/util/version.gypi', |
217 ], | 246 ], |
218 }, | 247 }, |
219 ], | 248 ], |
220 }, | 249 }, |
221 ], # end of targets | 250 ], # end of targets |
222 } | 251 } |
OLD | NEW |