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',
25 'common/cast_resource_delegate.cc',
26 'common/cast_resource_delegate.h',
27 'common/chromecast_config.cc',
28 'common/chromecast_config.h',
29 'common/pref_names.cc',
30 'common/pref_names.h',
33 ['chromecast_branding=="Chrome"', {
35 'internal/chromecast_internal.gyp:cast_common_internal',
39 'common/chromecast_config_simple.cc',
45 'target_name': 'cast_metrics',
46 'type': '<(component)',
48 '../components/components.gyp:component_metrics_proto',
49 '../components/components.gyp:metrics',
50 '../components/components.gyp:metrics_net',
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',
60 ['chromecast_branding=="Chrome"', {
62 '<(cast_internal_gyp):cast_metrics_internal',
66 'metrics/platform_metrics_providers_simple.cc',
72 'target_name': 'cast_service',
73 'type': '<(component)',
75 '../skia/skia.gyp:skia',
78 'service/cast_service.cc',
79 'service/cast_service.h',
82 ['chromecast_branding=="Chrome"', {
84 'internal/chromecast_internal.gyp:cast_service_internal',
88 '../base/base.gyp:base',
89 '../content/content.gyp:content',
92 'service/cast_service_simple.cc',
93 'service/cast_service_simple.h',
99 'target_name': 'cast_shell_resources',
102 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast',
106 'action_name': 'cast_shell_resources',
108 'grit_grd_file': 'shell/browser/resources/shell_resources.grd',
109 'grit_resource_ids': 'shell/browser/resources/resource_ids',
111 'includes': [ '../build/grit_action.gypi' ],
114 'includes': [ '../build/grit_target.gypi' ],
117 'target_name': 'cast_shell_pak',
120 'cast_shell_resources',
121 '../content/app/resources/content_resources.gyp:content_resources',
122 '../content/app/strings/content_strings.gyp:content_strings',
123 '../content/browser/devtools/devtools_resources.gyp:devtools_resources',
124 '../net/net.gyp:net_resources',
125 '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
126 '../ui/resources/ui_resources.gyp:ui_resources',
127 '../ui/strings/ui_strings.gyp:ui_strings',
131 'action_name': 'repack_cast_shell_pack',
134 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
135 '<(SHARED_INTERMEDIATE_DIR)/chromecast/shell_resources.pak',
136 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
137 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
138 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak',
139 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
140 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
141 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
142 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
143 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
144 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
146 'pak_output': '<(PRODUCT_DIR)/assets/cast_shell.pak',
148 'includes': [ '../build/repack_action.gypi' ],
153 'target_name': 'cast_shell',
154 'type': 'executable',
160 'cast_shell_resources',
161 'cast_version_header',
162 'chromecast_locales.gyp:chromecast_locales_pak',
163 'chromecast_locales.gyp:chromecast_settings',
164 '../components/components.gyp:component_metrics_proto',
165 '../content/content.gyp:content',
166 '../content/content.gyp:content_app_browser',
167 '../skia/skia.gyp:skia',
168 '../ui/aura/aura.gyp:aura_test_support',
171 'net/network_change_notifier_cast.cc',
172 'net/network_change_notifier_cast.h',
173 'net/network_change_notifier_factory_cast.cc',
174 'net/network_change_notifier_factory_cast.h',
175 'shell/app/cast_main.cc',
176 'shell/app/cast_main_delegate.cc',
177 'shell/app/cast_main_delegate.h',
178 'shell/browser/cast_browser_context.cc',
179 'shell/browser/cast_browser_context.h',
180 'shell/browser/cast_browser_main_parts.cc',
181 'shell/browser/cast_browser_main_parts.h',
182 'shell/browser/cast_content_browser_client.cc',
183 'shell/browser/cast_content_browser_client.h',
184 'shell/browser/cast_http_user_agent_settings.cc',
185 'shell/browser/cast_http_user_agent_settings.h',
186 'shell/browser/devtools/cast_dev_tools_delegate.cc',
187 'shell/browser/devtools/cast_dev_tools_delegate.h',
188 'shell/browser/devtools/remote_debugging_server.cc',
189 'shell/browser/devtools/remote_debugging_server.h',
190 'shell/browser/geolocation/cast_access_token_store.cc',
191 'shell/browser/geolocation/cast_access_token_store.h',
192 'shell/browser/url_request_context_factory.cc',
193 'shell/browser/url_request_context_factory.h',
194 'shell/browser/webui/webui_cast.h',
195 'shell/common/cast_content_client.cc',
196 'shell/common/cast_content_client.h',
197 'shell/renderer/cast_content_renderer_client.cc',
198 'shell/renderer/cast_content_renderer_client.h',
201 ['chromecast_branding=="Chrome"', {
203 'internal/chromecast_internal.gyp:cast_gfx_internal',
204 'internal/chromecast_internal.gyp:cast_shell_internal',
208 '../ui/ozone/ozone.gyp:eglplatform_shim_x11',
211 'shell/browser/devtools/remote_debugging_server_simple.cc',
212 'shell/browser/webui/webui_cast_simple.cc',
218 'target_name': 'cast_version_header',
220 'direct_dependent_settings': {
222 '<(SHARED_INTERMEDIATE_DIR)',
227 'action_name': 'version_header',
228 'message': 'Generating version header file: <@(_outputs)',
231 'common/version.h.in',
234 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h',
238 '<(version_py_path)',
239 '-e', 'VERSION_FULL="<(version_full)"',
240 'common/version.h.in',
244 '../build/util/version.gypi',