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