OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 source_set("thunk") { | 5 source_set("thunk") { |
6 sources = [ | 6 sources = [ |
7 "enter.cc", | 7 "enter.cc", |
8 "enter.h", | 8 "enter.h", |
9 "ppb_audio_api.h", | 9 "ppb_audio_api.h", |
| 10 "ppb_audio_buffer_api.h", |
| 11 "ppb_audio_buffer_thunk.cc", |
10 "ppb_audio_config_api.h", | 12 "ppb_audio_config_api.h", |
11 "ppb_audio_config_thunk.cc", | 13 "ppb_audio_config_thunk.cc", |
12 "ppb_audio_buffer_api.h", | |
13 "ppb_audio_buffer_thunk.cc", | |
14 "ppb_audio_input_api.h", | 14 "ppb_audio_input_api.h", |
15 "ppb_audio_thunk.cc", | 15 "ppb_audio_thunk.cc", |
16 "ppb_broker_api.h", | 16 "ppb_broker_api.h", |
17 "ppb_browser_font_trusted_api.h", | 17 "ppb_browser_font_trusted_api.h", |
18 "ppb_buffer_api.h", | 18 "ppb_buffer_api.h", |
19 "ppb_compositor_api.h", | 19 "ppb_compositor_api.h", |
20 "ppb_compositor_layer_api.h", | 20 "ppb_compositor_layer_api.h", |
21 "ppb_compositor_layer_thunk.cc", | 21 "ppb_compositor_layer_thunk.cc", |
22 "ppb_compositor_thunk.cc", | 22 "ppb_compositor_thunk.cc", |
23 "ppb_console_thunk.cc", | 23 "ppb_console_thunk.cc", |
(...skipping 22 matching lines...) Expand all Loading... |
46 "ppb_flash_message_loop_api.h", | 46 "ppb_flash_message_loop_api.h", |
47 "ppb_flash_print_thunk.cc", | 47 "ppb_flash_print_thunk.cc", |
48 "ppb_fullscreen_thunk.cc", | 48 "ppb_fullscreen_thunk.cc", |
49 "ppb_gamepad_api.h", | 49 "ppb_gamepad_api.h", |
50 "ppb_gamepad_thunk.cc", | 50 "ppb_gamepad_thunk.cc", |
51 "ppb_graphics_2d_api.h", | 51 "ppb_graphics_2d_api.h", |
52 "ppb_graphics_2d_thunk.cc", | 52 "ppb_graphics_2d_thunk.cc", |
53 "ppb_graphics_3d_api.h", | 53 "ppb_graphics_3d_api.h", |
54 "ppb_graphics_3d_thunk.cc", | 54 "ppb_graphics_3d_thunk.cc", |
55 "ppb_host_resolver_api.h", | 55 "ppb_host_resolver_api.h", |
56 "ppb_host_resolver_thunk.cc", | |
57 "ppb_host_resolver_private_api.h", | 56 "ppb_host_resolver_private_api.h", |
58 "ppb_host_resolver_private_thunk.cc", | 57 "ppb_host_resolver_private_thunk.cc", |
| 58 "ppb_host_resolver_thunk.cc", |
59 "ppb_image_data_api.h", | 59 "ppb_image_data_api.h", |
60 "ppb_image_data_thunk.cc", | 60 "ppb_image_data_thunk.cc", |
61 "ppb_input_event_api.h", | 61 "ppb_input_event_api.h", |
| 62 "ppb_input_event_private_thunk.cc", |
62 "ppb_input_event_thunk.cc", | 63 "ppb_input_event_thunk.cc", |
63 "ppb_input_event_private_thunk.cc", | |
64 "ppb_instance_api.h", | 64 "ppb_instance_api.h", |
65 "ppb_instance_private_thunk.cc", | 65 "ppb_instance_private_thunk.cc", |
66 "ppb_instance_thunk.cc", | 66 "ppb_instance_thunk.cc", |
67 "ppb_isolated_file_system_private_api.h", | 67 "ppb_isolated_file_system_private_api.h", |
68 "ppb_isolated_file_system_private_thunk.cc", | 68 "ppb_isolated_file_system_private_thunk.cc", |
69 "ppb_media_stream_audio_track_api.h", | 69 "ppb_media_stream_audio_track_api.h", |
70 "ppb_media_stream_audio_track_thunk.cc", | 70 "ppb_media_stream_audio_track_thunk.cc", |
71 "ppb_media_stream_video_track_api.h", | 71 "ppb_media_stream_video_track_api.h", |
72 "ppb_media_stream_video_track_thunk.cc", | 72 "ppb_media_stream_video_track_thunk.cc", |
73 "ppb_message_loop_api.h", | 73 "ppb_message_loop_api.h", |
(...skipping 17 matching lines...) Expand all Loading... |
91 "ppb_scrollbar_api.h", | 91 "ppb_scrollbar_api.h", |
92 "ppb_talk_private_api.h", | 92 "ppb_talk_private_api.h", |
93 "ppb_tcp_server_socket_private_api.h", | 93 "ppb_tcp_server_socket_private_api.h", |
94 "ppb_tcp_server_socket_private_thunk.cc", | 94 "ppb_tcp_server_socket_private_thunk.cc", |
95 "ppb_tcp_socket_api.h", | 95 "ppb_tcp_socket_api.h", |
96 "ppb_tcp_socket_private_api.h", | 96 "ppb_tcp_socket_private_api.h", |
97 "ppb_tcp_socket_private_thunk.cc", | 97 "ppb_tcp_socket_private_thunk.cc", |
98 "ppb_tcp_socket_thunk.cc", | 98 "ppb_tcp_socket_thunk.cc", |
99 "ppb_text_input_thunk.cc", | 99 "ppb_text_input_thunk.cc", |
100 "ppb_truetype_font_api.h", | 100 "ppb_truetype_font_api.h", |
| 101 "ppb_truetype_font_dev_thunk.cc", |
101 "ppb_truetype_font_singleton_api.h", | 102 "ppb_truetype_font_singleton_api.h", |
102 "ppb_truetype_font_dev_thunk.cc", | |
103 "ppb_udp_socket_api.h", | 103 "ppb_udp_socket_api.h", |
104 "ppb_udp_socket_thunk.cc", | |
105 "ppb_udp_socket_private_api.h", | 104 "ppb_udp_socket_private_api.h", |
106 "ppb_udp_socket_private_thunk.cc", | 105 "ppb_udp_socket_private_thunk.cc", |
| 106 "ppb_udp_socket_thunk.cc", |
107 "ppb_uma_private_thunk.cc", | 107 "ppb_uma_private_thunk.cc", |
108 "ppb_uma_singleton_api.h", | 108 "ppb_uma_singleton_api.h", |
109 "ppb_url_loader_api.h", | 109 "ppb_url_loader_api.h", |
110 "ppb_url_loader_thunk.cc", | 110 "ppb_url_loader_thunk.cc", |
111 "ppb_url_loader_trusted_thunk.cc", | 111 "ppb_url_loader_trusted_thunk.cc", |
112 "ppb_url_request_info_api.h", | 112 "ppb_url_request_info_api.h", |
113 "ppb_url_request_info_thunk.cc", | 113 "ppb_url_request_info_thunk.cc", |
114 "ppb_url_response_info_api.h", | 114 "ppb_url_response_info_api.h", |
115 "ppb_url_response_info_thunk.cc", | 115 "ppb_url_response_info_thunk.cc", |
116 "ppb_var_array_thunk.cc", | 116 "ppb_var_array_thunk.cc", |
(...skipping 23 matching lines...) Expand all Loading... |
140 "ppb_zoom_dev_thunk.cc", | 140 "ppb_zoom_dev_thunk.cc", |
141 "thunk.h", | 141 "thunk.h", |
142 ] | 142 ] |
143 | 143 |
144 if (!is_nacl) { | 144 if (!is_nacl) { |
145 sources += [ | 145 sources += [ |
146 "ppb_audio_input_dev_thunk.cc", | 146 "ppb_audio_input_dev_thunk.cc", |
147 "ppb_broker_thunk.cc", | 147 "ppb_broker_thunk.cc", |
148 "ppb_browser_font_trusted_thunk.cc", | 148 "ppb_browser_font_trusted_thunk.cc", |
149 "ppb_buffer_thunk.cc", | 149 "ppb_buffer_thunk.cc", |
| 150 "ppb_char_set_thunk.cc", |
150 "ppb_content_decryptor_private_thunk.cc", | 151 "ppb_content_decryptor_private_thunk.cc", |
151 "ppb_char_set_thunk.cc", | |
152 "ppb_flash_clipboard_thunk.cc", | 152 "ppb_flash_clipboard_thunk.cc", |
153 "ppb_flash_device_id_thunk.cc", | 153 "ppb_flash_device_id_thunk.cc", |
154 "ppb_flash_drm_thunk.cc", | 154 "ppb_flash_drm_thunk.cc", |
155 "ppb_flash_file_fileref_thunk.cc", | 155 "ppb_flash_file_fileref_thunk.cc", |
156 "ppb_flash_file_modulelocal_thunk.cc", | 156 "ppb_flash_file_modulelocal_thunk.cc", |
157 "ppb_flash_font_file_thunk.cc", | 157 "ppb_flash_font_file_thunk.cc", |
158 "ppb_flash_fullscreen_thunk.cc", | 158 "ppb_flash_fullscreen_thunk.cc", |
159 "ppb_flash_menu_thunk.cc", | 159 "ppb_flash_menu_thunk.cc", |
| 160 "ppb_flash_message_loop_thunk.cc", |
160 "ppb_flash_thunk.cc", | 161 "ppb_flash_thunk.cc", |
161 "ppb_flash_message_loop_thunk.cc", | |
162 "ppb_gles_chromium_texture_mapping_thunk.cc", | 162 "ppb_gles_chromium_texture_mapping_thunk.cc", |
163 "ppb_pdf_thunk.cc", | 163 "ppb_pdf_thunk.cc", |
164 "ppb_platform_verification_private_thunk.cc", | 164 "ppb_platform_verification_private_thunk.cc", |
165 "ppb_scrollbar_thunk.cc", | 165 "ppb_scrollbar_thunk.cc", |
166 "ppb_talk_private_thunk.cc", | 166 "ppb_talk_private_thunk.cc", |
167 "ppb_url_util_thunk.cc", | 167 "ppb_url_util_thunk.cc", |
168 "ppb_video_decoder_dev_thunk.cc", | 168 "ppb_video_decoder_dev_thunk.cc", |
169 ] | 169 ] |
170 } | 170 } |
171 | 171 |
172 # We exclude a few more things for nacl_win64, to avoid pulling in more | 172 # We exclude a few more things for nacl_win64, to avoid pulling in more |
173 # dependencies. | 173 # dependencies. |
174 # TODO(GYP) this isn't correct. This should only be specifically for the | 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 | 175 # nacl_win64 build (cross-compiled for a 32-bit Chrome), rather than all |
176 # 64-bit builds. | 176 # 64-bit builds. |
177 # See also //ppapi/shared_impl | 177 # See also //ppapi/shared_impl |
178 if (is_win && cpu_arch == "x64" && current_toolchain != default_toolchain) { | 178 if (is_win && cpu_arch == "x64" && current_toolchain != default_toolchain) { |
179 sources += [ | 179 sources += [ |
180 "ppb_graphics_3d_thunk.cc", | 180 "ppb_graphics_3d_thunk.cc", |
181 "ppb_host_resolver_private_thunk.cc", | 181 "ppb_host_resolver_private_thunk.cc", |
182 "ppb_tcp_server_socket_private_thunk.cc", | 182 "ppb_tcp_server_socket_private_thunk.cc", |
183 "ppb_tcp_socket_private_thunk.cc", | 183 "ppb_tcp_socket_private_thunk.cc", |
184 "ppb_udp_socket_private_thunk.cc", | 184 "ppb_udp_socket_private_thunk.cc", |
185 "ppb_x509_certificate_private_thunk.cc", | 185 "ppb_x509_certificate_private_thunk.cc", |
186 ] | 186 ] |
187 } | 187 } |
188 | 188 |
189 defines = [ "PPAPI_THUNK_IMPLEMENTATION" ] | 189 defines = [ "PPAPI_THUNK_IMPLEMENTATION" ] |
190 } | 190 } |
OLD | NEW |