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