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 gypi_values = exec_script( | 5 gypi_values = exec_script( |
6 "//build/gypi_to_gn.py", | 6 "//build/gypi_to_gn.py", |
7 [ rebase_path("ppapi_sources.gypi") ], | 7 [ rebase_path("ppapi_sources.gypi") ], |
8 "scope", | 8 "scope", |
9 [ "ppapi_sources.gypi" ]) | 9 [ "ppapi_sources.gypi" ]) |
10 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 #} | 83 #} |
84 | 84 |
85 component("ppapi_shared") { | 85 component("ppapi_shared") { |
86 sources = [ | 86 sources = [ |
87 "shared_impl/array_var.cc", | 87 "shared_impl/array_var.cc", |
88 "shared_impl/array_var.h", | 88 "shared_impl/array_var.h", |
89 "shared_impl/array_writer.cc", | 89 "shared_impl/array_writer.cc", |
90 "shared_impl/array_writer.h", | 90 "shared_impl/array_writer.h", |
91 "shared_impl/callback_tracker.cc", | 91 "shared_impl/callback_tracker.cc", |
92 "shared_impl/callback_tracker.h", | 92 "shared_impl/callback_tracker.h", |
| 93 "shared_impl/compositor_layer_data.cc", |
| 94 "shared_impl/compositor_layer_data.h", |
93 "shared_impl/dictionary_var.cc", | 95 "shared_impl/dictionary_var.cc", |
94 "shared_impl/dictionary_var.h", | 96 "shared_impl/dictionary_var.h", |
95 "shared_impl/file_io_state_manager.cc", | 97 "shared_impl/file_io_state_manager.cc", |
96 "shared_impl/file_io_state_manager.h", | 98 "shared_impl/file_io_state_manager.h", |
97 "shared_impl/file_growth.cc", | 99 "shared_impl/file_growth.cc", |
98 "shared_impl/file_growth.h", | 100 "shared_impl/file_growth.h", |
99 "shared_impl/file_path.cc", | 101 "shared_impl/file_path.cc", |
100 "shared_impl/file_path.h", | 102 "shared_impl/file_path.h", |
101 "shared_impl/file_ref_create_info.cc", | 103 "shared_impl/file_ref_create_info.cc", |
102 "shared_impl/file_ref_create_info.h", | 104 "shared_impl/file_ref_create_info.h", |
103 "shared_impl/file_ref_util.cc", | 105 "shared_impl/file_ref_util.cc", |
104 "shared_impl/file_ref_util.h", | 106 "shared_impl/file_ref_util.h", |
105 "shared_impl/file_system_util.cc", | 107 "shared_impl/file_system_util.cc", |
106 "shared_impl/file_system_util.h", | 108 "shared_impl/file_system_util.h", |
107 "shared_impl/file_type_conversion.cc", | 109 "shared_impl/file_type_conversion.cc", |
108 "shared_impl/file_type_conversion.h", | 110 "shared_impl/file_type_conversion.h", |
109 "shared_impl/host_resource.cc", | 111 "shared_impl/host_resource.cc", |
110 "shared_impl/host_resource.h", | 112 "shared_impl/host_resource.h", |
111 "shared_impl/id_assignment.cc", | 113 "shared_impl/id_assignment.cc", |
112 "shared_impl/id_assignment.h", | 114 "shared_impl/id_assignment.h", |
113 "shared_impl/media_stream_buffer.h", | 115 "shared_impl/media_stream_buffer.h", |
114 "shared_impl/media_stream_buffer_manager.cc", | 116 "shared_impl/media_stream_buffer_manager.cc", |
115 "shared_impl/media_stream_buffer_manager.h", | 117 "shared_impl/media_stream_buffer_manager.h", |
| 118 "shared_impl/media_stream_audio_track_shared.cc", |
| 119 "shared_impl/media_stream_audio_track_shared.h", |
116 "shared_impl/media_stream_video_track_shared.h", | 120 "shared_impl/media_stream_video_track_shared.h", |
117 "shared_impl/media_stream_video_track_shared.cc", | 121 "shared_impl/media_stream_video_track_shared.cc", |
118 "shared_impl/platform_file.cc", | 122 "shared_impl/platform_file.cc", |
119 "shared_impl/platform_file.h", | 123 "shared_impl/platform_file.h", |
120 "shared_impl/ppapi_constants.h", | 124 "shared_impl/ppapi_constants.h", |
121 "shared_impl/ppapi_globals.cc", | 125 "shared_impl/ppapi_globals.cc", |
122 "shared_impl/ppapi_globals.h", | 126 "shared_impl/ppapi_globals.h", |
123 "shared_impl/ppapi_nacl_plugin_args.cc", | 127 "shared_impl/ppapi_nacl_plugin_args.cc", |
124 "shared_impl/ppapi_nacl_plugin_args.h", | 128 "shared_impl/ppapi_nacl_plugin_args.h", |
125 "shared_impl/ppapi_permissions.cc", | 129 "shared_impl/ppapi_permissions.cc", |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 "thunk/ppb_audio_api.h", | 206 "thunk/ppb_audio_api.h", |
203 "thunk/ppb_audio_config_api.h", | 207 "thunk/ppb_audio_config_api.h", |
204 "thunk/ppb_audio_config_thunk.cc", | 208 "thunk/ppb_audio_config_thunk.cc", |
205 "thunk/ppb_audio_buffer_api.h", | 209 "thunk/ppb_audio_buffer_api.h", |
206 "thunk/ppb_audio_buffer_thunk.cc", | 210 "thunk/ppb_audio_buffer_thunk.cc", |
207 "thunk/ppb_audio_input_api.h", | 211 "thunk/ppb_audio_input_api.h", |
208 "thunk/ppb_audio_thunk.cc", | 212 "thunk/ppb_audio_thunk.cc", |
209 "thunk/ppb_broker_api.h", | 213 "thunk/ppb_broker_api.h", |
210 "thunk/ppb_browser_font_trusted_api.h", | 214 "thunk/ppb_browser_font_trusted_api.h", |
211 "thunk/ppb_buffer_api.h", | 215 "thunk/ppb_buffer_api.h", |
| 216 "thunk/ppb_compositor_api.h", |
| 217 "thunk/ppb_compositor_layer_api.h", |
| 218 "thunk/ppb_compositor_layer_thunk.cc", |
| 219 "thunk/ppb_compositor_thunk.cc", |
212 "thunk/ppb_console_thunk.cc", | 220 "thunk/ppb_console_thunk.cc", |
213 "thunk/ppb_cursor_control_thunk.cc", | 221 "thunk/ppb_cursor_control_thunk.cc", |
214 "thunk/ppb_device_ref_api.h", | 222 "thunk/ppb_device_ref_api.h", |
215 "thunk/ppb_device_ref_dev_thunk.cc", | 223 "thunk/ppb_device_ref_dev_thunk.cc", |
216 "thunk/ppb_ext_crx_file_system_private_thunk.cc", | 224 "thunk/ppb_ext_crx_file_system_private_thunk.cc", |
217 "thunk/ppb_file_chooser_api.h", | 225 "thunk/ppb_file_chooser_api.h", |
218 "thunk/ppb_file_chooser_dev_thunk.cc", | 226 "thunk/ppb_file_chooser_dev_thunk.cc", |
219 "thunk/ppb_file_chooser_trusted_thunk.cc", | 227 "thunk/ppb_file_chooser_trusted_thunk.cc", |
220 "thunk/ppb_file_io_api.h", | 228 "thunk/ppb_file_io_api.h", |
221 "thunk/ppb_file_io_private_thunk.cc", | 229 "thunk/ppb_file_io_private_thunk.cc", |
(...skipping 20 matching lines...) Expand all Loading... |
242 "thunk/ppb_graphics_3d_api.h", | 250 "thunk/ppb_graphics_3d_api.h", |
243 "thunk/ppb_graphics_3d_thunk.cc", | 251 "thunk/ppb_graphics_3d_thunk.cc", |
244 "thunk/ppb_host_resolver_api.h", | 252 "thunk/ppb_host_resolver_api.h", |
245 "thunk/ppb_host_resolver_thunk.cc", | 253 "thunk/ppb_host_resolver_thunk.cc", |
246 "thunk/ppb_host_resolver_private_api.h", | 254 "thunk/ppb_host_resolver_private_api.h", |
247 "thunk/ppb_host_resolver_private_thunk.cc", | 255 "thunk/ppb_host_resolver_private_thunk.cc", |
248 "thunk/ppb_image_data_api.h", | 256 "thunk/ppb_image_data_api.h", |
249 "thunk/ppb_image_data_thunk.cc", | 257 "thunk/ppb_image_data_thunk.cc", |
250 "thunk/ppb_input_event_api.h", | 258 "thunk/ppb_input_event_api.h", |
251 "thunk/ppb_input_event_thunk.cc", | 259 "thunk/ppb_input_event_thunk.cc", |
| 260 "thunk/ppb_input_event_private_thunk.cc", |
252 "thunk/ppb_instance_api.h", | 261 "thunk/ppb_instance_api.h", |
253 "thunk/ppb_instance_private_thunk.cc", | 262 "thunk/ppb_instance_private_thunk.cc", |
254 "thunk/ppb_instance_thunk.cc", | 263 "thunk/ppb_instance_thunk.cc", |
255 "thunk/ppb_isolated_file_system_private_api.h", | 264 "thunk/ppb_isolated_file_system_private_api.h", |
256 "thunk/ppb_isolated_file_system_private_thunk.cc", | 265 "thunk/ppb_isolated_file_system_private_thunk.cc", |
257 "thunk/ppb_media_stream_audio_track_api.h", | 266 "thunk/ppb_media_stream_audio_track_api.h", |
258 "thunk/ppb_media_stream_audio_track_thunk.cc", | 267 "thunk/ppb_media_stream_audio_track_thunk.cc", |
259 "thunk/ppb_media_stream_video_track_api.h", | 268 "thunk/ppb_media_stream_video_track_api.h", |
260 "thunk/ppb_media_stream_video_track_thunk.cc", | 269 "thunk/ppb_media_stream_video_track_thunk.cc", |
261 "thunk/ppb_message_loop_api.h", | 270 "thunk/ppb_message_loop_api.h", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 "thunk/ppb_url_loader_api.h", | 306 "thunk/ppb_url_loader_api.h", |
298 "thunk/ppb_url_loader_thunk.cc", | 307 "thunk/ppb_url_loader_thunk.cc", |
299 "thunk/ppb_url_loader_trusted_thunk.cc", | 308 "thunk/ppb_url_loader_trusted_thunk.cc", |
300 "thunk/ppb_url_request_info_api.h", | 309 "thunk/ppb_url_request_info_api.h", |
301 "thunk/ppb_url_request_info_thunk.cc", | 310 "thunk/ppb_url_request_info_thunk.cc", |
302 "thunk/ppb_url_response_info_api.h", | 311 "thunk/ppb_url_response_info_api.h", |
303 "thunk/ppb_url_response_info_thunk.cc", | 312 "thunk/ppb_url_response_info_thunk.cc", |
304 "thunk/ppb_var_array_thunk.cc", | 313 "thunk/ppb_var_array_thunk.cc", |
305 "thunk/ppb_var_dictionary_thunk.cc", | 314 "thunk/ppb_var_dictionary_thunk.cc", |
306 "thunk/ppb_video_capture_api.h", | 315 "thunk/ppb_video_capture_api.h", |
| 316 "thunk/ppb_video_capture_thunk.cc", |
307 "thunk/ppb_video_decoder_api.h", | 317 "thunk/ppb_video_decoder_api.h", |
308 "thunk/ppb_video_decoder_dev_api.h", | 318 "thunk/ppb_video_decoder_dev_api.h", |
| 319 "thunk/ppb_video_decoder_thunk.cc", |
309 "thunk/ppb_video_destination_private_api.h", | 320 "thunk/ppb_video_destination_private_api.h", |
310 "thunk/ppb_video_destination_private_thunk.cc", | 321 "thunk/ppb_video_destination_private_thunk.cc", |
311 "thunk/ppb_video_frame_api.h", | 322 "thunk/ppb_video_frame_api.h", |
312 "thunk/ppb_video_frame_thunk.cc", | 323 "thunk/ppb_video_frame_thunk.cc", |
313 "thunk/ppb_video_source_private_api.h", | 324 "thunk/ppb_video_source_private_api.h", |
314 "thunk/ppb_video_source_private_thunk.cc", | 325 "thunk/ppb_video_source_private_thunk.cc", |
315 "thunk/ppb_view_api.h", | 326 "thunk/ppb_view_api.h", |
316 "thunk/ppb_view_dev_thunk.cc", | 327 "thunk/ppb_view_dev_thunk.cc", |
317 "thunk/ppb_view_thunk.cc", | 328 "thunk/ppb_view_thunk.cc", |
318 "thunk/ppb_websocket_api.h", | 329 "thunk/ppb_websocket_api.h", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 "thunk/ppb_flash_fullscreen_thunk.cc", | 361 "thunk/ppb_flash_fullscreen_thunk.cc", |
351 "thunk/ppb_flash_menu_thunk.cc", | 362 "thunk/ppb_flash_menu_thunk.cc", |
352 "thunk/ppb_flash_thunk.cc", | 363 "thunk/ppb_flash_thunk.cc", |
353 "thunk/ppb_flash_message_loop_thunk.cc", | 364 "thunk/ppb_flash_message_loop_thunk.cc", |
354 "thunk/ppb_gles_chromium_texture_mapping_thunk.cc", | 365 "thunk/ppb_gles_chromium_texture_mapping_thunk.cc", |
355 "thunk/ppb_pdf_thunk.cc", | 366 "thunk/ppb_pdf_thunk.cc", |
356 "thunk/ppb_platform_verification_private_thunk.cc", | 367 "thunk/ppb_platform_verification_private_thunk.cc", |
357 "thunk/ppb_scrollbar_thunk.cc", | 368 "thunk/ppb_scrollbar_thunk.cc", |
358 "thunk/ppb_talk_private_thunk.cc", | 369 "thunk/ppb_talk_private_thunk.cc", |
359 "thunk/ppb_url_util_thunk.cc", | 370 "thunk/ppb_url_util_thunk.cc", |
360 "thunk/ppb_video_capture_thunk.cc", | |
361 "thunk/ppb_video_decoder_dev_thunk.cc", | 371 "thunk/ppb_video_decoder_dev_thunk.cc", |
362 ] | 372 ] |
363 } | 373 } |
364 | 374 |
365 # We exclude a few more things for nacl_win64, to avoid pulling in more | 375 # We exclude a few more things for nacl_win64, to avoid pulling in more |
366 # dependencies. | 376 # dependencies. |
367 if (is_win && cpu_arch == "x64" && current_toolchain != default_toolchain) { | 377 if (is_win && cpu_arch == "x64" && current_toolchain != default_toolchain) { |
368 sources -= [ | 378 sources -= [ |
369 "shared_impl/ppb_audio_shared.cc", | 379 "shared_impl/ppb_audio_shared.cc", |
370 "shared_impl/ppb_graphics_3d_shared.cc", | 380 "shared_impl/ppb_graphics_3d_shared.cc", |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 "proxy/var_serialization_rules.h", | 445 "proxy/var_serialization_rules.h", |
436 ] | 446 ] |
437 | 447 |
438 deps = [ | 448 deps = [ |
439 ":ppapi_c", | 449 ":ppapi_c", |
440 ":ppapi_shared", | 450 ":ppapi_shared", |
441 "//base", | 451 "//base", |
442 "//gpu/ipc", | 452 "//gpu/ipc", |
443 "//ipc", | 453 "//ipc", |
444 "//skia", | 454 "//skia", |
| 455 "//ui/events/ipc", |
445 ] | 456 ] |
446 | 457 |
447 if (is_nacl) { | 458 if (is_nacl) { |
448 sources -= [ "proxy/serialized_flash_menu.cc" ] | 459 sources -= [ "proxy/serialized_flash_menu.cc" ] |
449 } | 460 } |
450 } | 461 } |
451 | 462 |
452 component("ppapi_proxy") { | 463 component("ppapi_proxy") { |
453 sources = [ | 464 sources = [ |
454 # Take some standalone files from the C++ wrapper allowing us to more | 465 # Take some standalone files from the C++ wrapper allowing us to more |
455 # easily make async callbacks in the proxy. We can"t depend on the | 466 # easily make async callbacks in the proxy. We can"t depend on the |
456 # full C++ wrappers at this layer since the C++ wrappers expect | 467 # full C++ wrappers at this layer since the C++ wrappers expect |
457 # symbols defining the globals for "being a plugin" which we are not. | 468 # symbols defining the globals for "being a plugin" which we are not. |
458 # These callback files are standalone. | 469 # These callback files are standalone. |
459 "cpp/completion_callback.h", | 470 "cpp/completion_callback.h", |
460 "utility/completion_callback_factory.h", | 471 "utility/completion_callback_factory.h", |
461 | 472 |
462 "proxy/audio_buffer_resource.cc", | 473 "proxy/audio_buffer_resource.cc", |
463 "proxy/audio_buffer_resource.h", | 474 "proxy/audio_buffer_resource.h", |
464 "proxy/broker_resource.cc", | 475 "proxy/broker_resource.cc", |
465 "proxy/broker_resource.h", | 476 "proxy/broker_resource.h", |
| 477 "proxy/compositor_layer_resource.cc", |
| 478 "proxy/compositor_layer_resource.h", |
| 479 "proxy/compositor_resource.cc", |
| 480 "proxy/compositor_resource.h", |
466 "proxy/connection.h", | 481 "proxy/connection.h", |
467 "proxy/dispatcher.cc", | 482 "proxy/dispatcher.cc", |
468 "proxy/dispatcher.h", | 483 "proxy/dispatcher.h", |
469 "proxy/enter_proxy.h", | 484 "proxy/enter_proxy.h", |
470 "proxy/error_conversion.cc", | 485 "proxy/error_conversion.cc", |
471 "proxy/error_conversion.h", | 486 "proxy/error_conversion.h", |
472 "proxy/file_chooser_resource.cc", | 487 "proxy/file_chooser_resource.cc", |
473 "proxy/file_chooser_resource.h", | 488 "proxy/file_chooser_resource.h", |
474 "proxy/file_io_resource.cc", | 489 "proxy/file_io_resource.cc", |
475 "proxy/file_io_resource.h", | 490 "proxy/file_io_resource.h", |
(...skipping 21 matching lines...) Expand all Loading... |
497 "proxy/interface_proxy.h", | 512 "proxy/interface_proxy.h", |
498 "proxy/isolated_file_system_private_resource.cc", | 513 "proxy/isolated_file_system_private_resource.cc", |
499 "proxy/isolated_file_system_private_resource.h", | 514 "proxy/isolated_file_system_private_resource.h", |
500 "proxy/locking_resource_releaser.h", | 515 "proxy/locking_resource_releaser.h", |
501 "proxy/media_stream_audio_track_resource.cc", | 516 "proxy/media_stream_audio_track_resource.cc", |
502 "proxy/media_stream_audio_track_resource.h", | 517 "proxy/media_stream_audio_track_resource.h", |
503 "proxy/media_stream_track_resource_base.cc", | 518 "proxy/media_stream_track_resource_base.cc", |
504 "proxy/media_stream_track_resource_base.h", | 519 "proxy/media_stream_track_resource_base.h", |
505 "proxy/media_stream_video_track_resource.cc", | 520 "proxy/media_stream_video_track_resource.cc", |
506 "proxy/media_stream_video_track_resource.h", | 521 "proxy/media_stream_video_track_resource.h", |
| 522 "proxy/message_handler.cc", |
| 523 "proxy/message_handler.h", |
507 "proxy/net_address_resource.cc", | 524 "proxy/net_address_resource.cc", |
508 "proxy/net_address_resource.h", | 525 "proxy/net_address_resource.h", |
509 "proxy/network_list_resource.cc", | 526 "proxy/network_list_resource.cc", |
510 "proxy/network_list_resource.h", | 527 "proxy/network_list_resource.h", |
511 "proxy/network_monitor_resource.cc", | 528 "proxy/network_monitor_resource.cc", |
512 "proxy/network_monitor_resource.h", | 529 "proxy/network_monitor_resource.h", |
513 "proxy/network_proxy_resource.cc", | 530 "proxy/network_proxy_resource.cc", |
514 "proxy/network_proxy_resource.h", | 531 "proxy/network_proxy_resource.h", |
515 "proxy/output_protection_resource.cc", | 532 "proxy/output_protection_resource.cc", |
516 "proxy/output_protection_resource.h", | 533 "proxy/output_protection_resource.h", |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 "proxy/ppb_flash_message_loop_proxy.cc", | 696 "proxy/ppb_flash_message_loop_proxy.cc", |
680 "proxy/ppb_flash_message_loop_proxy.h", | 697 "proxy/ppb_flash_message_loop_proxy.h", |
681 "proxy/ppb_video_decoder_proxy.cc", | 698 "proxy/ppb_video_decoder_proxy.cc", |
682 "proxy/ppb_video_decoder_proxy.h", | 699 "proxy/ppb_video_decoder_proxy.h", |
683 "proxy/ppp_content_decryptor_private_proxy.cc", | 700 "proxy/ppp_content_decryptor_private_proxy.cc", |
684 "proxy/ppp_content_decryptor_private_proxy.h", | 701 "proxy/ppp_content_decryptor_private_proxy.h", |
685 "proxy/ppp_instance_private_proxy.cc", | 702 "proxy/ppp_instance_private_proxy.cc", |
686 "proxy/ppp_instance_private_proxy.h", | 703 "proxy/ppp_instance_private_proxy.h", |
687 "proxy/ppp_video_decoder_proxy.cc", | 704 "proxy/ppp_video_decoder_proxy.cc", |
688 "proxy/ppp_video_decoder_proxy.h", | 705 "proxy/ppp_video_decoder_proxy.h", |
| 706 "proxy/video_decoder_resource.cc", |
| 707 "proxy/video_decoder_resource.h", |
689 "proxy/talk_resource.cc", | 708 "proxy/talk_resource.cc", |
690 "proxy/talk_resource.h", | 709 "proxy/talk_resource.h", |
691 "proxy/video_capture_resource.cc", | 710 "proxy/video_capture_resource.cc", |
692 "proxy/video_capture_resource.h", | 711 "proxy/video_capture_resource.h", |
693 ] | 712 ] |
694 } | 713 } |
695 | 714 |
696 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] | 715 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] |
697 | 716 |
698 deps = [ | 717 deps = [ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 ":ppapi_shared", | 767 ":ppapi_shared", |
749 "//base", | 768 "//base", |
750 "//ipc", | 769 "//ipc", |
751 "//ui/surface", | 770 "//ui/surface", |
752 "//url", | 771 "//url", |
753 #'../media/media.gyp:shared_memory_support', TODO(GYP) | 772 #'../media/media.gyp:shared_memory_support', TODO(GYP) |
754 ] | 773 ] |
755 } | 774 } |
756 | 775 |
757 # TODO(GYP) other targets from ppapi_tests.gyp | 776 # TODO(GYP) other targets from ppapi_tests.gyp |
OLD | NEW |