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 "uuid.mojom", | 9 "uuid.mojom", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 mojom("fake_bluetooth_interfaces") { | 13 mojom("fake_bluetooth_interfaces") { |
14 sources = [ | 14 sources = [ |
15 "test/fake_bluetooth.mojom", | 15 "test/fake_bluetooth.mojom", |
16 ] | 16 ] |
| 17 |
| 18 public_deps = [ |
| 19 ":interfaces", |
| 20 ] |
| 21 |
| 22 use_once_callback = true |
17 } | 23 } |
18 | 24 |
19 mojom("experimental_interfaces") { | 25 mojom("experimental_interfaces") { |
20 sources = [ | 26 sources = [ |
21 "adapter.mojom", | 27 "adapter.mojom", |
22 "device.mojom", | 28 "device.mojom", |
23 ] | 29 ] |
24 | 30 |
25 public_deps = [ | 31 public_deps = [ |
26 ":interfaces", | 32 ":interfaces", |
27 ] | 33 ] |
28 | 34 |
29 visibility = [ | 35 visibility = [ |
30 "//device/bluetooth:mojo", | 36 "//device/bluetooth:mojo", |
31 "//chrome/browser:*", | 37 "//chrome/browser:*", |
32 "//chrome/browser/ui:*", | 38 "//chrome/browser/ui:*", |
33 ] | 39 ] |
34 } | 40 } |
OLD | NEW |