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 '../base/base.gyp:base',
52 '../content/content.gyp:content',
55 'service/cast_service_simple.cc',
56 'service/cast_service_simple.h',
62 'target_name': 'cast_shell_resources',
64 # Place holder for cast_shell specific resources.
67 'target_name': 'cast_shell_pak',
70 'cast_shell_resources',
71 '../content/browser/devtools/devtools_resources.gyp:devtools_resources',
72 '../content/content_resources.gyp:content_resources',
73 '../net/net.gyp:net_resources',
74 '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
75 '../ui/resources/ui_resources.gyp:ui_resources',
76 '../ui/strings/ui_strings.gyp:ui_strings',
77 '../webkit/webkit_resources.gyp:webkit_resources',
78 '../webkit/webkit_resources.gyp:webkit_strings',
82 'action_name': 'repack_cast_shell_pack',
85 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
86 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
87 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
88 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
89 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
90 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
91 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
92 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
93 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
94 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.pak',
96 'pak_output': '<(PRODUCT_DIR)/cast_shell.pak',
98 'includes': [ '../build/repack_action.gypi' ],
103 'target_name': 'cast_shell',
104 'type': 'executable',
109 'cast_version_header',
110 '../ui/aura/aura.gyp:aura_test_support',
111 '../content/content.gyp:content',
112 '../content/content.gyp:content_app_browser',
113 '../skia/skia.gyp:skia',
116 'net/network_change_notifier_cast.cc',
117 'net/network_change_notifier_cast.h',
118 'net/network_change_notifier_factory_cast.cc',
119 'net/network_change_notifier_factory_cast.h',
120 'shell/app/cast_main.cc',
121 'shell/app/cast_main_delegate.cc',
122 'shell/app/cast_main_delegate.h',
123 'shell/browser/cast_browser_context.cc',
124 'shell/browser/cast_browser_context.h',
125 'shell/browser/cast_browser_main_parts.cc',
126 'shell/browser/cast_browser_main_parts.h',
127 'shell/browser/cast_content_browser_client.cc',
128 'shell/browser/cast_content_browser_client.h',
129 'shell/browser/cast_http_user_agent_settings.cc',
130 'shell/browser/cast_http_user_agent_settings.h',
131 'shell/browser/geolocation/cast_access_token_store.cc',
132 'shell/browser/geolocation/cast_access_token_store.h',
133 'shell/browser/url_request_context_factory.cc',
134 'shell/browser/url_request_context_factory.h',
135 'shell/common/cast_content_client.cc',
136 'shell/common/cast_content_client.h',
137 'shell/renderer/cast_content_renderer_client.cc',
138 'shell/renderer/cast_content_renderer_client.h',
141 ['chromecast_branding=="Chrome"', {
143 'internal/chromecast_internal.gyp:cast_gfx_internal',
147 '../ui/ozone/ozone.gyp:eglplatform_shim_x11',
153 'target_name': 'cast_version_header',
155 'direct_dependent_settings': {
157 '<(SHARED_INTERMEDIATE_DIR)',
162 'action_name': 'version_header',
163 'message': 'Generating version header file: <@(_outputs)',
166 'common/version.h.in',
169 '<(SHARED_INTERMEDIATE_DIR)/chromecast/common/version.h',
173 '<(version_py_path)',
174 '-e', 'VERSION_FULL="<(version_full)"',
175 'common/version.h.in',
179 '../build/util/version.gypi',