| 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" ] |
| 11 | 11 |
| 12 sources = [ | 12 sources = [ |
| 13 "enter.cc", | 13 "enter.cc", |
| 14 "enter.h", | 14 "enter.h", |
| 15 "interfaces_legacy.h", |
| 16 "interfaces_postamble.h", |
| 17 "interfaces_ppb_private.h", |
| 18 "interfaces_ppb_private_flash.h", |
| 19 "interfaces_ppb_private_no_permissions.h", |
| 20 "interfaces_ppb_public_dev.h", |
| 21 "interfaces_ppb_public_dev_channel.h", |
| 22 "interfaces_ppb_public_stable.h", |
| 23 "interfaces_preamble.h", |
| 24 "ppapi_thunk_export.h", |
| 15 "ppb_audio_api.h", | 25 "ppb_audio_api.h", |
| 16 "ppb_audio_buffer_api.h", | 26 "ppb_audio_buffer_api.h", |
| 17 "ppb_audio_buffer_thunk.cc", | 27 "ppb_audio_buffer_thunk.cc", |
| 18 "ppb_audio_config_api.h", | 28 "ppb_audio_config_api.h", |
| 19 "ppb_audio_config_thunk.cc", | 29 "ppb_audio_config_thunk.cc", |
| 20 "ppb_audio_encoder_api.h", | 30 "ppb_audio_encoder_api.h", |
| 21 "ppb_audio_encoder_thunk.cc", | 31 "ppb_audio_encoder_thunk.cc", |
| 22 "ppb_audio_input_api.h", | 32 "ppb_audio_input_api.h", |
| 23 "ppb_audio_thunk.cc", | 33 "ppb_audio_thunk.cc", |
| 24 "ppb_broker_api.h", | 34 "ppb_broker_api.h", |
| 35 "ppb_browser_font_singleton_api.h", |
| 25 "ppb_browser_font_trusted_api.h", | 36 "ppb_browser_font_trusted_api.h", |
| 26 "ppb_buffer_api.h", | 37 "ppb_buffer_api.h", |
| 27 "ppb_camera_capabilities_api.h", | 38 "ppb_camera_capabilities_api.h", |
| 28 "ppb_camera_capabilities_private_thunk.cc", | 39 "ppb_camera_capabilities_private_thunk.cc", |
| 29 "ppb_camera_device_api.h", | 40 "ppb_camera_device_api.h", |
| 30 "ppb_camera_device_private_thunk.cc", | 41 "ppb_camera_device_private_thunk.cc", |
| 31 "ppb_compositor_api.h", | 42 "ppb_compositor_api.h", |
| 32 "ppb_compositor_layer_api.h", | 43 "ppb_compositor_layer_api.h", |
| 33 "ppb_compositor_layer_thunk.cc", | 44 "ppb_compositor_layer_thunk.cc", |
| 34 "ppb_compositor_thunk.cc", | 45 "ppb_compositor_thunk.cc", |
| 35 "ppb_console_thunk.cc", | 46 "ppb_console_thunk.cc", |
| 36 "ppb_cursor_control_thunk.cc", | 47 "ppb_cursor_control_thunk.cc", |
| 37 "ppb_device_ref_api.h", | 48 "ppb_device_ref_api.h", |
| 38 "ppb_device_ref_dev_thunk.cc", | 49 "ppb_device_ref_dev_thunk.cc", |
| 39 "ppb_ext_crx_file_system_private_thunk.cc", | 50 "ppb_ext_crx_file_system_private_thunk.cc", |
| 40 "ppb_file_chooser_api.h", | 51 "ppb_file_chooser_api.h", |
| 41 "ppb_file_chooser_dev_thunk.cc", | 52 "ppb_file_chooser_dev_thunk.cc", |
| 42 "ppb_file_chooser_trusted_thunk.cc", | 53 "ppb_file_chooser_trusted_thunk.cc", |
| 43 "ppb_file_io_api.h", | 54 "ppb_file_io_api.h", |
| 44 "ppb_file_io_private_thunk.cc", | 55 "ppb_file_io_private_thunk.cc", |
| 45 "ppb_file_io_thunk.cc", | 56 "ppb_file_io_thunk.cc", |
| 46 "ppb_file_ref_api.h", | 57 "ppb_file_ref_api.h", |
| 47 "ppb_file_ref_thunk.cc", | 58 "ppb_file_ref_thunk.cc", |
| 48 "ppb_file_system_api.h", | 59 "ppb_file_system_api.h", |
| 49 "ppb_file_system_thunk.cc", | 60 "ppb_file_system_thunk.cc", |
| 50 "ppb_find_private_thunk.cc", | 61 "ppb_find_private_thunk.cc", |
| 51 "ppb_flash_clipboard_api.h", | 62 "ppb_flash_clipboard_api.h", |
| 52 "ppb_flash_drm_api.h", | 63 "ppb_flash_drm_api.h", |
| 64 "ppb_flash_file_api.h", |
| 53 "ppb_flash_font_file_api.h", | 65 "ppb_flash_font_file_api.h", |
| 54 "ppb_flash_fullscreen_api.h", | 66 "ppb_flash_fullscreen_api.h", |
| 55 "ppb_flash_functions_api.h", | 67 "ppb_flash_functions_api.h", |
| 56 "ppb_flash_menu_api.h", | 68 "ppb_flash_menu_api.h", |
| 57 "ppb_flash_message_loop_api.h", | 69 "ppb_flash_message_loop_api.h", |
| 58 "ppb_flash_print_thunk.cc", | 70 "ppb_flash_print_thunk.cc", |
| 59 "ppb_fullscreen_thunk.cc", | 71 "ppb_fullscreen_thunk.cc", |
| 60 "ppb_gamepad_api.h", | 72 "ppb_gamepad_api.h", |
| 61 "ppb_gamepad_thunk.cc", | 73 "ppb_gamepad_thunk.cc", |
| 62 "ppb_graphics_2d_api.h", | 74 "ppb_graphics_2d_api.h", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 "ppb_video_source_private_thunk.cc", | 149 "ppb_video_source_private_thunk.cc", |
| 138 "ppb_view_api.h", | 150 "ppb_view_api.h", |
| 139 "ppb_view_dev_thunk.cc", | 151 "ppb_view_dev_thunk.cc", |
| 140 "ppb_view_thunk.cc", | 152 "ppb_view_thunk.cc", |
| 141 "ppb_vpn_provider_api.h", | 153 "ppb_vpn_provider_api.h", |
| 142 "ppb_vpn_provider_thunk.cc", | 154 "ppb_vpn_provider_thunk.cc", |
| 143 "ppb_websocket_api.h", | 155 "ppb_websocket_api.h", |
| 144 "ppb_websocket_thunk.cc", | 156 "ppb_websocket_thunk.cc", |
| 145 "ppb_x509_certificate_private_api.h", | 157 "ppb_x509_certificate_private_api.h", |
| 146 "ppb_x509_certificate_private_thunk.cc", | 158 "ppb_x509_certificate_private_thunk.cc", |
| 159 "resource_creation_api.h", |
| 147 "thunk.h", | 160 "thunk.h", |
| 148 ] | 161 ] |
| 149 | 162 |
| 150 if (!is_nacl) { | 163 if (!is_nacl) { |
| 151 sources += [ | 164 sources += [ |
| 152 "ppb_audio_input_dev_thunk.cc", | 165 "ppb_audio_input_dev_thunk.cc", |
| 153 "ppb_broker_thunk.cc", | 166 "ppb_broker_thunk.cc", |
| 154 "ppb_browser_font_trusted_thunk.cc", | 167 "ppb_browser_font_trusted_thunk.cc", |
| 155 "ppb_buffer_thunk.cc", | 168 "ppb_buffer_thunk.cc", |
| 156 "ppb_char_set_thunk.cc", | 169 "ppb_char_set_thunk.cc", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 204 |
| 192 configs += [ "//build/config:precompiled_headers" ] | 205 configs += [ "//build/config:precompiled_headers" ] |
| 193 defines = [ | 206 defines = [ |
| 194 # This target goes in the same library as shared_impl (in GYP they are the | 207 # This target goes in the same library as shared_impl (in GYP they are the |
| 195 # same). | 208 # same). |
| 196 "PPAPI_SHARED_IMPLEMENTATION", | 209 "PPAPI_SHARED_IMPLEMENTATION", |
| 197 | 210 |
| 198 "PPAPI_THUNK_IMPLEMENTATION", | 211 "PPAPI_THUNK_IMPLEMENTATION", |
| 199 ] | 212 ] |
| 200 } | 213 } |
| OLD | NEW |