| 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 |
| 12 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 13 use_new_js_bindings = false |
| 11 } | 14 } |
| 12 | 15 |
| 13 mojom("fake_bluetooth_interfaces") { | 16 mojom("fake_bluetooth_interfaces") { |
| 14 sources = [ | 17 sources = [ |
| 15 "test/fake_bluetooth.mojom", | 18 "test/fake_bluetooth.mojom", |
| 16 ] | 19 ] |
| 17 | 20 |
| 18 public_deps = [ | 21 public_deps = [ |
| 19 ":interfaces", | 22 ":interfaces", |
| 20 ] | 23 ] |
| 21 | 24 |
| 22 use_once_callback = true | 25 use_once_callback = true |
| 26 |
| 27 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 28 use_new_js_bindings = false |
| 23 } | 29 } |
| 24 | 30 |
| 25 mojom("experimental_interfaces") { | 31 mojom("experimental_interfaces") { |
| 26 sources = [ | 32 sources = [ |
| 27 "adapter.mojom", | 33 "adapter.mojom", |
| 28 "device.mojom", | 34 "device.mojom", |
| 29 ] | 35 ] |
| 30 | 36 |
| 31 public_deps = [ | 37 public_deps = [ |
| 32 ":interfaces", | 38 ":interfaces", |
| 33 ] | 39 ] |
| 34 | 40 |
| 35 visibility = [ | 41 visibility = [ |
| 36 "//device/bluetooth:mojo", | 42 "//device/bluetooth:mojo", |
| 37 "//chrome/browser:*", | 43 "//chrome/browser:*", |
| 38 "//chrome/browser/ui:*", | 44 "//chrome/browser/ui:*", |
| 39 ] | 45 ] |
| 46 |
| 47 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 48 use_new_js_bindings = false |
| 40 } | 49 } |
| OLD | NEW |