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