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