Avi Drissman | db497b3 | 2022-09-15 19:47:28 | [diff] [blame] | 1 | # Copyright 2015 The Chromium Authors |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
phosek | 636bceb3 | 2015-10-27 03:36:48 | [diff] [blame] | 5 | import("//build/config/nacl/config.gni") |
Fabian Sommer | 295fb5d | 2022-08-22 10:25:04 | [diff] [blame] | 6 | import("//components/nacl/toolchain.gni") |
David Dorwin | fb712813 | 2022-04-26 01:36:51 | [diff] [blame] | 7 | import("//ppapi/buildflags/buildflags.gni") |
| 8 | |
K. Moon | f17e216 | 2022-07-18 20:59:42 | [diff] [blame] | 9 | assert(enable_ppapi) |
phosek | 636bceb3 | 2015-10-27 03:36:48 | [diff] [blame] | 10 | |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 11 | config("proxy_implementation") { |
| 12 | defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] |
| 13 | } |
| 14 | |
Dirk Pranke | 9c0fc3b | 2020-08-06 16:01:30 | [diff] [blame] | 15 | component("proxy") { |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 16 | output_name = "ppapi_proxy" |
| 17 | |
| 18 | sources = [ |
| 19 | # Take some standalone files from the C++ wrapper allowing us to more |
| 20 | # easily make async callbacks in the proxy. We can't depend on the |
| 21 | # full C++ wrappers at this layer since the C++ wrappers expect |
| 22 | # symbols defining the globals for "being a plugin" which we are not. |
cfredric | 4757cd9 | 2021-07-12 21:23:17 | [diff] [blame] | 23 | # |
| 24 | # These callback files are supposed to be standalone, but are not; see |
| 25 | # http://crbug.com/1228394. |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 26 | "../cpp/completion_callback.h", |
cfredric | 4757cd9 | 2021-07-12 21:23:17 | [diff] [blame] | 27 | "../cpp/logging.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 28 | "../utility/completion_callback_factory.h", |
| 29 | "audio_buffer_resource.cc", |
| 30 | "audio_buffer_resource.h", |
jchuang | 586e3db | 2015-02-25 05:17:56 | [diff] [blame] | 31 | "camera_capabilities_resource.cc", |
| 32 | "camera_capabilities_resource.h", |
| 33 | "camera_device_resource.cc", |
| 34 | "camera_device_resource.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 35 | "dispatcher.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 36 | "enter_proxy.h", |
| 37 | "error_conversion.cc", |
| 38 | "error_conversion.h", |
| 39 | "file_chooser_resource.cc", |
| 40 | "file_chooser_resource.h", |
| 41 | "file_io_resource.cc", |
| 42 | "file_io_resource.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 43 | "file_ref_resource.cc", |
| 44 | "file_ref_resource.h", |
| 45 | "file_system_resource.cc", |
| 46 | "file_system_resource.h", |
| 47 | "gamepad_resource.cc", |
| 48 | "gamepad_resource.h", |
| 49 | "graphics_2d_resource.cc", |
| 50 | "graphics_2d_resource.h", |
| 51 | "host_resolver_private_resource.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 52 | "host_resolver_resource.cc", |
| 53 | "host_resolver_resource.h", |
| 54 | "host_resolver_resource_base.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 55 | "interface_list.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 56 | "interface_proxy.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 57 | "isolated_file_system_private_resource.cc", |
| 58 | "isolated_file_system_private_resource.h", |
| 59 | "locking_resource_releaser.h", |
| 60 | "media_stream_audio_track_resource.cc", |
| 61 | "media_stream_audio_track_resource.h", |
| 62 | "media_stream_track_resource_base.cc", |
| 63 | "media_stream_track_resource_base.h", |
| 64 | "media_stream_video_track_resource.cc", |
| 65 | "media_stream_video_track_resource.h", |
| 66 | "message_handler.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 67 | "net_address_resource.cc", |
| 68 | "net_address_resource.h", |
| 69 | "network_list_resource.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 70 | "network_monitor_resource.cc", |
| 71 | "network_monitor_resource.h", |
| 72 | "network_proxy_resource.cc", |
| 73 | "network_proxy_resource.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 74 | "plugin_array_buffer_var.cc", |
| 75 | "plugin_array_buffer_var.h", |
| 76 | "plugin_dispatcher.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 77 | "plugin_globals.cc", |
| 78 | "plugin_globals.h", |
| 79 | "plugin_message_filter.cc", |
| 80 | "plugin_message_filter.h", |
| 81 | "plugin_resource.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 82 | "plugin_resource_tracker.cc", |
| 83 | "plugin_resource_tracker.h", |
| 84 | "plugin_resource_var.cc", |
| 85 | "plugin_resource_var.h", |
| 86 | "plugin_var_serialization_rules.cc", |
| 87 | "plugin_var_serialization_rules.h", |
| 88 | "plugin_var_tracker.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 89 | "ppapi_command_buffer_proxy.cc", |
| 90 | "ppapi_command_buffer_proxy.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 91 | "ppb_audio_proxy.cc", |
| 92 | "ppb_audio_proxy.h", |
| 93 | "ppb_core_proxy.cc", |
| 94 | "ppb_core_proxy.h", |
| 95 | "ppb_graphics_3d_proxy.cc", |
| 96 | "ppb_graphics_3d_proxy.h", |
| 97 | "ppb_image_data_proxy.cc", |
| 98 | "ppb_image_data_proxy.h", |
| 99 | "ppb_instance_proxy.cc", |
| 100 | "ppb_instance_proxy.h", |
| 101 | "ppb_message_loop_proxy.cc", |
| 102 | "ppb_message_loop_proxy.h", |
| 103 | "ppb_testing_proxy.cc", |
| 104 | "ppb_testing_proxy.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 105 | "ppp_class_proxy.cc", |
| 106 | "ppp_class_proxy.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 107 | "ppp_graphics_3d_proxy.cc", |
| 108 | "ppp_graphics_3d_proxy.h", |
| 109 | "ppp_input_event_proxy.cc", |
| 110 | "ppp_input_event_proxy.h", |
| 111 | "ppp_instance_proxy.cc", |
| 112 | "ppp_instance_proxy.h", |
| 113 | "ppp_messaging_proxy.cc", |
| 114 | "ppp_messaging_proxy.h", |
| 115 | "ppp_mouse_lock_proxy.cc", |
| 116 | "ppp_mouse_lock_proxy.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 117 | "ppp_printing_proxy.cc", |
| 118 | "ppp_printing_proxy.h", |
| 119 | "ppp_text_input_proxy.cc", |
| 120 | "ppp_text_input_proxy.h", |
| 121 | "printing_resource.cc", |
| 122 | "printing_resource.h", |
| 123 | "proxy_array_output.cc", |
| 124 | "proxy_array_output.h", |
| 125 | "proxy_channel.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 126 | "proxy_completion_callback_factory.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 127 | "proxy_object_var.cc", |
| 128 | "proxy_object_var.h", |
| 129 | "resource_creation_proxy.cc", |
| 130 | "resource_creation_proxy.h", |
| 131 | "resource_reply_thread_registrar.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 132 | "tcp_server_socket_private_resource.cc", |
| 133 | "tcp_server_socket_private_resource.h", |
| 134 | "tcp_socket_private_resource.cc", |
| 135 | "tcp_socket_private_resource.h", |
| 136 | "tcp_socket_resource.cc", |
| 137 | "tcp_socket_resource.h", |
| 138 | "tcp_socket_resource_base.cc", |
| 139 | "tcp_socket_resource_base.h", |
dmichael | b11ca7b | 2015-04-02 16:59:40 | [diff] [blame] | 140 | "udp_socket_filter.cc", |
| 141 | "udp_socket_filter.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 142 | "udp_socket_private_resource.cc", |
| 143 | "udp_socket_private_resource.h", |
| 144 | "udp_socket_resource.cc", |
| 145 | "udp_socket_resource.h", |
| 146 | "udp_socket_resource_base.cc", |
| 147 | "udp_socket_resource_base.h", |
| 148 | "uma_private_resource.cc", |
| 149 | "uma_private_resource.h", |
| 150 | "url_loader_resource.cc", |
| 151 | "url_loader_resource.h", |
| 152 | "url_request_info_resource.cc", |
| 153 | "url_request_info_resource.h", |
| 154 | "url_response_info_resource.cc", |
| 155 | "url_response_info_resource.h", |
dpranke | 6065cf7 | 2015-02-26 03:30:58 | [diff] [blame] | 156 | "video_decoder_resource.cc", |
| 157 | "video_decoder_resource.h", |
dpranke | 6065cf7 | 2015-02-26 03:30:58 | [diff] [blame] | 158 | "video_encoder_resource.cc", |
| 159 | "video_encoder_resource.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 160 | "video_frame_resource.cc", |
| 161 | "video_frame_resource.h", |
adrian.belgun | 0873bcb | 2016-06-08 10:00:55 | [diff] [blame] | 162 | "vpn_provider_resource.cc", |
| 163 | "vpn_provider_resource.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 164 | "websocket_resource.cc", |
| 165 | "websocket_resource.h", |
| 166 | ] |
| 167 | |
| 168 | if (is_nacl) { |
Mark Seaborn | 0040a61 | 2022-04-08 17:42:50 | [diff] [blame] | 169 | # Consistency check: Check that is_nacl_irt is set to true for this |
| 170 | # code that is built for the NaCl IRT. Previously, there was a bug |
| 171 | # where is_nacl_irt was not always set to true for builds of the NaCl |
| 172 | # IRT. |
| 173 | assert(is_nacl_irt) |
| 174 | |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 175 | sources += [ |
mseaborn | 770b328 | 2015-07-21 16:37:57 | [diff] [blame] | 176 | "../nacl_irt/irt_interfaces.cc", |
| 177 | "../nacl_irt/irt_interfaces.h", |
mseaborn | d735c8b9 | 2015-07-22 02:55:07 | [diff] [blame] | 178 | "../nacl_irt/irt_pnacl_translator_compile.cc", |
| 179 | "../nacl_irt/irt_pnacl_translator_link.cc", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 180 | "../nacl_irt/irt_ppapi.cc", |
| 181 | "../nacl_irt/irt_ppapi.h", |
| 182 | "../nacl_irt/irt_start.cc", |
| 183 | "../nacl_irt/manifest_service.cc", |
| 184 | "../nacl_irt/manifest_service.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 185 | "../nacl_irt/plugin_startup.cc", |
| 186 | "../nacl_irt/plugin_startup.h", |
| 187 | "../nacl_irt/ppapi_dispatcher.cc", |
| 188 | "../nacl_irt/ppapi_dispatcher.h", |
| 189 | ] |
| 190 | } else { |
| 191 | sources += [ |
| 192 | "audio_input_resource.cc", |
| 193 | "audio_input_resource.h", |
xzhang | 3a2a470 | 2017-04-07 16:34:30 | [diff] [blame] | 194 | "audio_output_resource.cc", |
| 195 | "audio_output_resource.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 196 | "browser_font_singleton_resource.cc", |
| 197 | "browser_font_singleton_resource.h", |
| 198 | "device_enumeration_resource_helper.cc", |
| 199 | "device_enumeration_resource_helper.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 200 | "host_dispatcher.cc", |
| 201 | "host_dispatcher.h", |
| 202 | "host_var_serialization_rules.cc", |
| 203 | "host_var_serialization_rules.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 204 | "ppb_buffer_proxy.cc", |
bradnelson | 961324d | 2015-03-24 21:03:02 | [diff] [blame] | 205 | "ppb_var_deprecated_proxy.cc", |
| 206 | "ppb_var_deprecated_proxy.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 207 | "ppb_video_decoder_proxy.cc", |
| 208 | "ppb_video_decoder_proxy.h", |
John Abd-El-Malek | 38963ea4 | 2021-04-07 21:11:33 | [diff] [blame] | 209 | "ppb_x509_certificate_private_proxy.cc", |
| 210 | "ppb_x509_certificate_private_proxy.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 211 | "ppp_instance_private_proxy.cc", |
| 212 | "ppp_instance_private_proxy.h", |
| 213 | "ppp_video_decoder_proxy.cc", |
| 214 | "ppp_video_decoder_proxy.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 215 | "video_capture_resource.cc", |
| 216 | "video_capture_resource.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 217 | ] |
| 218 | } |
| 219 | |
brettw | bc8b2a2 | 2015-07-28 18:24:42 | [diff] [blame] | 220 | configs += [ |
| 221 | ":proxy_implementation", |
| 222 | "//build/config:precompiled_headers", |
| 223 | ] |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 224 | |
brettw | c17eb98 | 2015-11-27 22:52:49 | [diff] [blame] | 225 | public_deps = [ |
rockot | 38e46dd | 2017-03-24 16:55:13 | [diff] [blame] | 226 | "//ipc", |
brettw | c17eb98 | 2015-11-27 22:52:49 | [diff] [blame] | 227 | "//ppapi/proxy:ipc_sources", |
| 228 | ] |
| 229 | |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 230 | deps = [ |
scottmg | 3cab0ba | 2017-01-25 18:34:16 | [diff] [blame] | 231 | ":common", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 232 | "//base", |
Fabian Sommer | 295fb5d | 2022-08-22 10:25:04 | [diff] [blame] | 233 | "//components/nacl/common:buildflags", |
Matt Reynolds | 7550995f | 2018-05-23 03:12:55 | [diff] [blame] | 234 | "//device/base/synchronization", |
| 235 | "//device/gamepad/public/cpp:shared_with_blink", |
Andrew Shulaev | c8f936e | 2021-06-25 15:48:15 | [diff] [blame] | 236 | "//gpu/command_buffer/client:client", |
| 237 | "//gpu/command_buffer/client:gles2_cmd_helper", |
piman | 864ffa6 | 2016-06-27 21:00:01 | [diff] [blame] | 238 | "//gpu/command_buffer/client:gles2_implementation", |
Antoine Labour | feab239 | 2017-12-21 20:28:39 | [diff] [blame] | 239 | "//gpu/command_buffer/common", |
piman | 864ffa6 | 2016-06-27 21:00:01 | [diff] [blame] | 240 | "//gpu/ipc/common:command_buffer_traits", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 241 | "//media:shared_memory_support", |
Ken Rockot | f03d97c95 | 2018-07-04 22:08:10 | [diff] [blame] | 242 | "//mojo/core/embedder", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 243 | "//ppapi/c", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 244 | "//ppapi/shared_impl", |
Nico Weber | 7c271e9 | 2021-11-30 04:21:09 | [diff] [blame] | 245 | "//third_party/icu", |
piman | b36392c2 | 2016-07-13 02:11:36 | [diff] [blame] | 246 | "//ui/gfx/geometry", |
| 247 | "//ui/gfx/ipc/geometry", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 248 | ] |
| 249 | |
Fabian Sommer | 295fb5d | 2022-08-22 10:25:04 | [diff] [blame] | 250 | if (!is_nacl && !is_minimal_toolchain) { |
dpranke | 6065cf7 | 2015-02-26 03:30:58 | [diff] [blame] | 251 | deps += [ |
| 252 | "//base/third_party/dynamic_annotations", |
| 253 | "//gin", |
| 254 | "//skia", |
| 255 | "//ui/events:events_base", |
| 256 | "//ui/surface", |
| 257 | ] |
| 258 | } |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 259 | } |
| 260 | |
scottmg | 3cab0ba | 2017-01-25 18:34:16 | [diff] [blame] | 261 | source_set("common") { |
| 262 | sources = [ |
scottmg | 3cab0ba | 2017-01-25 18:34:16 | [diff] [blame] | 263 | "tcp_socket_resource_constants.h", |
scottmg | 3cab0ba | 2017-01-25 18:34:16 | [diff] [blame] | 264 | "udp_socket_resource_constants.h", |
| 265 | ] |
Andrew Shulaev | c8f936e | 2021-06-25 15:48:15 | [diff] [blame] | 266 | |
| 267 | deps = [ "//base:base" ] |
scottmg | 3cab0ba | 2017-01-25 18:34:16 | [diff] [blame] | 268 | } |
| 269 | |
brettw | 542f753 | 2015-04-06 22:35:45 | [diff] [blame] | 270 | group("ipc") { |
| 271 | if (is_component_build) { |
Nico Weber | 2c451b53 | 2020-01-13 19:15:58 | [diff] [blame] | 272 | public_deps = [ "//ppapi/proxy" ] |
brettw | 542f753 | 2015-04-06 22:35:45 | [diff] [blame] | 273 | } else { |
Nico Weber | 2c451b53 | 2020-01-13 19:15:58 | [diff] [blame] | 274 | public_deps = [ ":ipc_sources" ] |
brettw | 542f753 | 2015-04-06 22:35:45 | [diff] [blame] | 275 | } |
| 276 | } |
| 277 | |
| 278 | source_set("ipc_sources") { |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 279 | sources = [ |
Ari Chivukula | 1da866b | 2021-08-11 22:39:06 | [diff] [blame] | 280 | "connection.h", |
| 281 | "dispatcher.h", |
| 282 | "host_resolver_private_resource.h", |
| 283 | "host_resolver_resource_base.h", |
| 284 | "interface_list.h", |
| 285 | "interface_proxy.h", |
| 286 | "message_handler.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 287 | "nacl_message_scanner.cc", |
| 288 | "nacl_message_scanner.h", |
Ari Chivukula | 1da866b | 2021-08-11 22:39:06 | [diff] [blame] | 289 | "network_list_resource.h", |
| 290 | "plugin_dispatcher.h", |
| 291 | "plugin_resource.h", |
| 292 | "plugin_var_tracker.h", |
scottmg | 3cab0ba | 2017-01-25 18:34:16 | [diff] [blame] | 293 | "ppapi_message_utils.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 294 | "ppapi_messages.cc", |
| 295 | "ppapi_messages.h", |
| 296 | "ppapi_param_traits.cc", |
| 297 | "ppapi_param_traits.h", |
Ari Chivukula | 1da866b | 2021-08-11 22:39:06 | [diff] [blame] | 298 | "ppb_buffer_proxy.h", |
| 299 | "proxy_channel.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 300 | "raw_var_data.cc", |
| 301 | "raw_var_data.h", |
| 302 | "resource_message_params.cc", |
| 303 | "resource_message_params.h", |
Ari Chivukula | 1da866b | 2021-08-11 22:39:06 | [diff] [blame] | 304 | "resource_reply_thread_registrar.h", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 305 | "serialized_handle.cc", |
| 306 | "serialized_handle.h", |
| 307 | "serialized_structs.cc", |
| 308 | "serialized_structs.h", |
| 309 | "serialized_var.cc", |
| 310 | "serialized_var.h", |
| 311 | "var_serialization_rules.h", |
| 312 | ] |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 313 | |
| 314 | configs += [ ":proxy_implementation" ] |
| 315 | |
| 316 | deps = [ |
| 317 | "//base", |
fsamuel | 19acfae | 2016-03-22 05:38:24 | [diff] [blame] | 318 | "//gpu/ipc/common:command_buffer_traits", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 319 | "//ppapi/c", |
| 320 | "//ppapi/shared_impl", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 321 | ] |
rockot | 38e46dd | 2017-03-24 16:55:13 | [diff] [blame] | 322 | |
Nico Weber | 2c451b53 | 2020-01-13 19:15:58 | [diff] [blame] | 323 | public_deps = [ "//ipc" ] |
rockot | 38e46dd | 2017-03-24 16:55:13 | [diff] [blame] | 324 | |
Fabian Sommer | 295fb5d | 2022-08-22 10:25:04 | [diff] [blame] | 325 | if (!is_nacl && !is_minimal_toolchain) { |
miletus | 45effdc4 | 2015-08-05 00:29:18 | [diff] [blame] | 326 | deps += [ "//skia" ] |
dpranke | 6065cf7 | 2015-02-26 03:30:58 | [diff] [blame] | 327 | } |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 328 | } |
| 329 | |
Dirk Pranke | 9c0fc3b | 2020-08-06 16:01:30 | [diff] [blame] | 330 | static_library("test_support") { |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 331 | testonly = true |
| 332 | |
| 333 | sources = [ |
| 334 | "ppapi_proxy_test.cc", |
| 335 | "ppapi_proxy_test.h", |
| 336 | "resource_message_test_sink.cc", |
| 337 | "resource_message_test_sink.h", |
| 338 | ] |
| 339 | |
Nico Weber | 2c451b53 | 2020-01-13 19:15:58 | [diff] [blame] | 340 | public_deps = [ ":proxy" ] |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 341 | deps = [ |
| 342 | "//base/test:test_support", |
| 343 | "//ipc", |
| 344 | "//ipc:test_support", |
| 345 | "//ppapi/proxy", |
| 346 | "//ppapi/shared_impl", |
Andrew Shulaev | c8f936e | 2021-06-25 15:48:15 | [diff] [blame] | 347 | "//ppapi/shared_impl:test_support", |
brettw | f7eb6ca | 2015-02-14 01:37:31 | [diff] [blame] | 348 | "//testing/gmock", |
| 349 | "//testing/gtest", |
| 350 | ] |
| 351 | } |