chromium/components/mirroring/mojom/BUILD.gn

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

import("//mojo/public/tools/bindings/mojom.gni")

mojom("common") {
  sources = [
    "cast_message_channel.mojom",
    "session_observer.mojom",
    "session_parameters.mojom",
  ]

  public_deps = [
    "//mojo/public/mojom/base",
    "//services/network/public/mojom:mojom_ip_address",
  ]
}

mojom("service") {
  sources = [
    "mirroring_service.mojom",
    "resource_provider.mojom",
  ]

  public_deps = [
    ":common",
    "//media/capture/mojom:video_capture",
    "//media/mojo/mojom",
    "//media/mojo/mojom:remoting",
    "//sandbox/policy/mojom",
    "//services/network/public/mojom",
    "//services/viz/public/mojom",
    "//ui/gfx/geometry/mojom",
  ]
}