# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//build/config/ui.gni") import("//cc/cc.gni") import("//mojo/public/tools/bindings/mojom.gni") cc_component("ipc") { output_name = "cc_ipc" defines = [ "CC_IPC_IMPLEMENTATION" ] sources = [ "cc_ipc_export.h", "cc_param_traits.cc", "cc_param_traits.h", "cc_param_traits_macros.h", ] public_deps = [ "//cc", "//cc/surfaces", "//components/viz/common", "//skia", ] deps = [ "//base", "//gpu/ipc/common", "//ipc", "//ui/gfx", "//ui/gfx/ipc", "//ui/gfx/ipc/color", "//ui/gfx/ipc/geometry", "//ui/gfx/ipc/skia", "//ui/latency/ipc", ] } mojom("interfaces") { sources = [ "begin_frame_args.mojom", "compositor_frame.mojom", "compositor_frame_metadata.mojom", "compositor_frame_sink.mojom", "copy_output_request.mojom", "copy_output_result.mojom", "filter_operation.mojom", "filter_operations.mojom", "frame_sink_id.mojom", "frame_sink_manager.mojom", "local_surface_id.mojom", "quads.mojom", "render_pass.mojom", "returned_resource.mojom", "selection.mojom", "shared_bitmap_allocation_notifier.mojom", "shared_quad_state.mojom", "surface_id.mojom", "surface_info.mojom", "surface_sequence.mojom", "texture_mailbox.mojom", "texture_mailbox_releaser.mojom", "transferable_resource.mojom", ] public_deps = [ "//gpu/ipc/common:interfaces", "//mojo/common:common_custom_types", "//skia/public/interfaces", "//ui/gfx/geometry/mojo", "//ui/gfx/mojo", "//ui/latency/mojo:interfaces", ] } mojom("test_interfaces") { testonly = true sources = [ "traits_test_service.mojom", ] public_deps = [ ":interfaces", ] }