OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 mojom("dial_utility_interfaces") { | 7 mojom("dial_utility_interfaces") { |
8 sources = [ | 8 sources = [ |
9 "dial_device_description_parser.mojom", | 9 "dial_device_description_parser.mojom", |
10 ] | 10 ] |
11 | 11 |
12 public_deps = [ | 12 public_deps = [ |
13 "//mojo/common:common_custom_types", | 13 "//mojo/common:common_custom_types", |
14 ] | 14 ] |
15 | |
16 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | |
17 use_once_callback = false | |
18 } | 15 } |
19 | 16 |
20 mojom("media_controller") { | 17 mojom("media_controller") { |
21 sources = [ | 18 sources = [ |
22 "media_controller.mojom", | 19 "media_controller.mojom", |
23 "media_status.mojom", | 20 "media_status.mojom", |
24 ] | 21 ] |
25 | 22 |
26 public_deps = [ | 23 public_deps = [ |
27 "//mojo/common:common_custom_types", | 24 "//mojo/common:common_custom_types", |
28 ] | 25 ] |
29 } | 26 } |
30 | 27 |
31 mojom("media_router") { | 28 mojom("media_router") { |
32 sources = [ | 29 sources = [ |
33 "media_router.mojom", | 30 "media_router.mojom", |
34 ] | 31 ] |
35 | 32 |
36 public_deps = [ | 33 public_deps = [ |
37 ":media_controller", | 34 ":media_controller", |
38 "//mojo/common:common_custom_types", | 35 "//mojo/common:common_custom_types", |
39 "//net/interfaces:interfaces", | 36 "//net/interfaces:interfaces", |
40 "//url/mojo:url_mojom_gurl", | 37 "//url/mojo:url_mojom_gurl", |
41 "//url/mojo:url_mojom_origin", | 38 "//url/mojo:url_mojom_origin", |
42 ] | 39 ] |
43 | |
44 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | |
45 use_once_callback = false | |
46 } | 40 } |
47 | 41 |
48 mojom("media_router_test_interfaces") { | 42 mojom("media_router_test_interfaces") { |
49 sources = [ | 43 sources = [ |
50 "media_router_traits_test_service.mojom", | 44 "media_router_traits_test_service.mojom", |
51 ] | 45 ] |
52 | 46 |
53 public_deps = [ | 47 public_deps = [ |
54 ":media_router", | 48 ":media_router", |
55 ] | 49 ] |
56 | |
57 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | |
58 use_once_callback = false | |
59 } | 50 } |
OLD | NEW |