blob: 46895f17e7ed0fb02715b80d98e9e5d97441fc83 [file] [log] [blame]
# 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("//mojo/public/tools/bindings/mojom.gni")
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",
"//skia",
]
deps = [
"//base",
"//gpu/ipc/common",
"//ipc",
"//ui/events/ipc",
"//ui/gfx",
"//ui/gfx/ipc",
"//ui/gfx/ipc/geometry",
"//ui/gfx/ipc/skia",
]
}
mojom("interfaces") {
sources = [
"begin_frame_args.mojom",
"compositor_frame.mojom",
"compositor_frame_metadata.mojom",
"filter_operation.mojom",
"filter_operations.mojom",
"quads.mojom",
"render_pass.mojom",
"render_pass_id.mojom",
"returned_resource.mojom",
"selection.mojom",
"shared_quad_state.mojom",
"transferable_resource.mojom",
]
public_deps = [
":interfaces_surfaceid_only",
"//gpu/ipc/common:interfaces",
"//mojo/common:common_custom_types",
"//skia/public/interfaces",
"//ui/events/mojo:interfaces",
"//ui/gfx/geometry/mojo",
"//ui/gfx/mojo",
]
}
mojom("interfaces_surfaceid_only") {
sources = [
"surface_id.mojom",
"surface_sequence.mojom",
]
}
mojom("test_interfaces") {
testonly = true
sources = [
"traits_test_service.mojom",
]
public_deps = [
":interfaces",
":interfaces_surfaceid_only",
]
}