OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 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. |
| 4 |
| 5 source_set("thunk") { |
| 6 sources = [ |
| 7 "enter.cc", |
| 8 "enter.h", |
| 9 "ppb_audio_api.h", |
| 10 "ppb_audio_config_api.h", |
| 11 "ppb_audio_config_thunk.cc", |
| 12 "ppb_audio_buffer_api.h", |
| 13 "ppb_audio_buffer_thunk.cc", |
| 14 "ppb_audio_input_api.h", |
| 15 "ppb_audio_thunk.cc", |
| 16 "ppb_broker_api.h", |
| 17 "ppb_browser_font_trusted_api.h", |
| 18 "ppb_buffer_api.h", |
| 19 "ppb_compositor_api.h", |
| 20 "ppb_compositor_layer_api.h", |
| 21 "ppb_compositor_layer_thunk.cc", |
| 22 "ppb_compositor_thunk.cc", |
| 23 "ppb_console_thunk.cc", |
| 24 "ppb_cursor_control_thunk.cc", |
| 25 "ppb_device_ref_api.h", |
| 26 "ppb_device_ref_dev_thunk.cc", |
| 27 "ppb_ext_crx_file_system_private_thunk.cc", |
| 28 "ppb_file_chooser_api.h", |
| 29 "ppb_file_chooser_dev_thunk.cc", |
| 30 "ppb_file_chooser_trusted_thunk.cc", |
| 31 "ppb_file_io_api.h", |
| 32 "ppb_file_io_private_thunk.cc", |
| 33 "ppb_file_io_thunk.cc", |
| 34 "ppb_file_mapping_thunk.cc", |
| 35 "ppb_file_ref_api.h", |
| 36 "ppb_file_ref_thunk.cc", |
| 37 "ppb_file_system_api.h", |
| 38 "ppb_file_system_thunk.cc", |
| 39 "ppb_find_private_thunk.cc", |
| 40 "ppb_flash_clipboard_api.h", |
| 41 "ppb_flash_drm_api.h", |
| 42 "ppb_flash_font_file_api.h", |
| 43 "ppb_flash_fullscreen_api.h", |
| 44 "ppb_flash_functions_api.h", |
| 45 "ppb_flash_menu_api.h", |
| 46 "ppb_flash_message_loop_api.h", |
| 47 "ppb_flash_print_thunk.cc", |
| 48 "ppb_fullscreen_thunk.cc", |
| 49 "ppb_gamepad_api.h", |
| 50 "ppb_gamepad_thunk.cc", |
| 51 "ppb_graphics_2d_api.h", |
| 52 "ppb_graphics_2d_thunk.cc", |
| 53 "ppb_graphics_3d_api.h", |
| 54 "ppb_graphics_3d_thunk.cc", |
| 55 "ppb_host_resolver_api.h", |
| 56 "ppb_host_resolver_thunk.cc", |
| 57 "ppb_host_resolver_private_api.h", |
| 58 "ppb_host_resolver_private_thunk.cc", |
| 59 "ppb_image_data_api.h", |
| 60 "ppb_image_data_thunk.cc", |
| 61 "ppb_input_event_api.h", |
| 62 "ppb_input_event_thunk.cc", |
| 63 "ppb_input_event_private_thunk.cc", |
| 64 "ppb_instance_api.h", |
| 65 "ppb_instance_private_thunk.cc", |
| 66 "ppb_instance_thunk.cc", |
| 67 "ppb_isolated_file_system_private_api.h", |
| 68 "ppb_isolated_file_system_private_thunk.cc", |
| 69 "ppb_media_stream_audio_track_api.h", |
| 70 "ppb_media_stream_audio_track_thunk.cc", |
| 71 "ppb_media_stream_video_track_api.h", |
| 72 "ppb_media_stream_video_track_thunk.cc", |
| 73 "ppb_message_loop_api.h", |
| 74 "ppb_messaging_thunk.cc", |
| 75 "ppb_mouse_cursor_thunk.cc", |
| 76 "ppb_mouse_lock_thunk.cc", |
| 77 "ppb_net_address_api.h", |
| 78 "ppb_net_address_thunk.cc", |
| 79 "ppb_network_list_api.h", |
| 80 "ppb_network_list_thunk.cc", |
| 81 "ppb_network_monitor_api.h", |
| 82 "ppb_network_monitor_thunk.cc", |
| 83 "ppb_network_proxy_api.h", |
| 84 "ppb_network_proxy_thunk.cc", |
| 85 "ppb_output_protection_api.h", |
| 86 "ppb_output_protection_private_thunk.cc", |
| 87 "ppb_pdf_api.h", |
| 88 "ppb_platform_verification_api.h", |
| 89 "ppb_printing_api.h", |
| 90 "ppb_printing_dev_thunk.cc", |
| 91 "ppb_scrollbar_api.h", |
| 92 "ppb_talk_private_api.h", |
| 93 "ppb_tcp_server_socket_private_api.h", |
| 94 "ppb_tcp_server_socket_private_thunk.cc", |
| 95 "ppb_tcp_socket_api.h", |
| 96 "ppb_tcp_socket_private_api.h", |
| 97 "ppb_tcp_socket_private_thunk.cc", |
| 98 "ppb_tcp_socket_thunk.cc", |
| 99 "ppb_text_input_thunk.cc", |
| 100 "ppb_truetype_font_api.h", |
| 101 "ppb_truetype_font_singleton_api.h", |
| 102 "ppb_truetype_font_dev_thunk.cc", |
| 103 "ppb_udp_socket_api.h", |
| 104 "ppb_udp_socket_thunk.cc", |
| 105 "ppb_udp_socket_private_api.h", |
| 106 "ppb_udp_socket_private_thunk.cc", |
| 107 "ppb_uma_private_thunk.cc", |
| 108 "ppb_uma_singleton_api.h", |
| 109 "ppb_url_loader_api.h", |
| 110 "ppb_url_loader_thunk.cc", |
| 111 "ppb_url_loader_trusted_thunk.cc", |
| 112 "ppb_url_request_info_api.h", |
| 113 "ppb_url_request_info_thunk.cc", |
| 114 "ppb_url_response_info_api.h", |
| 115 "ppb_url_response_info_thunk.cc", |
| 116 "ppb_var_array_thunk.cc", |
| 117 "ppb_var_dictionary_thunk.cc", |
| 118 "ppb_video_capture_api.h", |
| 119 "ppb_video_capture_thunk.cc", |
| 120 "ppb_video_decoder_api.h", |
| 121 "ppb_video_decoder_dev_api.h", |
| 122 "ppb_video_decoder_thunk.cc", |
| 123 "ppb_video_destination_private_api.h", |
| 124 "ppb_video_destination_private_thunk.cc", |
| 125 "ppb_video_encoder_api.h", |
| 126 "ppb_video_encoder_thunk.cc", |
| 127 "ppb_video_frame_api.h", |
| 128 "ppb_video_frame_thunk.cc", |
| 129 "ppb_video_source_private_api.h", |
| 130 "ppb_video_source_private_thunk.cc", |
| 131 "ppb_view_api.h", |
| 132 "ppb_view_dev_thunk.cc", |
| 133 "ppb_view_thunk.cc", |
| 134 "ppb_websocket_api.h", |
| 135 "ppb_websocket_thunk.cc", |
| 136 "ppb_widget_api.h", |
| 137 "ppb_widget_dev_thunk.cc", |
| 138 "ppb_x509_certificate_private_api.h", |
| 139 "ppb_x509_certificate_private_thunk.cc", |
| 140 "ppb_zoom_dev_thunk.cc", |
| 141 "thunk.h", |
| 142 ] |
| 143 |
| 144 if (!is_nacl) { |
| 145 sources += [ |
| 146 "ppb_audio_input_dev_thunk.cc", |
| 147 "ppb_broker_thunk.cc", |
| 148 "ppb_browser_font_trusted_thunk.cc", |
| 149 "ppb_buffer_thunk.cc", |
| 150 "ppb_content_decryptor_private_thunk.cc", |
| 151 "ppb_char_set_thunk.cc", |
| 152 "ppb_flash_clipboard_thunk.cc", |
| 153 "ppb_flash_device_id_thunk.cc", |
| 154 "ppb_flash_drm_thunk.cc", |
| 155 "ppb_flash_file_fileref_thunk.cc", |
| 156 "ppb_flash_file_modulelocal_thunk.cc", |
| 157 "ppb_flash_font_file_thunk.cc", |
| 158 "ppb_flash_fullscreen_thunk.cc", |
| 159 "ppb_flash_menu_thunk.cc", |
| 160 "ppb_flash_thunk.cc", |
| 161 "ppb_flash_message_loop_thunk.cc", |
| 162 "ppb_gles_chromium_texture_mapping_thunk.cc", |
| 163 "ppb_pdf_thunk.cc", |
| 164 "ppb_platform_verification_private_thunk.cc", |
| 165 "ppb_scrollbar_thunk.cc", |
| 166 "ppb_talk_private_thunk.cc", |
| 167 "ppb_url_util_thunk.cc", |
| 168 "ppb_video_decoder_dev_thunk.cc", |
| 169 ] |
| 170 } |
| 171 |
| 172 # We exclude a few more things for nacl_win64, to avoid pulling in more |
| 173 # dependencies. |
| 174 # TODO(GYP) this isn't correct. This should only be specifically for the |
| 175 # nacl_win64 build (cross-compiled for a 32-bit Chrome), rather than all |
| 176 # 64-bit builds. |
| 177 # See also //ppapi/shared_impl |
| 178 if (is_win && cpu_arch == "x64" && current_toolchain != default_toolchain) { |
| 179 sources += [ |
| 180 "ppb_graphics_3d_thunk.cc", |
| 181 "ppb_host_resolver_private_thunk.cc", |
| 182 "ppb_tcp_server_socket_private_thunk.cc", |
| 183 "ppb_tcp_socket_private_thunk.cc", |
| 184 "ppb_udp_socket_private_thunk.cc", |
| 185 "ppb_x509_certificate_private_thunk.cc", |
| 186 ] |
| 187 } |
| 188 |
| 189 defines = [ "PPAPI_THUNK_IMPLEMENTATION" ] |
| 190 } |
OLD | NEW |