Chromium Code Reviews| 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 | |
| 7 # but to get component builds correct, targets must only depend on these | |
| 8 # via the shared_impl component. | |
|
Dirk Pranke
2015/04/06 16:54:07
what's the advantage to having this be a separate
| |
| 9 visibility = [ "//ppapi/shared_impl" ] | |
| 10 | |
| 6 sources = [ | 11 sources = [ |
| 7 "enter.cc", | 12 "enter.cc", |
| 8 "enter.h", | 13 "enter.h", |
| 9 "ppb_audio_api.h", | 14 "ppb_audio_api.h", |
| 10 "ppb_audio_buffer_api.h", | 15 "ppb_audio_buffer_api.h", |
| 11 "ppb_audio_buffer_thunk.cc", | 16 "ppb_audio_buffer_thunk.cc", |
| 12 "ppb_audio_config_api.h", | 17 "ppb_audio_config_api.h", |
| 13 "ppb_audio_config_thunk.cc", | 18 "ppb_audio_config_thunk.cc", |
| 14 "ppb_audio_input_api.h", | 19 "ppb_audio_input_api.h", |
| 15 "ppb_audio_thunk.cc", | 20 "ppb_audio_thunk.cc", |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 182 sources += [ | 187 sources += [ |
| 183 "ppb_graphics_3d_thunk.cc", | 188 "ppb_graphics_3d_thunk.cc", |
| 184 "ppb_host_resolver_private_thunk.cc", | 189 "ppb_host_resolver_private_thunk.cc", |
| 185 "ppb_tcp_server_socket_private_thunk.cc", | 190 "ppb_tcp_server_socket_private_thunk.cc", |
| 186 "ppb_tcp_socket_private_thunk.cc", | 191 "ppb_tcp_socket_private_thunk.cc", |
| 187 "ppb_udp_socket_private_thunk.cc", | 192 "ppb_udp_socket_private_thunk.cc", |
| 188 "ppb_x509_certificate_private_thunk.cc", | 193 "ppb_x509_certificate_private_thunk.cc", |
| 189 ] | 194 ] |
| 190 } | 195 } |
| 191 | 196 |
| 192 defines = [ "PPAPI_THUNK_IMPLEMENTATION" ] | 197 defines = [ |
| 198 # This target goes in the same library as shared_impl (in GYP they are the | |
| 199 # same). | |
| 200 "PPAPI_SHARED_IMPLEMENTATION", | |
| 201 | |
| 202 "PPAPI_THUNK_IMPLEMENTATION", | |
| 203 ] | |
| 193 } | 204 } |
| OLD | NEW |