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 'android_support_v13_target%': | 7 'android_support_v13_target%': |
8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java
lib', | 8 '../third_party/android_tools/android_tools.gyp:android_support_v13_java
lib', |
9 'cast_build_release': 'internal/build/cast_build_release', | 9 'cast_build_release': 'internal/build/cast_build_release', |
10 'cast_is_debug_build%': 0, | 10 'cast_is_debug_build%': 0, |
(...skipping 20 matching lines...) Expand all Loading... |
31 ], | 31 ], |
32 }, | 32 }, |
33 'targets': [ | 33 'targets': [ |
34 # Public API target for OEM partners to replace shlibs. | 34 # Public API target for OEM partners to replace shlibs. |
35 { | 35 { |
36 'target_name': 'cast_public_api', | 36 'target_name': 'cast_public_api', |
37 'type': '<(component)', | 37 'type': '<(component)', |
38 'sources': [ | 38 'sources': [ |
39 'public/cast_egl_platform.h', | 39 'public/cast_egl_platform.h', |
40 'public/cast_egl_platform_shlib.h', | 40 'public/cast_egl_platform_shlib.h', |
| 41 'public/cast_sys_info.h', |
| 42 'public/cast_sys_info_shlib.h', |
41 'public/chromecast_export.h', | 43 'public/chromecast_export.h', |
42 'public/graphics_properties_shlib.h' | 44 'public/graphics_properties_shlib.h' |
43 ], | 45 ], |
44 }, | 46 }, |
45 # TODO(gunsch): Remove this fake target once it's either added or no | 47 # TODO(gunsch): Remove this fake target once it's either added or no |
46 # longer referenced from internal code. | 48 # longer referenced from internal code. |
47 {'target_name': 'cast_media_audio', 'type': 'none'}, | 49 {'target_name': 'cast_media_audio', 'type': 'none'}, |
48 | 50 |
49 { | 51 { |
50 'target_name': 'cast_base', | 52 'target_name': 'cast_base', |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 # non-platform-specific. | 172 # non-platform-specific. |
171 { | 173 { |
172 'target_name': 'cast_shell_common', | 174 'target_name': 'cast_shell_common', |
173 'type': '<(component)', | 175 'type': '<(component)', |
174 'dependencies': [ | 176 'dependencies': [ |
175 'cast_base', | 177 'cast_base', |
176 'cast_crash_client', | 178 'cast_crash_client', |
177 'cast_net', | 179 'cast_net', |
178 'cast_shell_pak', | 180 'cast_shell_pak', |
179 'cast_shell_resources', | 181 'cast_shell_resources', |
| 182 'cast_sys_info', |
180 'cast_version_header', | 183 'cast_version_header', |
181 'chromecast_locales.gyp:chromecast_locales_pak', | 184 'chromecast_locales.gyp:chromecast_locales_pak', |
182 'chromecast_locales.gyp:chromecast_settings', | 185 'chromecast_locales.gyp:chromecast_settings', |
183 'media/media.gyp:media_base', | 186 'media/media.gyp:media_base', |
184 '../base/base.gyp:base', | 187 '../base/base.gyp:base', |
185 '../components/components.gyp:breakpad_host', | 188 '../components/components.gyp:breakpad_host', |
186 '../components/components.gyp:cdm_renderer', | 189 '../components/components.gyp:cdm_renderer', |
187 '../components/components.gyp:component_metrics_proto', | 190 '../components/components.gyp:component_metrics_proto', |
188 '../components/components.gyp:crash_component', | 191 '../components/components.gyp:crash_component', |
189 '../components/components.gyp:network_hints_browser', | 192 '../components/components.gyp:network_hints_browser', |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 'browser/metrics/external_metrics.cc', | 307 'browser/metrics/external_metrics.cc', |
305 'browser/metrics/external_metrics.h', | 308 'browser/metrics/external_metrics.h', |
306 ], | 309 ], |
307 'dependencies': [ | 310 'dependencies': [ |
308 '../components/components.gyp:metrics_serialization', | 311 '../components/components.gyp:metrics_serialization', |
309 ], | 312 ], |
310 }], | 313 }], |
311 ], | 314 ], |
312 }, | 315 }, |
313 { | 316 { |
| 317 'target_name': 'cast_sys_info', |
| 318 'type': '<(component)', |
| 319 'dependencies': [ |
| 320 'cast_public_api', |
| 321 '../base/base.gyp:base', |
| 322 ], |
| 323 'sources': [ |
| 324 'base/cast_sys_info_dummy.cc', |
| 325 'base/cast_sys_info_dummy.h', |
| 326 ], |
| 327 'conditions': [ |
| 328 ['chromecast_branding!="Chrome" or OS=="android"', { |
| 329 'sources': [ |
| 330 'base/cast_sys_info_simple.cc', |
| 331 ], |
| 332 }], |
| 333 ], |
| 334 }, # end of target 'cast_sys_info' |
| 335 { |
314 'target_name': 'cast_version_header', | 336 'target_name': 'cast_version_header', |
315 'type': 'none', | 337 'type': 'none', |
316 'direct_dependent_settings': { | 338 'direct_dependent_settings': { |
317 'include_dirs': [ | 339 'include_dirs': [ |
318 '<(SHARED_INTERMEDIATE_DIR)', | 340 '<(SHARED_INTERMEDIATE_DIR)', |
319 ], | 341 ], |
320 }, | 342 }, |
321 'actions': [ | 343 'actions': [ |
322 { | 344 { |
323 'action_name': 'version_header', | 345 'action_name': 'version_header', |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 ], | 612 ], |
591 'sources': [ | 613 'sources': [ |
592 'graphics/cast_egl_platform_default.cc', | 614 'graphics/cast_egl_platform_default.cc', |
593 'graphics/graphics_properties_default.cc' | 615 'graphics/graphics_properties_default.cc' |
594 ], | 616 ], |
595 } | 617 } |
596 ] | 618 ] |
597 }], | 619 }], |
598 ], # end of conditions | 620 ], # end of conditions |
599 } | 621 } |
OLD | NEW |