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 import("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 | 6 |
7 config("proxy_implementation") { | 7 config("proxy_implementation") { |
8 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] | 8 defines = [ "PPAPI_PROXY_IMPLEMENTATION" ] |
9 } | 9 } |
10 | 10 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 "plugin_resource_tracker.cc", | 95 "plugin_resource_tracker.cc", |
96 "plugin_resource_tracker.h", | 96 "plugin_resource_tracker.h", |
97 "plugin_resource_var.cc", | 97 "plugin_resource_var.cc", |
98 "plugin_resource_var.h", | 98 "plugin_resource_var.h", |
99 "plugin_var_serialization_rules.cc", | 99 "plugin_var_serialization_rules.cc", |
100 "plugin_var_serialization_rules.h", | 100 "plugin_var_serialization_rules.h", |
101 "plugin_var_tracker.cc", | 101 "plugin_var_tracker.cc", |
102 "plugin_var_tracker.h", | 102 "plugin_var_tracker.h", |
103 "ppapi_command_buffer_proxy.cc", | 103 "ppapi_command_buffer_proxy.cc", |
104 "ppapi_command_buffer_proxy.h", | 104 "ppapi_command_buffer_proxy.h", |
105 "ppapi_message_utils.h", | |
106 "ppapi_messages.h", | 105 "ppapi_messages.h", |
107 "ppb_audio_proxy.cc", | 106 "ppb_audio_proxy.cc", |
108 "ppb_audio_proxy.h", | 107 "ppb_audio_proxy.h", |
109 "ppb_core_proxy.cc", | 108 "ppb_core_proxy.cc", |
110 "ppb_core_proxy.h", | 109 "ppb_core_proxy.h", |
111 "ppb_graphics_3d_proxy.cc", | 110 "ppb_graphics_3d_proxy.cc", |
112 "ppb_graphics_3d_proxy.h", | 111 "ppb_graphics_3d_proxy.h", |
113 "ppb_image_data_proxy.cc", | 112 "ppb_image_data_proxy.cc", |
114 "ppb_image_data_proxy.h", | 113 "ppb_image_data_proxy.h", |
115 "ppb_instance_proxy.cc", | 114 "ppb_instance_proxy.cc", |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 configs += [ | 271 configs += [ |
273 ":proxy_implementation", | 272 ":proxy_implementation", |
274 "//build/config:precompiled_headers", | 273 "//build/config:precompiled_headers", |
275 ] | 274 ] |
276 | 275 |
277 public_deps = [ | 276 public_deps = [ |
278 "//ppapi/proxy:ipc_sources", | 277 "//ppapi/proxy:ipc_sources", |
279 ] | 278 ] |
280 | 279 |
281 deps = [ | 280 deps = [ |
| 281 ":common", |
282 "//base", | 282 "//base", |
283 "//gpu/command_buffer/client:gles2_implementation", | 283 "//gpu/command_buffer/client:gles2_implementation", |
284 "//gpu/ipc/common:command_buffer_traits", | 284 "//gpu/ipc/common:command_buffer_traits", |
285 "//ipc", | 285 "//ipc", |
286 "//media:shared_memory_support", | 286 "//media:shared_memory_support", |
287 "//mojo/edk/system", | 287 "//mojo/edk/system", |
288 "//ppapi/c", | 288 "//ppapi/c", |
289 "//ppapi/shared_impl", | 289 "//ppapi/shared_impl", |
290 "//ui/gfx/geometry", | 290 "//ui/gfx/geometry", |
291 "//ui/gfx/ipc/geometry", | 291 "//ui/gfx/ipc/geometry", |
292 ] | 292 ] |
293 | 293 |
294 if (!is_nacl) { | 294 if (!is_nacl) { |
295 deps += [ | 295 deps += [ |
296 "//base/third_party/dynamic_annotations", | 296 "//base/third_party/dynamic_annotations", |
297 "//gin", | 297 "//gin", |
298 "//skia", | 298 "//skia", |
299 "//ui/events:events_base", | 299 "//ui/events:events_base", |
300 "//ui/surface", | 300 "//ui/surface", |
301 ] | 301 ] |
302 } | 302 } |
303 | 303 |
304 if (!is_nacl_nonsfi) { | 304 if (!is_nacl_nonsfi) { |
305 deps += [ "//third_party/icu" ] | 305 deps += [ "//third_party/icu" ] |
306 } | 306 } |
307 } | 307 } |
308 | 308 |
| 309 source_set("common") { |
| 310 sources = [ |
| 311 "tcp_socket_resource_constants.cc", |
| 312 "tcp_socket_resource_constants.h", |
| 313 "udp_socket_resource_constants.cc", |
| 314 "udp_socket_resource_constants.h", |
| 315 ] |
| 316 |
| 317 configs += [ ":proxy_implementation" ] |
| 318 } |
| 319 |
309 group("ipc") { | 320 group("ipc") { |
310 if (is_component_build) { | 321 if (is_component_build) { |
311 public_deps = [ | 322 public_deps = [ |
312 "//ppapi/proxy", | 323 "//ppapi/proxy", |
313 ] | 324 ] |
314 } else { | 325 } else { |
315 public_deps = [ | 326 public_deps = [ |
316 ":ipc_sources", | 327 ":ipc_sources", |
317 ] | 328 ] |
318 } | 329 } |
319 } | 330 } |
320 | 331 |
321 source_set("ipc_sources") { | 332 source_set("ipc_sources") { |
322 sources = [ | 333 sources = [ |
323 "nacl_message_scanner.cc", | 334 "nacl_message_scanner.cc", |
324 "nacl_message_scanner.h", | 335 "nacl_message_scanner.h", |
| 336 "ppapi_message_utils.h", |
325 "ppapi_messages.cc", | 337 "ppapi_messages.cc", |
326 "ppapi_messages.h", | 338 "ppapi_messages.h", |
327 "ppapi_param_traits.cc", | 339 "ppapi_param_traits.cc", |
328 "ppapi_param_traits.h", | 340 "ppapi_param_traits.h", |
329 "raw_var_data.cc", | 341 "raw_var_data.cc", |
330 "raw_var_data.h", | 342 "raw_var_data.h", |
331 "resource_message_params.cc", | 343 "resource_message_params.cc", |
332 "resource_message_params.h", | 344 "resource_message_params.h", |
333 "serialized_flash_menu.cc", | 345 "serialized_flash_menu.cc", |
334 "serialized_flash_menu.h", | 346 "serialized_flash_menu.h", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 deps = [ | 386 deps = [ |
375 "//base/test:test_support", | 387 "//base/test:test_support", |
376 "//ipc", | 388 "//ipc", |
377 "//ipc:test_support", | 389 "//ipc:test_support", |
378 "//ppapi/proxy", | 390 "//ppapi/proxy", |
379 "//ppapi/shared_impl", | 391 "//ppapi/shared_impl", |
380 "//testing/gmock", | 392 "//testing/gmock", |
381 "//testing/gtest", | 393 "//testing/gtest", |
382 ] | 394 ] |
383 } | 395 } |
OLD | NEW |