# Copyright 2021 The Chromium Authors
# 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")
assert(is_chromeos_ash, "Audio WebUI is Chrome OS only.")
mojom("mojo_bindings") {
sources = [ "audio.mojom" ]
webui_module_path = "/"
}
static_library("audio") {
sources = [
"audio_handler.cc",
"audio_handler.h",
"audio_ui.cc",
"audio_ui.h",
]
public_deps = [
":mojo_bindings",
"//base",
"//chrome/common",
"//chromeos/ash/components/audio",
"//content/public/browser",
"//content/public/common",
"//mojo/public/cpp/bindings",
"//ui/webui",
]
deps = [
"//ash/constants",
"//chrome/browser/resources/chromeos/audio:resources",
"//chrome/browser/ui",
"//chrome/browser/ui/webui",
]
}