| 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 12 matching lines...) Expand all Loading... |
| 23 "interfaces_preamble.h", | 23 "interfaces_preamble.h", |
| 24 "ppapi_thunk_export.h", | 24 "ppapi_thunk_export.h", |
| 25 "ppb_audio_api.h", | 25 "ppb_audio_api.h", |
| 26 "ppb_audio_buffer_api.h", | 26 "ppb_audio_buffer_api.h", |
| 27 "ppb_audio_buffer_thunk.cc", | 27 "ppb_audio_buffer_thunk.cc", |
| 28 "ppb_audio_config_api.h", | 28 "ppb_audio_config_api.h", |
| 29 "ppb_audio_config_thunk.cc", | 29 "ppb_audio_config_thunk.cc", |
| 30 "ppb_audio_encoder_api.h", | 30 "ppb_audio_encoder_api.h", |
| 31 "ppb_audio_encoder_thunk.cc", | 31 "ppb_audio_encoder_thunk.cc", |
| 32 "ppb_audio_input_api.h", | 32 "ppb_audio_input_api.h", |
| 33 "ppb_audio_output_api.h", |
| 33 "ppb_audio_thunk.cc", | 34 "ppb_audio_thunk.cc", |
| 34 "ppb_broker_api.h", | 35 "ppb_broker_api.h", |
| 35 "ppb_browser_font_singleton_api.h", | 36 "ppb_browser_font_singleton_api.h", |
| 36 "ppb_browser_font_trusted_api.h", | 37 "ppb_browser_font_trusted_api.h", |
| 37 "ppb_buffer_api.h", | 38 "ppb_buffer_api.h", |
| 38 "ppb_camera_capabilities_api.h", | 39 "ppb_camera_capabilities_api.h", |
| 39 "ppb_camera_capabilities_private_thunk.cc", | 40 "ppb_camera_capabilities_private_thunk.cc", |
| 40 "ppb_camera_device_api.h", | 41 "ppb_camera_device_api.h", |
| 41 "ppb_camera_device_private_thunk.cc", | 42 "ppb_camera_device_private_thunk.cc", |
| 42 "ppb_compositor_api.h", | 43 "ppb_compositor_api.h", |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 "ppb_websocket_thunk.cc", | 157 "ppb_websocket_thunk.cc", |
| 157 "ppb_x509_certificate_private_api.h", | 158 "ppb_x509_certificate_private_api.h", |
| 158 "ppb_x509_certificate_private_thunk.cc", | 159 "ppb_x509_certificate_private_thunk.cc", |
| 159 "resource_creation_api.h", | 160 "resource_creation_api.h", |
| 160 "thunk.h", | 161 "thunk.h", |
| 161 ] | 162 ] |
| 162 | 163 |
| 163 if (!is_nacl) { | 164 if (!is_nacl) { |
| 164 sources += [ | 165 sources += [ |
| 165 "ppb_audio_input_dev_thunk.cc", | 166 "ppb_audio_input_dev_thunk.cc", |
| 167 "ppb_audio_output_dev_thunk.cc", |
| 166 "ppb_broker_thunk.cc", | 168 "ppb_broker_thunk.cc", |
| 167 "ppb_browser_font_trusted_thunk.cc", | 169 "ppb_browser_font_trusted_thunk.cc", |
| 168 "ppb_buffer_thunk.cc", | 170 "ppb_buffer_thunk.cc", |
| 169 "ppb_char_set_thunk.cc", | 171 "ppb_char_set_thunk.cc", |
| 170 "ppb_content_decryptor_private_thunk.cc", | 172 "ppb_content_decryptor_private_thunk.cc", |
| 171 "ppb_flash_clipboard_thunk.cc", | 173 "ppb_flash_clipboard_thunk.cc", |
| 172 "ppb_flash_device_id_thunk.cc", | 174 "ppb_flash_device_id_thunk.cc", |
| 173 "ppb_flash_drm_thunk.cc", | 175 "ppb_flash_drm_thunk.cc", |
| 174 "ppb_flash_file_fileref_thunk.cc", | 176 "ppb_flash_file_fileref_thunk.cc", |
| 175 "ppb_flash_file_modulelocal_thunk.cc", | 177 "ppb_flash_file_modulelocal_thunk.cc", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 204 | 206 |
| 205 configs += [ "//build/config:precompiled_headers" ] | 207 configs += [ "//build/config:precompiled_headers" ] |
| 206 defines = [ | 208 defines = [ |
| 207 # This target goes in the same library as shared_impl (in GYP they are the | 209 # This target goes in the same library as shared_impl (in GYP they are the |
| 208 # same). | 210 # same). |
| 209 "PPAPI_SHARED_IMPLEMENTATION", | 211 "PPAPI_SHARED_IMPLEMENTATION", |
| 210 | 212 |
| 211 "PPAPI_THUNK_IMPLEMENTATION", | 213 "PPAPI_THUNK_IMPLEMENTATION", |
| 212 ] | 214 ] |
| 213 } | 215 } |
| OLD | NEW |