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