OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'chromecast_branding%': 'Chromium', | 8 'chromecast_branding%': 'Chromium', |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '..', # Root of Chromium checkout | 12 '..', # Root of Chromium checkout |
13 ], | 13 ], |
14 }, | 14 }, |
15 'targets': [ | 15 'targets': [ |
16 { | 16 { |
17 'target_name': 'cast_common', | |
18 'type': '<(component)', | |
19 'dependencies': [ | |
20 '../base/base.gyp:base', | |
21 ], | |
22 'sources': [ | |
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/chromecast_switches.cc', | |
30 'common/chromecast_switches.h', | |
31 'common/pref_names.cc', | |
32 'common/pref_names.h', | |
33 ], | |
34 'conditions': [ | |
35 ['chromecast_branding=="Chrome"', { | |
36 'dependencies': [ | |
37 'internal/chromecast_internal.gyp:cast_common_internal', | |
38 ], | |
39 }, { | |
40 'sources': [ | |
41 'common/chromecast_config_simple.cc', | |
42 ], | |
43 }], | |
44 ], | |
45 }, | |
46 { | |
47 'target_name': 'cast_metrics', | |
48 'type': '<(component)', | |
49 'dependencies': [ | |
50 'cast_common', | |
51 '../components/components.gyp:component_metrics_proto', | |
52 '../components/components.gyp:metrics', | |
53 '../components/components.gyp:metrics_gpu', | |
54 '../components/components.gyp:metrics_net', | |
55 '../components/components.gyp:metrics_profiler', | |
56 '../content/content.gyp:content', | |
57 ], | |
58 'sources': [ | |
59 'metrics/cast_metrics_prefs.cc', | |
60 'metrics/cast_metrics_prefs.h', | |
61 'metrics/cast_metrics_service_client.cc', | |
62 'metrics/cast_metrics_service_client.h', | |
63 'metrics/cast_stability_metrics_provider.cc', | |
64 'metrics/cast_stability_metrics_provider.h', | |
65 'metrics/platform_metrics_providers.h', | |
66 ], | |
67 'conditions': [ | |
68 ['chromecast_branding=="Chrome"', { | |
69 'dependencies': [ | |
70 '<(cast_internal_gyp):cast_metrics_internal', | |
71 ], | |
72 }, { | |
73 'sources': [ | |
74 'metrics/platform_metrics_providers_simple.cc', | |
75 ], | |
76 }], | |
77 ], | |
78 }, | |
79 { | |
80 'target_name': 'cast_metrics_unittests', | |
81 'type': '<(gtest_target_type)', | |
82 'dependencies': [ | |
83 'cast_metrics', | |
84 '../base/base.gyp:base_prefs_test_support', | |
85 '../base/base.gyp:run_all_unittests', | |
86 '../base/base.gyp:test_support_base', | |
87 '../components/components.gyp:component_metrics_proto', | |
88 '../testing/gtest.gyp:gtest', | |
89 ], | |
90 'sources': [ | |
91 'metrics/cast_metrics_service_client_unittest.cc', | |
92 ], | |
93 'conditions': [ | |
94 ['use_allocator!="none"', { | |
95 'dependencies': [ | |
96 '../base/allocator/allocator.gyp:allocator', | |
97 ], | |
98 }], | |
99 ] | |
100 }, # end of target 'cast_metrics_unittests' | |
101 { | |
102 'target_name': 'cast_net', | 17 'target_name': 'cast_net', |
103 'type': '<(component)', | 18 'type': '<(component)', |
104 'sources': [ | 19 'sources': [ |
105 'net/network_change_notifier_cast.cc', | 20 'net/network_change_notifier_cast.cc', |
106 'net/network_change_notifier_cast.h', | 21 'net/network_change_notifier_cast.h', |
107 'net/network_change_notifier_factory_cast.cc', | 22 'net/network_change_notifier_factory_cast.cc', |
108 'net/network_change_notifier_factory_cast.h', | 23 'net/network_change_notifier_factory_cast.h', |
109 ], | 24 ], |
110 }, | 25 }, |
111 { | 26 { |
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 'dependencies': [ | |
128 '../base/base.gyp:base', | |
129 '../content/content.gyp:content', | |
130 ], | |
131 'conditions': [ | |
132 ['OS=="android"', { | |
133 'sources': [ | |
134 'service/cast_service_android.cc', | |
135 'service/cast_service_android.h', | |
136 ], | |
137 }, { | |
138 'sources': [ | |
139 'service/cast_service_simple.cc', | |
140 'service/cast_service_simple.h', | |
141 ], | |
142 }], | |
143 ], | |
144 }], | |
145 ], | |
146 }, | |
147 { | |
148 'target_name': 'cast_shell_resources', | 27 'target_name': 'cast_shell_resources', |
149 'type': 'none', | 28 'type': 'none', |
150 'variables': { | 29 'variables': { |
151 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast', | 30 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chromecast', |
152 }, | 31 }, |
153 'actions': [ | 32 'actions': [ |
154 { | 33 { |
155 'action_name': 'cast_shell_resources', | 34 'action_name': 'cast_shell_resources', |
156 'variables': { | 35 'variables': { |
157 'grit_grd_file': 'shell/browser/resources/shell_resources.grd', | 36 'grit_grd_file': 'app/resources/shell_resources.grd', |
158 'grit_resource_ids': 'shell/browser/resources/resource_ids', | 37 'grit_resource_ids': 'app/resources/resource_ids', |
159 }, | 38 }, |
160 'includes': [ '../build/grit_action.gypi' ], | 39 'includes': [ '../build/grit_action.gypi' ], |
161 }, | 40 }, |
162 ], | 41 ], |
163 'includes': [ '../build/grit_target.gypi' ], | 42 'includes': [ '../build/grit_target.gypi' ], |
164 }, | 43 }, |
165 { | 44 { |
166 'target_name': 'cast_shell_pak', | 45 'target_name': 'cast_shell_pak', |
167 'type': 'none', | 46 'type': 'none', |
168 'dependencies': [ | 47 'dependencies': [ |
(...skipping 28 matching lines...) Expand all Loading... |
197 'includes': [ '../build/repack_action.gypi' ], | 76 'includes': [ '../build/repack_action.gypi' ], |
198 }, | 77 }, |
199 ], | 78 ], |
200 }, | 79 }, |
201 # This target contains all content-embedder implementation that is | 80 # This target contains all content-embedder implementation that is |
202 # non-platform-specific. | 81 # non-platform-specific. |
203 { | 82 { |
204 'target_name': 'cast_shell_common', | 83 'target_name': 'cast_shell_common', |
205 'type': '<(component)', | 84 'type': '<(component)', |
206 'dependencies': [ | 85 'dependencies': [ |
207 'cast_common', | |
208 'cast_metrics', | |
209 'cast_service', | |
210 'cast_shell_pak', | 86 'cast_shell_pak', |
211 'cast_shell_resources', | 87 'cast_shell_resources', |
212 'cast_version_header', | 88 'cast_version_header', |
213 'chromecast_locales.gyp:chromecast_locales_pak', | 89 'chromecast_locales.gyp:chromecast_locales_pak', |
214 'chromecast_locales.gyp:chromecast_settings', | 90 'chromecast_locales.gyp:chromecast_settings', |
215 'media/media.gyp:media_base', | 91 'media/media.gyp:media_base', |
| 92 '../base/base.gyp:base', |
216 '../components/components.gyp:cdm_renderer', | 93 '../components/components.gyp:cdm_renderer', |
217 '../components/components.gyp:component_metrics_proto', | 94 '../components/components.gyp:component_metrics_proto', |
| 95 '../components/components.gyp:metrics', |
| 96 '../components/components.gyp:metrics_gpu', |
| 97 '../components/components.gyp:metrics_net', |
| 98 '../components/components.gyp:metrics_profiler', |
218 '../content/content.gyp:content', | 99 '../content/content.gyp:content', |
219 '../content/content.gyp:content_app_browser', | 100 '../content/content.gyp:content_app_browser', |
220 '../skia/skia.gyp:skia', | 101 '../skia/skia.gyp:skia', |
221 '../third_party/WebKit/public/blink.gyp:blink', | 102 '../third_party/WebKit/public/blink.gyp:blink', |
222 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | 103 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
223 ], | 104 ], |
224 'sources': [ | 105 'sources': [ |
225 'shell/app/cast_main_delegate.cc', | 106 'app/cast_main_delegate.cc', |
226 'shell/app/cast_main_delegate.h', | 107 'app/cast_main_delegate.h', |
227 'shell/browser/cast_browser_context.cc', | 108 'browser/cast_browser_context.cc', |
228 'shell/browser/cast_browser_context.h', | 109 'browser/cast_browser_context.h', |
229 'shell/browser/cast_browser_main_parts.cc', | 110 'browser/cast_browser_main_parts.cc', |
230 'shell/browser/cast_browser_main_parts.h', | 111 'browser/cast_browser_main_parts.h', |
231 'shell/browser/cast_browser_process.cc', | 112 'browser/cast_browser_process.cc', |
232 'shell/browser/cast_browser_process.h', | 113 'browser/cast_browser_process.h', |
233 'shell/browser/cast_content_browser_client.cc', | 114 'browser/cast_content_browser_client.cc', |
234 'shell/browser/cast_content_browser_client.h', | 115 'browser/cast_content_browser_client.h', |
235 'shell/browser/cast_download_manager_delegate.cc', | 116 'browser/cast_download_manager_delegate.cc', |
236 'shell/browser/cast_download_manager_delegate.h', | 117 'browser/cast_download_manager_delegate.h', |
237 'shell/browser/cast_http_user_agent_settings.cc', | 118 'browser/cast_http_user_agent_settings.cc', |
238 'shell/browser/cast_http_user_agent_settings.h', | 119 'browser/cast_http_user_agent_settings.h', |
239 'shell/browser/cast_network_delegate.cc', | 120 'browser/cast_network_delegate.cc', |
240 'shell/browser/cast_network_delegate.h', | 121 'browser/cast_network_delegate.h', |
241 'shell/browser/devtools/cast_dev_tools_delegate.cc', | 122 'browser/devtools/cast_dev_tools_delegate.cc', |
242 'shell/browser/devtools/cast_dev_tools_delegate.h', | 123 'browser/devtools/cast_dev_tools_delegate.h', |
243 'shell/browser/devtools/remote_debugging_server.cc', | 124 'browser/devtools/remote_debugging_server.cc', |
244 'shell/browser/devtools/remote_debugging_server.h', | 125 'browser/devtools/remote_debugging_server.h', |
245 'shell/browser/geolocation/cast_access_token_store.cc', | 126 'browser/geolocation/cast_access_token_store.cc', |
246 'shell/browser/geolocation/cast_access_token_store.h', | 127 'browser/geolocation/cast_access_token_store.h', |
247 'shell/browser/url_request_context_factory.cc', | 128 'browser/metrics/cast_metrics_prefs.cc', |
248 'shell/browser/url_request_context_factory.h', | 129 'browser/metrics/cast_metrics_prefs.h', |
249 'shell/browser/webui/webui_cast.h', | 130 'browser/metrics/cast_metrics_service_client.cc', |
250 'shell/common/cast_content_client.cc', | 131 'browser/metrics/cast_metrics_service_client.h', |
251 'shell/common/cast_content_client.h', | 132 'browser/metrics/cast_stability_metrics_provider.cc', |
252 'shell/renderer/cast_content_renderer_client.cc', | 133 'browser/metrics/cast_stability_metrics_provider.h', |
253 'shell/renderer/cast_content_renderer_client.h', | 134 'browser/metrics/platform_metrics_providers.h', |
254 'shell/renderer/key_systems_cast.cc', | 135 'browser/service/cast_service.cc', |
255 'shell/renderer/key_systems_cast.h', | 136 'browser/service/cast_service.h', |
| 137 'browser/url_request_context_factory.cc', |
| 138 'browser/url_request_context_factory.h', |
| 139 'browser/webui/webui_cast.h', |
| 140 'common/cast_content_client.cc', |
| 141 'common/cast_content_client.h', |
| 142 'common/cast_paths.cc', |
| 143 'common/cast_paths.h', |
| 144 'common/cast_resource_delegate.cc', |
| 145 'common/cast_resource_delegate.h', |
| 146 'common/chromecast_config.cc', |
| 147 'common/chromecast_config.h', |
| 148 'common/chromecast_switches.cc', |
| 149 'common/chromecast_switches.h', |
| 150 'common/pref_names.cc', |
| 151 'common/pref_names.h', |
| 152 'renderer/cast_content_renderer_client.cc', |
| 153 'renderer/cast_content_renderer_client.h', |
| 154 'renderer/key_systems_cast.cc', |
| 155 'renderer/key_systems_cast.h', |
256 ], | 156 ], |
257 'conditions': [ | 157 'conditions': [ |
258 ['chromecast_branding=="Chrome"', { | 158 ['chromecast_branding=="Chrome"', { |
259 'dependencies': [ | 159 'dependencies': [ |
260 'internal/chromecast_internal.gyp:cast_shell_internal', | 160 'internal/chromecast_internal.gyp:cast_shell_internal', |
261 ], | 161 ], |
262 }, { | 162 }, { |
263 'sources': [ | 163 'sources': [ |
264 'shell/browser/cast_network_delegate_simple.cc', | 164 'browser/cast_network_delegate_simple.cc', |
265 'shell/browser/devtools/remote_debugging_server_simple.cc', | 165 'browser/devtools/remote_debugging_server_simple.cc', |
266 'shell/browser/webui/webui_cast_simple.cc', | 166 'browser/metrics/platform_metrics_providers_simple.cc', |
267 'shell/renderer/key_systems_cast_simple.cc', | 167 'browser/webui/webui_cast_simple.cc', |
| 168 'common/chromecast_config_simple.cc', |
| 169 'renderer/key_systems_cast_simple.cc', |
| 170 ], |
| 171 'conditions': [ |
| 172 ['OS=="android"', { |
| 173 'sources': [ |
| 174 'browser/service/cast_service_android.cc', |
| 175 'browser/service/cast_service_android.h', |
| 176 ], |
| 177 }, { |
| 178 'sources': [ |
| 179 'browser/service/cast_service_simple.cc', |
| 180 'browser/service/cast_service_simple.h', |
| 181 ], |
| 182 }], |
268 ], | 183 ], |
269 }], | 184 }], |
270 ], | 185 ], |
271 }, | 186 }, |
272 { | 187 { |
| 188 'target_name': 'cast_shell_unittests', |
| 189 'type': '<(gtest_target_type)', |
| 190 'dependencies': [ |
| 191 'cast_shell_common', |
| 192 '../base/base.gyp:base_prefs_test_support', |
| 193 '../base/base.gyp:run_all_unittests', |
| 194 '../base/base.gyp:test_support_base', |
| 195 '../components/components.gyp:component_metrics_proto', |
| 196 '../testing/gtest.gyp:gtest', |
| 197 ], |
| 198 'sources': [ |
| 199 'browser/metrics/cast_metrics_service_client_unittest.cc', |
| 200 ], |
| 201 'conditions': [ |
| 202 ['use_allocator!="none"', { |
| 203 'dependencies': [ |
| 204 '../base/allocator/allocator.gyp:allocator', |
| 205 ], |
| 206 }], |
| 207 ] |
| 208 }, # end of target 'cast_metrics_unittests' |
| 209 { |
273 'target_name': 'cast_version_header', | 210 'target_name': 'cast_version_header', |
274 'type': 'none', | 211 'type': 'none', |
275 'direct_dependent_settings': { | 212 'direct_dependent_settings': { |
276 'include_dirs': [ | 213 'include_dirs': [ |
277 '<(SHARED_INTERMEDIATE_DIR)', | 214 '<(SHARED_INTERMEDIATE_DIR)', |
278 ], | 215 ], |
279 }, | 216 }, |
280 'actions': [ | 217 'actions': [ |
281 { | 218 { |
282 'action_name': 'version_header', | 219 'action_name': 'version_header', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 ], # end of targets | 251 ], # end of targets |
315 | 252 |
316 # Targets for Android receiver. | 253 # Targets for Android receiver. |
317 'conditions': [ | 254 'conditions': [ |
318 ['OS=="android"', { | 255 ['OS=="android"', { |
319 'targets': [ | 256 'targets': [ |
320 { | 257 { |
321 'target_name': 'libcast_shell_android', | 258 'target_name': 'libcast_shell_android', |
322 'type': 'shared_library', | 259 'type': 'shared_library', |
323 'dependencies': [ | 260 'dependencies': [ |
324 'cast_common', | |
325 'cast_jni_headers', | 261 'cast_jni_headers', |
326 'cast_shell_common', | 262 'cast_shell_common', |
327 'cast_shell_pak', | 263 'cast_shell_pak', |
328 'cast_version_header', | 264 'cast_version_header', |
329 '../base/base.gyp:base', | 265 '../base/base.gyp:base', |
330 '../breakpad/breakpad.gyp:breakpad_client', | 266 '../breakpad/breakpad.gyp:breakpad_client', |
331 '../components/components.gyp:breakpad_host', | 267 '../components/components.gyp:breakpad_host', |
332 '../components/components.gyp:crash_component', | 268 '../components/components.gyp:crash_component', |
333 '../content/content.gyp:content_app_browser', | 269 '../content/content.gyp:content_app_browser', |
334 '../content/content.gyp:content', | 270 '../content/content.gyp:content', |
335 '../skia/skia.gyp:skia', | 271 '../skia/skia.gyp:skia', |
336 '../ui/gfx/gfx.gyp:gfx', | 272 '../ui/gfx/gfx.gyp:gfx', |
337 '../ui/gl/gl.gyp:gl', | 273 '../ui/gl/gl.gyp:gl', |
338 ], | 274 ], |
339 'include_dirs': [ | 275 'include_dirs': [ |
340 '../breakpad/src', | 276 '../breakpad/src', |
341 ], | 277 ], |
342 'sources': [ | 278 'sources': [ |
343 'android/cast_jni_registrar.cc', | 279 'android/cast_jni_registrar.cc', |
344 'android/cast_jni_registrar.h', | 280 'android/cast_jni_registrar.h', |
345 'android/chromecast_config_android.cc', | 281 'android/chromecast_config_android.cc', |
346 'android/chromecast_config_android.h', | 282 'android/chromecast_config_android.h', |
347 'android/platform_jni_loader.h', | 283 'android/platform_jni_loader.h', |
| 284 'app/android/cast_jni_loader.cc', |
| 285 'browser/android/cast_window_android.cc', |
| 286 'browser/android/cast_window_android.h', |
| 287 'browser/android/cast_window_manager.cc', |
| 288 'browser/android/cast_window_manager.h', |
| 289 'browser/android/external_video_surface_container_impl.cc', |
| 290 'browser/android/external_video_surface_container_impl.h', |
348 'crash/android/cast_crash_reporter_client_android.cc', | 291 'crash/android/cast_crash_reporter_client_android.cc', |
349 'crash/android/cast_crash_reporter_client_android.h', | 292 'crash/android/cast_crash_reporter_client_android.h', |
350 'crash/android/crash_handler.cc', | 293 'crash/android/crash_handler.cc', |
351 'crash/android/crash_handler.h', | 294 'crash/android/crash_handler.h', |
352 'shell/app/android/cast_jni_loader.cc', | |
353 'shell/browser/android/cast_window_android.cc', | |
354 'shell/browser/android/cast_window_android.h', | |
355 'shell/browser/android/cast_window_manager.cc', | |
356 'shell/browser/android/cast_window_manager.h', | |
357 'shell/browser/android/external_video_surface_container_impl.cc', | |
358 'shell/browser/android/external_video_surface_container_impl.h', | |
359 ], | 295 ], |
360 'conditions': [ | 296 'conditions': [ |
361 ['chromecast_branding=="Chrome"', { | 297 ['chromecast_branding=="Chrome"', { |
362 'dependencies': [ | 298 'dependencies': [ |
363 '<(cast_internal_gyp):cast_shell_android_internal' | 299 '<(cast_internal_gyp):cast_shell_android_internal' |
364 ], | 300 ], |
365 }, { | 301 }, { |
366 'sources': [ | 302 'sources': [ |
367 'android/chromecast_config_android_stub.cc', | 303 'android/chromecast_config_android_stub.cc', |
368 'android/platform_jni_loader_stub.cc', | 304 'android/platform_jni_loader_stub.cc', |
369 ], | 305 ], |
370 }] | 306 }] |
371 ], | 307 ], |
372 }, # end of target 'libcast_shell_android' | 308 }, # end of target 'libcast_shell_android' |
373 { | 309 { |
374 'target_name': 'cast_shell_java', | 310 'target_name': 'cast_shell_java', |
375 'type': 'none', | 311 'type': 'none', |
376 'dependencies': [ | 312 'dependencies': [ |
377 '../base/base.gyp:base_java', | 313 '../base/base.gyp:base_java', |
378 '../content/content.gyp:content_java', | 314 '../content/content.gyp:content_java', |
379 '../media/media.gyp:media_java', | 315 '../media/media.gyp:media_java', |
380 '../net/net.gyp:net_java', | 316 '../net/net.gyp:net_java', |
381 '../third_party/android_tools/android_tools.gyp:android_support_v13_
javalib', | 317 '../third_party/android_tools/android_tools.gyp:android_support_v13_
javalib', |
382 '../ui/android/ui_android.gyp:ui_java', | 318 '../ui/android/ui_android.gyp:ui_java', |
383 ], | 319 ], |
384 'variables': { | 320 'variables': { |
385 'has_java_resources': 1, | 321 'has_java_resources': 1, |
386 'java_in_dir': 'shell/android/apk', | 322 'java_in_dir': 'browser/android/apk', |
387 'resource_dir': 'shell/android/apk/res', | 323 'resource_dir': 'browser/android/apk/res', |
388 'R_package': 'org.chromium.chromecast.shell', | 324 'R_package': 'org.chromium.chromecast.shell', |
389 }, | 325 }, |
390 'includes': ['../build/java.gypi'], | 326 'includes': ['../build/java.gypi'], |
391 }, # end of target 'cast_shell_java' | 327 }, # end of target 'cast_shell_java' |
392 { | 328 { |
393 'target_name': 'cast_shell_apk', | 329 'target_name': 'cast_shell_apk', |
394 'type': 'none', | 330 'type': 'none', |
395 'dependencies': [ | 331 'dependencies': [ |
396 'cast_shell_java', | 332 'cast_shell_java', |
397 'libcast_shell_android', | 333 'libcast_shell_android', |
398 ], | 334 ], |
399 'variables': { | 335 'variables': { |
400 'apk_name': 'CastShell', | 336 'apk_name': 'CastShell', |
401 'manifest_package_name': 'org.chromium.chromecast.shell', | 337 'manifest_package_name': 'org.chromium.chromecast.shell', |
402 # Note(gunsch): there are no Java files in the android/ directory. | 338 # Note(gunsch): there are no Java files in the android/ directory. |
403 # Unfortunately, the java_apk.gypi target rigidly insists on having | 339 # Unfortunately, the java_apk.gypi target rigidly insists on having |
404 # a java_in_dir directory, but complains about duplicate classes | 340 # a java_in_dir directory, but complains about duplicate classes |
405 # from the common cast_shell_java target (shared with internal APK) | 341 # from the common cast_shell_java target (shared with internal APK) |
406 # if the actual Java path is used. | 342 # if the actual Java path is used. |
407 # This will hopefully be removable after the great GN migration. | 343 # This will hopefully be removable after the great GN migration. |
408 'java_in_dir': 'android', | 344 'java_in_dir': 'android', |
409 'android_manifest_path': 'shell/android/apk/AndroidManifest.xml', | 345 'android_manifest_path': 'browser/android/apk/AndroidManifest.xml', |
410 'package_name': 'org.chromium.chromecast.shell', | 346 'package_name': 'org.chromium.chromecast.shell', |
411 'native_lib_target': 'libcast_shell_android', | 347 'native_lib_target': 'libcast_shell_android', |
412 'asset_location': '<(PRODUCT_DIR)/assets', | 348 'asset_location': '<(PRODUCT_DIR)/assets', |
413 'additional_input_paths': ['<(PRODUCT_DIR)/assets/cast_shell.pak'], | 349 'additional_input_paths': ['<(PRODUCT_DIR)/assets/cast_shell.pak'], |
414 }, | 350 }, |
415 'includes': [ '../build/java_apk.gypi' ], | 351 'includes': [ '../build/java_apk.gypi' ], |
416 }, | 352 }, |
417 { | 353 { |
418 'target_name': 'cast_jni_headers', | 354 'target_name': 'cast_jni_headers', |
419 'type': 'none', | 355 'type': 'none', |
420 'sources': [ | 356 'sources': [ |
421 'shell/android/apk/src/org/chromium/chromecast/shell/CastCrashHandle
r.java', | 357 'browser/android/apk/src/org/chromium/chromecast/shell/CastCrashHand
ler.java', |
422 'shell/android/apk/src/org/chromium/chromecast/shell/CastWindowAndro
id.java', | 358 'browser/android/apk/src/org/chromium/chromecast/shell/CastWindowAnd
roid.java', |
423 'shell/android/apk/src/org/chromium/chromecast/shell/CastWindowManag
er.java', | 359 'browser/android/apk/src/org/chromium/chromecast/shell/CastWindowMan
ager.java', |
424 'shell/android/apk/src/org/chromium/chromecast/shell/ExternalVideoSu
rfaceContainer.java', | 360 'browser/android/apk/src/org/chromium/chromecast/shell/ExternalVideo
SurfaceContainer.java', |
425 ], | 361 ], |
426 'direct_dependent_settings': { | 362 'direct_dependent_settings': { |
427 'include_dirs': [ | 363 'include_dirs': [ |
428 '<(SHARED_INTERMEDIATE_DIR)/chromecast', | 364 '<(SHARED_INTERMEDIATE_DIR)/chromecast', |
429 ], | 365 ], |
430 }, | 366 }, |
431 'variables': { | 367 'variables': { |
432 'jni_gen_package': 'chromecast', | 368 'jni_gen_package': 'chromecast', |
433 }, | 369 }, |
434 'includes': [ '../build/jni_generator.gypi' ], | 370 'includes': [ '../build/jni_generator.gypi' ], |
(...skipping 25 matching lines...) Expand all Loading... |
460 }], | 396 }], |
461 ], | 397 ], |
462 }, | 398 }, |
463 { | 399 { |
464 'target_name': 'cast_shell', | 400 'target_name': 'cast_shell', |
465 'type': 'executable', | 401 'type': 'executable', |
466 'dependencies': [ | 402 'dependencies': [ |
467 'cast_shell_core', | 403 'cast_shell_core', |
468 ], | 404 ], |
469 'sources': [ | 405 'sources': [ |
470 'shell/app/cast_main.cc', | 406 'app/cast_main.cc', |
471 ], | 407 ], |
472 }, | 408 }, |
473 { | 409 { |
474 'target_name': 'cast_shell_browser_test', | 410 'target_name': 'cast_shell_browser_test', |
475 'type': '<(gtest_target_type)', | 411 'type': '<(gtest_target_type)', |
476 'dependencies': [ | 412 'dependencies': [ |
477 'cast_shell_test_support', | 413 'cast_shell_test_support', |
478 '../testing/gtest.gyp:gtest', | 414 '../testing/gtest.gyp:gtest', |
479 ], | 415 ], |
480 'defines': [ | 416 'defines': [ |
481 'HAS_OUT_OF_PROC_TEST_RUNNER', | 417 'HAS_OUT_OF_PROC_TEST_RUNNER', |
482 ], | 418 ], |
483 'sources': [ | 419 'sources': [ |
484 'shell/browser/test/chromecast_shell_browser_test.cc', | 420 'browser/test/chromecast_shell_browser_test.cc', |
485 ], | 421 ], |
486 }, | 422 }, |
487 { | 423 { |
488 'target_name': 'cast_shell_test_support', | 424 'target_name': 'cast_shell_test_support', |
489 'type': '<(component)', | 425 'type': '<(component)', |
490 'defines': [ | 426 'defines': [ |
491 'HAS_OUT_OF_PROC_TEST_RUNNER', | 427 'HAS_OUT_OF_PROC_TEST_RUNNER', |
492 ], | 428 ], |
493 'dependencies': [ | 429 'dependencies': [ |
494 'cast_shell_core', | 430 'cast_shell_core', |
495 '../content/content_shell_and_tests.gyp:content_browser_test_support
', | 431 '../content/content_shell_and_tests.gyp:content_browser_test_support
', |
496 '../testing/gtest.gyp:gtest', | 432 '../testing/gtest.gyp:gtest', |
497 ], | 433 ], |
498 'sources': [ | 434 'sources': [ |
499 'shell/browser/test/chromecast_browser_test.cc', | 435 'browser/test/chromecast_browser_test.cc', |
500 'shell/browser/test/chromecast_browser_test.h', | 436 'browser/test/chromecast_browser_test.h', |
501 'shell/browser/test/chromecast_browser_test_runner.cc', | 437 'browser/test/chromecast_browser_test_runner.cc', |
502 ], | 438 ], |
503 }, | 439 }, |
504 ], # end of targets | 440 ], # end of targets |
505 }], | 441 }], |
506 ], # end of conditions | 442 ], # end of conditions |
507 } | 443 } |
OLD | NEW |