summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/media_router/mojo/BUILD.gn
blob: af86721d910954f95e8b5ce09c9f3a352e3ef242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 2017 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("//mojo/public/tools/bindings/mojom.gni")

mojom("media_controller") {
  sources = [
    "media_controller.mojom",
    "media_status.mojom",
  ]

  public_deps = [
    "//mojo/public/mojom/base",
  ]
}

mojom("media_router") {
  sources = [
    "media_router.mojom",
  ]

  public_deps = [
    ":media_controller",
    "//components/mirroring/mojom:host",
    "//media/mojo/interfaces:mirror_service_remoting",
    "//mojo/public/mojom/base",
    "//net/interfaces:interfaces",
    "//third_party/blink/public/mojom:mojom_platform",
    "//url/mojom:url_mojom_gurl",
    "//url/mojom:url_mojom_origin",
  ]

  if (is_component_build) {
    overridden_deps = [ "//third_party/blink/public/mojom:mojom_platform" ]
    component_deps = [ "//third_party/blink/public/common" ]
  }

  disable_variants = true
}

mojom("media_router_test_interfaces") {
  sources = [
    "media_router_traits_test_service.mojom",
  ]

  public_deps = [
    ":media_router",
  ]

  disable_variants = true
}