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
3 # found in the LICENSE file.
8 'chromecast_branding%': 'Chromium',
12 '..', # Root of Chromium checkout
17 'target_name': 'cast_common',
18 'type': '<(component)',
20 '../base/base.gyp:base',
23 'common/cast_paths.cc',
24 'common/cast_paths.h',
27 ['chromecast_branding=="Chrome"', {
29 'internal/chromecast_internal.gyp:cast_common_internal',
35 'target_name': 'cast_service',
36 'type': '<(component)',
38 '../skia/skia.gyp:skia',
41 'service/cast_service.cc',
42 'service/cast_service.h',
45 ['chromecast_branding=="Chrome"', {
47 'internal/chromecast_internal.gyp:cast_service_internal',
51 'service/cast_platform_init_stub.cc',
57 'target_name': 'cast_shell_resources',
59 # Place holder for cast_shell specific resources.
62 'target_name': 'cast_shell_pak',
65 'cast_shell_resources',
66 '../content/browser/devtools/devtools_resources.gyp:devtools_resources',
67 '../content/content_resources.gyp:content_resources',
68 '../net/net.gyp:net_resources',
69 '../ui/resources/ui_resources.gyp:ui_resources',
70 '../ui/strings/ui_strings.gyp:ui_strings',
71 '../webkit/webkit_resources.gyp:webkit_resources',
72 '../webkit/webkit_resources.gyp:webkit_strings',
75 'repack_path': '../tools/grit/grit/format/repack.py',
79 'action_name': 'repack_cast_shell_pack',
82 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
83 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
84 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_settings_en-US.pak',
85 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
86 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak',
87 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak',
88 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
89 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak',
90 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
91 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
98 'action': ['python', '<(repack_path)', '<@(_outputs)',
101 '<(PRODUCT_DIR)/cast_shell.pak',
107 'target_name': 'cast_shell',
108 'type': 'executable',
113 '../ui/aura/aura.gyp:aura_test_support',
114 '../content/content.gyp:content',
115 '../content/content.gyp:content_app_browser',
116 '../skia/skia.gyp:skia',
119 'net/network_change_notifier_cast.cc',
120 'net/network_change_notifier_cast.h',
121 'net/network_change_notifier_factory_cast.cc',
122 'net/network_change_notifier_factory_cast.h',
123 'shell/app/cast_main.cc',
124 'shell/app/cast_main_delegate.cc',
125 'shell/app/cast_main_delegate.h',
126 'shell/browser/cast_browser_context.cc',
127 'shell/browser/cast_browser_context.h',
128 'shell/browser/cast_browser_main_parts.cc',
129 'shell/browser/cast_browser_main_parts.h',
130 'shell/browser/cast_content_browser_client.cc',
131 'shell/browser/cast_content_browser_client.h',
132 'shell/browser/cast_http_user_agent_settings.cc',
133 'shell/browser/cast_http_user_agent_settings.h',
134 'shell/browser/geolocation/cast_access_token_store.cc',
135 'shell/browser/geolocation/cast_access_token_store.h',
136 'shell/browser/url_request_context_factory.cc',
137 'shell/browser/url_request_context_factory.h',
138 'shell/common/cast_content_client.cc',
139 'shell/common/cast_content_client.h',
140 'shell/renderer/cast_content_renderer_client.cc',
141 'shell/renderer/cast_content_renderer_client.h',
144 ['chromecast_branding=="Chrome"', {
146 'internal/chromecast_internal.gyp:cast_gfx_internal',
150 '../ui/ozone/ozone.gyp:eglplatform_shim_x11',