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/chromecast_config.cc',
26 'common/chromecast_config.h',
29 ['chromecast_branding=="Chrome"', {
31 'internal/chromecast_internal.gyp:cast_common_internal',
35 'common/chromecast_config_simple.cc',
41 'target_name': 'cast_service',
42 'type': '<(component)',
44 '../skia/skia.gyp:skia',
47 'service/cast_service.cc',
48 'service/cast_service.h',
51 ['chromecast_branding=="Chrome"', {
53 'internal/chromecast_internal.gyp:cast_service_internal',
57 '../base/base.gyp:base',
58 '../content/content.gyp:content',
61 'service/cast_service_simple.cc',
62 'service/cast_service_simple.h',
68 'target_name': 'cast_shell_resources',
70 # Place holder for cast_shell specific resources.
73 'target_name': 'cast_shell_pak',
76 'cast_shell_resources',
77 '../content/app/strings/content_strings.gyp:content_strings',
78 '../content/browser/devtools/devtools_resources.gyp:devtools_resources',
79 '../content/content_resources.gyp:content_resources',
80 '../net/net.gyp:net_resources',
81 '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
82 '../ui/resources/ui_resources.gyp:ui_resources',
83 '../ui/strings/ui_strings.gyp:ui_strings',
84 '../webkit/webkit_resources.gyp:webkit_resources',
88 'action_name': 'repack_cast_shell_pack',
91 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
92 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
93 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak',
94 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
95 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
96 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
97 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
98 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
99 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
100 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
102 'pak_output': '<(PRODUCT_DIR)/cast_shell.pak',
104 'includes': [ '../build/repack_action.gypi' ],
109 'target_name': 'cast_shell',
110 'type': 'executable',
115 'cast_version_header',
116 '../ui/aura/aura.gyp:aura_test_support',
117 '../content/content.gyp:content',
118 '../content/content.gyp:content_app_browser',
119 '../skia/skia.gyp:skia',
122 'net/network_change_notifier_cast.cc',
123 'net/network_change_notifier_cast.h',
124 'net/network_change_notifier_factory_cast.cc',
125 'net/network_change_notifier_factory_cast.h',
126 'shell/app/cast_main.cc',
127 'shell/app/cast_main_delegate.cc',
128 'shell/app/cast_main_delegate.h',
129 'shell/browser/cast_browser_context.cc',
130 'shell/browser/cast_browser_context.h',
131 'shell/browser/cast_browser_main_parts.cc',
132 'shell/browser/cast_browser_main_parts.h',
133 'shell/browser/cast_content_browser_client.cc',
134 'shell/browser/cast_content_browser_client.h',
135 'shell/browser/cast_http_user_agent_settings.cc',
136 'shell/browser/cast_http_user_agent_settings.h',
137 'shell/browser/geolocation/cast_access_token_store.cc',
138 'shell/browser/geolocation/cast_access_token_store.h',
139 'shell/browser/url_request_context_factory.cc',
140 'shell/browser/url_request_context_factory.h',
141 'shell/common/cast_content_client.cc',
142 'shell/common/cast_content_client.h',
143 'shell/renderer/cast_content_renderer_client.cc',
144 'shell/renderer/cast_content_renderer_client.h',
147 ['chromecast_branding=="Chrome"', {
149 'internal/chromecast_internal.gyp:cast_gfx_internal',
153 '../ui/ozone/ozone.gyp:eglplatform_shim_x11',
159 'target_name': 'cast_version_header',
161 'direct_dependent_settings': {
163 '<(SHARED_INTERMEDIATE_DIR)',
168 'action_name': 'version_header',
169 'message': 'Generating version header file: <@(_outputs)',
172 'common/version.h.in',
175 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h',
179 '<(version_py_path)',
180 '-e', 'VERSION_FULL="<(version_full)"',
181 'common/version.h.in',
185 '../build/util/version.gypi',