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 | 20 |
21 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | 21 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
22 use_once_callback = false | 22 use_once_callback = false |
23 } | 23 } |
24 | 24 |
| 25 mojom("generic_sensor") { |
| 26 sources = [ |
| 27 "sensor.mojom", |
| 28 "sensor_provider.mojom", |
| 29 ] |
| 30 |
| 31 public_deps = [ |
| 32 ":constants", |
| 33 ] |
| 34 |
| 35 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 36 use_once_callback = false |
| 37 } |
| 38 |
25 mojom("constants") { | 39 mojom("constants") { |
26 sources = [ | 40 sources = [ |
27 "constants.mojom", | 41 "constants.mojom", |
28 ] | 42 ] |
29 } | 43 } |
OLD | NEW |