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