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