| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("interfaces") { | 7 mojom("interfaces") { |
| 8 sources = [ | 8 sources = [ |
| 9 "gamepad.mojom", | 9 "gamepad.mojom", |
| 10 ] | 10 ] |
| 11 | |
| 12 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | |
| 13 use_once_callback = false | |
| 14 } | 11 } |
| 15 | 12 |
| 16 mojom("gamepad_struct_traits_test") { | 13 mojom("gamepad_struct_traits_test") { |
| 17 sources = [ | 14 sources = [ |
| 18 "gamepad_struct_traits_test.mojom", | 15 "gamepad_struct_traits_test.mojom", |
| 19 ] | 16 ] |
| 20 | 17 |
| 21 public_deps = [ | 18 public_deps = [ |
| 22 ":interfaces", | 19 ":interfaces", |
| 23 ] | 20 ] |
| 24 | |
| 25 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | |
| 26 use_once_callback = false | |
| 27 } | 21 } |
| OLD | NEW |