chromium/cc/mojo_embedder/BUILD.gn

# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//cc/cc.gni")

cc_component("mojo_embedder") {
  output_name = "cc_mojo_embedder"
  sources = [
    "async_layer_tree_frame_sink.cc",
    "async_layer_tree_frame_sink.h",
    "viz_layer_context.cc",
    "viz_layer_context.h",
  ]

  defines = [ "CC_MOJO_EMBEDDER_IMPLEMENTATION" ]

  deps = [
    "//base",
    "//cc",
    "//components/viz/client",
    "//components/viz/common",
    "//gpu/ipc/client",
    "//mojo/public/cpp/bindings",
    "//services/viz/public/mojom",
  ]
}