| 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 "ppb_audio_api.h", | 15 "ppb_audio_api.h", |
| 16 "ppb_audio_buffer_api.h", | 16 "ppb_audio_buffer_api.h", |
| 17 "ppb_audio_buffer_thunk.cc", | 17 "ppb_audio_buffer_thunk.cc", |
| 18 "ppb_audio_config_api.h", | 18 "ppb_audio_config_api.h", |
| 19 "ppb_audio_config_thunk.cc", | 19 "ppb_audio_config_thunk.cc", |
| 20 "ppb_audio_encoder_api.h", | 20 "ppb_audio_encoder_api.h", |
| 21 "ppb_audio_encoder_thunk.cc", | 21 "ppb_audio_encoder_thunk.cc", |
| 22 "ppb_audio_input_api.h", | 22 "ppb_audio_input_api.h", |
| 23 "ppb_audio_output_api.h", |
| 23 "ppb_audio_thunk.cc", | 24 "ppb_audio_thunk.cc", |
| 24 "ppb_broker_api.h", | 25 "ppb_broker_api.h", |
| 25 "ppb_browser_font_trusted_api.h", | 26 "ppb_browser_font_trusted_api.h", |
| 26 "ppb_buffer_api.h", | 27 "ppb_buffer_api.h", |
| 27 "ppb_camera_capabilities_api.h", | 28 "ppb_camera_capabilities_api.h", |
| 28 "ppb_camera_capabilities_private_thunk.cc", | 29 "ppb_camera_capabilities_private_thunk.cc", |
| 29 "ppb_camera_device_api.h", | 30 "ppb_camera_device_api.h", |
| 30 "ppb_camera_device_private_thunk.cc", | 31 "ppb_camera_device_private_thunk.cc", |
| 31 "ppb_compositor_api.h", | 32 "ppb_compositor_api.h", |
| 32 "ppb_compositor_layer_api.h", | 33 "ppb_compositor_layer_api.h", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 "ppb_websocket_api.h", | 144 "ppb_websocket_api.h", |
| 144 "ppb_websocket_thunk.cc", | 145 "ppb_websocket_thunk.cc", |
| 145 "ppb_x509_certificate_private_api.h", | 146 "ppb_x509_certificate_private_api.h", |
| 146 "ppb_x509_certificate_private_thunk.cc", | 147 "ppb_x509_certificate_private_thunk.cc", |
| 147 "thunk.h", | 148 "thunk.h", |
| 148 ] | 149 ] |
| 149 | 150 |
| 150 if (!is_nacl) { | 151 if (!is_nacl) { |
| 151 sources += [ | 152 sources += [ |
| 152 "ppb_audio_input_dev_thunk.cc", | 153 "ppb_audio_input_dev_thunk.cc", |
| 154 "ppb_audio_output_dev_thunk.cc", |
| 153 "ppb_broker_thunk.cc", | 155 "ppb_broker_thunk.cc", |
| 154 "ppb_browser_font_trusted_thunk.cc", | 156 "ppb_browser_font_trusted_thunk.cc", |
| 155 "ppb_buffer_thunk.cc", | 157 "ppb_buffer_thunk.cc", |
| 156 "ppb_char_set_thunk.cc", | 158 "ppb_char_set_thunk.cc", |
| 157 "ppb_content_decryptor_private_thunk.cc", | 159 "ppb_content_decryptor_private_thunk.cc", |
| 158 "ppb_flash_clipboard_thunk.cc", | 160 "ppb_flash_clipboard_thunk.cc", |
| 159 "ppb_flash_device_id_thunk.cc", | 161 "ppb_flash_device_id_thunk.cc", |
| 160 "ppb_flash_drm_thunk.cc", | 162 "ppb_flash_drm_thunk.cc", |
| 161 "ppb_flash_file_fileref_thunk.cc", | 163 "ppb_flash_file_fileref_thunk.cc", |
| 162 "ppb_flash_file_modulelocal_thunk.cc", | 164 "ppb_flash_file_modulelocal_thunk.cc", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 191 | 193 |
| 192 configs += [ "//build/config:precompiled_headers" ] | 194 configs += [ "//build/config:precompiled_headers" ] |
| 193 defines = [ | 195 defines = [ |
| 194 # This target goes in the same library as shared_impl (in GYP they are the | 196 # This target goes in the same library as shared_impl (in GYP they are the |
| 195 # same). | 197 # same). |
| 196 "PPAPI_SHARED_IMPLEMENTATION", | 198 "PPAPI_SHARED_IMPLEMENTATION", |
| 197 | 199 |
| 198 "PPAPI_THUNK_IMPLEMENTATION", | 200 "PPAPI_THUNK_IMPLEMENTATION", |
| 199 ] | 201 ] |
| 200 } | 202 } |
| OLD | NEW |