| 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 |
| 15 } | 18 } |
| 16 | 19 |
| 17 mojom("media_controller") { | 20 mojom("media_controller") { |
| 18 sources = [ | 21 sources = [ |
| 19 "media_controller.mojom", | 22 "media_controller.mojom", |
| 20 "media_status.mojom", | 23 "media_status.mojom", |
| 21 ] | 24 ] |
| 22 | 25 |
| 23 public_deps = [ | 26 public_deps = [ |
| 24 "//mojo/common:common_custom_types", | 27 "//mojo/common:common_custom_types", |
| 25 ] | 28 ] |
| 26 } | 29 } |
| 27 | 30 |
| 28 mojom("media_router") { | 31 mojom("media_router") { |
| 29 sources = [ | 32 sources = [ |
| 30 "media_router.mojom", | 33 "media_router.mojom", |
| 31 ] | 34 ] |
| 32 | 35 |
| 33 public_deps = [ | 36 public_deps = [ |
| 34 ":media_controller", | 37 ":media_controller", |
| 35 "//mojo/common:common_custom_types", | 38 "//mojo/common:common_custom_types", |
| 36 "//net/interfaces:interfaces", | 39 "//net/interfaces:interfaces", |
| 37 "//url/mojo:url_mojom_gurl", | 40 "//url/mojo:url_mojom_gurl", |
| 38 "//url/mojo:url_mojom_origin", | 41 "//url/mojo:url_mojom_origin", |
| 39 ] | 42 ] |
| 43 |
| 44 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 45 use_once_callback = false |
| 40 } | 46 } |
| 41 | 47 |
| 42 mojom("media_router_test_interfaces") { | 48 mojom("media_router_test_interfaces") { |
| 43 sources = [ | 49 sources = [ |
| 44 "media_router_traits_test_service.mojom", | 50 "media_router_traits_test_service.mojom", |
| 45 ] | 51 ] |
| 46 | 52 |
| 47 public_deps = [ | 53 public_deps = [ |
| 48 ":media_router", | 54 ":media_router", |
| 49 ] | 55 ] |
| 56 |
| 57 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 58 use_once_callback = false |
| 50 } | 59 } |
| OLD | NEW |