| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/chromeos/ui_mode.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| source_set("bluetooth_internals") { |
| sources = [ |
| "bluetooth_internals_handler.cc", |
| "bluetooth_internals_handler.h", |
| "bluetooth_internals_ui.cc", |
| "bluetooth_internals_ui.h", |
| ] |
| |
| public_deps = [ "//device/bluetooth:deprecated_experimental_mojo" ] |
| |
| deps = [ |
| ":mojo_bindings", |
| "//build:chromeos_buildflags", |
| "//chrome/browser/profiles:profile", |
| "//chrome/browser/resources/bluetooth_internals:resources", |
| "//chrome/common", |
| "//content/public/browser", |
| "//device/bluetooth", |
| "//ui/webui", |
| ] |
| |
| if (is_chromeos_ash) { |
| deps += [ "//chrome/browser/chromeos" ] |
| } |
| } |
| |
| mojom("mojo_bindings") { |
| sources = [ "bluetooth_internals.mojom" ] |
| |
| deps = |
| [ "//device/bluetooth/public/mojom:deprecated_experimental_interfaces" ] |
| } |