Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: chromecast/chromecast.gyp

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an additional function in gl_surface_cast.cc Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2014 Google Inc. 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.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'target_defaults': {
10 'include_dirs': [
11 '..', # Root of Chromium checkout
12 ],
13 },
14 'targets': [
15 {
16 'target_name': 'cast_common',
17 'type': '<(component)',
18 'dependencies': [
19 '../base/base.gyp:base',
20 ],
21 'sources': [
22 'common/cast_paths.cc',
23 'common/cast_paths.h',
24 ],
25 'conditions': [
26 ['chromecast_branding=="Chrome"', {
27 'dependencies': [
28 'internal/chromecast_internal.gyp:cast_common_internal',
29 ],
30 }],
31 ],
32 },
33 {
34 'target_name': 'cast_gfx',
jam 2014/04/04 01:01:24 why bringing in cc files manually instead of depen
35 'type': '<(component)',
36 'dependencies': [
37 '../skia/skia.gyp:skia',
38 '../third_party/icu/icu.gyp:icui18n',
39 '../third_party/icu/icu.gyp:icuuc',
40 '../ui/gl/gl.gyp:gl',
41 ],
42 'sources': [
43 'ui/gfx/gfx_plane.cc',
44 'ui/gfx/gfx_plane.h',
45 'ui/gfx/platform_font_cast.cc',
46 'ui/gfx/render_text_cast.cc',
47 'ui/gfx/screen_cast.cc',
48 'ui/gfx/surface.cc',
49 'ui/gfx/surface.h',
50 'ui/gl/gl_context_cast.cc',
51 'ui/gl/gl_image_cast.cc',
52 'ui/gl/gl_implementation_cast.cc',
53 'ui/gl/gl_surface_cast.cc',
54 ],
55 'conditions': [
56 ['target_arch!="arm" or cast_uses_directfb!=0', {
57 'dependencies': [
58 'cast_system.gyp:directfb',
59 ],
60 'sources': [
61 'ui/gfx/gfx_plane_directfb.cc',
62 'ui/gfx/gfx_plane_directfb.h',
63 'ui/gfx/surface_directfb.cc',
64 'ui/gfx/surface_directfb.h',
65 ],
66 }, {
67 'conditions': [
68 ['chromecast_branding=="Chrome"', {
69 'dependencies': [
70 'internal/chromecast_internal.gyp:cast_gfx_internal',
71 ],
72 }],
73 ],
74 }],
75 ],
76 },
77 {
78 'target_name': 'cast_port_impl',
79 'type': '<(component)',
80 'dependencies': [
81 '../skia/skia.gyp:skia',
82 '../third_party/icu/icu.gyp:icui18n',
83 '../third_party/icu/icu.gyp:icuuc',
84 '../ui/accessibility/accessibility.gyp:accessibility',
85 ],
86 'sources': [
87 'port/content/browser/geolocation/wifi_data_provider_cast.cc',
88 'port/content/browser/geolocation/wifi_data_provider_cast.h',
89 'port/content/browser/power_save_blocker_cast.cc',
90 'port/content/browser/renderer_host/native_web_keyboard_event_cast.cc',
91 'port/content/browser/renderer_host/pepper_truetype_font_list_cast.cc',
92 'port/content/browser/renderer_host/render_widget_host_view_cast.cc',
93 'port/content/browser/renderer_host/render_widget_host_view_cast.h',
94 'port/content/browser/web_contents_view_cast.cc',
95 'port/content/browser/web_contents_view_cast.h',
96 'port/content/child/npapi/webplugin_delegate_impl_cast.cc',
97 'port/content/common/font_list_cast.cc',
98 'port/gpu/config/gpu_info_collector_cast.cc',
99 'port/ui/base/clipboard/clipboard_cast.cc',
100 'port/ui/base/resource/resource_bundle_cast.cc',
101 'port/ui/native_theme/native_theme_cast.cc',
102 'port/ui/native_theme/native_theme_cast.h',
103 'port/ui/snapshot/snapshot_cast.cc',
104 'port/webkit/common/cursors/webcursor_cast.cc',
jam 2014/04/04 01:01:24 for all the cc files other than ones that match he
lcwu1 2014/04/05 01:17:13 Yes, agreed. All these non-public platform-specifi
105 '../printing/printing_context_no_system_dialog.cc',
jam 2014/04/04 01:01:24 again, why are you not including a target from pri
lcwu1 2014/04/05 01:17:13 Chromecast doesn't support printing, but the build
jam 2014/04/07 17:32:01 so the best way to fix this printing case would be
106 '../printing/printing_context_no_system_dialog.h',
107 '../skia/ext/bitmap_platform_device_skia.cc',
108 '../skia/ext/bitmap_platform_device_skia.h',
109 ],
110 },
111 {
112 'target_name': 'cast_service',
113 'type': '<(component)',
114 'dependencies': [
115 '../skia/skia.gyp:skia',
116 ],
117 'sources': [
118 'service/cast_service.cc',
119 'service/cast_service.h',
120 ],
121 'conditions': [
122 ['chromecast_branding=="Chrome"', {
123 'dependencies': [
124 'internal/chromecast_internal.gyp:cast_service_internal',
125 ],
126 }, {
127 'sources': [
128 'service/cast_platform_init_stub.cc',
129 ],
130 }],
131 ],
132 },
133 {
134 'target_name': 'cast_shell',
135 'type': 'executable',
136 'dependencies': [
137 'cast_common',
138 'cast_gfx',
139 'cast_port_impl',
140 'cast_service',
141 '../base/allocator/allocator.gyp:allocator',
142 '../content/content.gyp:content',
143 '../content/content.gyp:content_app_browser',
144 '../skia/skia.gyp:skia',
145 ],
146 'sources': [
147 'shell/app/cast_main.cc',
148 'shell/app/cast_main_delegate.cc',
149 'shell/app/cast_main_delegate.h',
150 'shell/browser/cast_browser_context.cc',
151 'shell/browser/cast_browser_context.h',
152 'shell/browser/cast_browser_main_parts.cc',
153 'shell/browser/cast_browser_main_parts.h',
154 'shell/browser/cast_content_browser_client.cc',
155 'shell/browser/cast_content_browser_client.h',
156 'shell/browser/cast_http_user_agent_settings.cc',
157 'shell/browser/cast_http_user_agent_settings.h',
158 'shell/browser/geolocation/cast_access_token_store.cc',
159 'shell/browser/geolocation/cast_access_token_store.h',
160 'shell/browser/url_request_context_factory.cc',
161 'shell/browser/url_request_context_factory.h',
162 'shell/common/cast_content_client.cc',
163 'shell/common/cast_content_client.h',
164 'shell/renderer/cast_content_renderer_client.cc',
165 'shell/renderer/cast_content_renderer_client.h',
166 ],
167 },
168 ], # end of targets
169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698