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 # In GYP this is the same target as shared_impl. In GN these are split apart | 6 # In GYP this is the same target as shared_impl. In GN these are split apart |
7 # for clarity but to get component builds correct, targets must only depend | 7 # for clarity but to get component builds correct, targets must only depend |
8 # on these via the shared_impl component. | 8 # on these via the shared_impl component. |
9 # TODO(brettw) separate these when GYP compat is no longer required. | 9 # TODO(brettw) separate these when GYP compat is no longer required. |
10 visibility = [ "//ppapi/shared_impl" ] | 10 visibility = [ "//ppapi/shared_impl" ] |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 "ppb_network_monitor_api.h", | 90 "ppb_network_monitor_api.h", |
91 "ppb_network_monitor_thunk.cc", | 91 "ppb_network_monitor_thunk.cc", |
92 "ppb_network_proxy_api.h", | 92 "ppb_network_proxy_api.h", |
93 "ppb_network_proxy_thunk.cc", | 93 "ppb_network_proxy_thunk.cc", |
94 "ppb_output_protection_api.h", | 94 "ppb_output_protection_api.h", |
95 "ppb_output_protection_private_thunk.cc", | 95 "ppb_output_protection_private_thunk.cc", |
96 "ppb_pdf_api.h", | 96 "ppb_pdf_api.h", |
97 "ppb_platform_verification_api.h", | 97 "ppb_platform_verification_api.h", |
98 "ppb_printing_api.h", | 98 "ppb_printing_api.h", |
99 "ppb_printing_dev_thunk.cc", | 99 "ppb_printing_dev_thunk.cc", |
100 "ppb_scrollbar_api.h", | |
101 "ppb_tcp_server_socket_private_api.h", | 100 "ppb_tcp_server_socket_private_api.h", |
102 "ppb_tcp_server_socket_private_thunk.cc", | 101 "ppb_tcp_server_socket_private_thunk.cc", |
103 "ppb_tcp_socket_api.h", | 102 "ppb_tcp_socket_api.h", |
104 "ppb_tcp_socket_private_api.h", | 103 "ppb_tcp_socket_private_api.h", |
105 "ppb_tcp_socket_private_thunk.cc", | 104 "ppb_tcp_socket_private_thunk.cc", |
106 "ppb_tcp_socket_thunk.cc", | 105 "ppb_tcp_socket_thunk.cc", |
107 "ppb_text_input_thunk.cc", | 106 "ppb_text_input_thunk.cc", |
108 "ppb_truetype_font_api.h", | 107 "ppb_truetype_font_api.h", |
109 "ppb_truetype_font_dev_thunk.cc", | 108 "ppb_truetype_font_dev_thunk.cc", |
110 "ppb_truetype_font_singleton_api.h", | 109 "ppb_truetype_font_singleton_api.h", |
(...skipping 22 matching lines...) Expand all Loading... |
133 "ppb_video_encoder_thunk.cc", | 132 "ppb_video_encoder_thunk.cc", |
134 "ppb_video_frame_api.h", | 133 "ppb_video_frame_api.h", |
135 "ppb_video_frame_thunk.cc", | 134 "ppb_video_frame_thunk.cc", |
136 "ppb_video_source_private_api.h", | 135 "ppb_video_source_private_api.h", |
137 "ppb_video_source_private_thunk.cc", | 136 "ppb_video_source_private_thunk.cc", |
138 "ppb_view_api.h", | 137 "ppb_view_api.h", |
139 "ppb_view_dev_thunk.cc", | 138 "ppb_view_dev_thunk.cc", |
140 "ppb_view_thunk.cc", | 139 "ppb_view_thunk.cc", |
141 "ppb_websocket_api.h", | 140 "ppb_websocket_api.h", |
142 "ppb_websocket_thunk.cc", | 141 "ppb_websocket_thunk.cc", |
143 "ppb_widget_api.h", | |
144 "ppb_widget_dev_thunk.cc", | |
145 "ppb_x509_certificate_private_api.h", | 142 "ppb_x509_certificate_private_api.h", |
146 "ppb_x509_certificate_private_thunk.cc", | 143 "ppb_x509_certificate_private_thunk.cc", |
147 "ppb_zoom_dev_thunk.cc", | |
148 "thunk.h", | 144 "thunk.h", |
149 ] | 145 ] |
150 | 146 |
151 if (!is_nacl) { | 147 if (!is_nacl) { |
152 sources += [ | 148 sources += [ |
153 "ppb_audio_input_dev_thunk.cc", | 149 "ppb_audio_input_dev_thunk.cc", |
154 "ppb_broker_thunk.cc", | 150 "ppb_broker_thunk.cc", |
155 "ppb_browser_font_trusted_thunk.cc", | 151 "ppb_browser_font_trusted_thunk.cc", |
156 "ppb_buffer_thunk.cc", | 152 "ppb_buffer_thunk.cc", |
157 "ppb_char_set_thunk.cc", | 153 "ppb_char_set_thunk.cc", |
158 "ppb_content_decryptor_private_thunk.cc", | 154 "ppb_content_decryptor_private_thunk.cc", |
159 "ppb_flash_clipboard_thunk.cc", | 155 "ppb_flash_clipboard_thunk.cc", |
160 "ppb_flash_device_id_thunk.cc", | 156 "ppb_flash_device_id_thunk.cc", |
161 "ppb_flash_drm_thunk.cc", | 157 "ppb_flash_drm_thunk.cc", |
162 "ppb_flash_file_fileref_thunk.cc", | 158 "ppb_flash_file_fileref_thunk.cc", |
163 "ppb_flash_file_modulelocal_thunk.cc", | 159 "ppb_flash_file_modulelocal_thunk.cc", |
164 "ppb_flash_font_file_thunk.cc", | 160 "ppb_flash_font_file_thunk.cc", |
165 "ppb_flash_fullscreen_thunk.cc", | 161 "ppb_flash_fullscreen_thunk.cc", |
166 "ppb_flash_menu_thunk.cc", | 162 "ppb_flash_menu_thunk.cc", |
167 "ppb_flash_message_loop_thunk.cc", | 163 "ppb_flash_message_loop_thunk.cc", |
168 "ppb_flash_thunk.cc", | 164 "ppb_flash_thunk.cc", |
169 "ppb_gles_chromium_texture_mapping_thunk.cc", | 165 "ppb_gles_chromium_texture_mapping_thunk.cc", |
170 "ppb_pdf_thunk.cc", | 166 "ppb_pdf_thunk.cc", |
171 "ppb_platform_verification_private_thunk.cc", | 167 "ppb_platform_verification_private_thunk.cc", |
172 "ppb_scrollbar_thunk.cc", | |
173 "ppb_url_util_thunk.cc", | 168 "ppb_url_util_thunk.cc", |
174 "ppb_video_capture_thunk.cc", | 169 "ppb_video_capture_thunk.cc", |
175 "ppb_video_decoder_dev_thunk.cc", | 170 "ppb_video_decoder_dev_thunk.cc", |
176 ] | 171 ] |
177 } | 172 } |
178 | 173 |
179 # We exclude a few more things for nacl_win64, to avoid pulling in more | 174 # We exclude a few more things for nacl_win64, to avoid pulling in more |
180 # dependencies. | 175 # dependencies. |
181 # TODO(GYP) this isn't correct. This should only be specifically for the | 176 # TODO(GYP) this isn't correct. This should only be specifically for the |
182 # nacl_win64 build (cross-compiled for a 32-bit Chrome), rather than all | 177 # nacl_win64 build (cross-compiled for a 32-bit Chrome), rather than all |
(...skipping 11 matching lines...) Expand all Loading... |
194 } | 189 } |
195 | 190 |
196 defines = [ | 191 defines = [ |
197 # This target goes in the same library as shared_impl (in GYP they are the | 192 # This target goes in the same library as shared_impl (in GYP they are the |
198 # same). | 193 # same). |
199 "PPAPI_SHARED_IMPLEMENTATION", | 194 "PPAPI_SHARED_IMPLEMENTATION", |
200 | 195 |
201 "PPAPI_THUNK_IMPLEMENTATION", | 196 "PPAPI_THUNK_IMPLEMENTATION", |
202 ] | 197 ] |
203 } | 198 } |
OLD | NEW |