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