910e62b5创建于 1月15日历史提交
# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

assert(is_chromeos, "Non-Chrome-OS builds cannot depend on //chromeos/ash")

component("audio") {
  output_name = "ash_dbus_audio"

  defines = [ "IS_DBUS_AUDIO_IMPL" ]

  deps = [
    "//ash/constants",
    "//base",
    "//chromeos/dbus/common",
    "//dbus",
  ]

  sources = [
    "audio_node.cc",
    "audio_node.h",
    "cras_audio_client.cc",
    "cras_audio_client.h",
    "fake_cras_audio_client.cc",
    "fake_cras_audio_client.h",
    "fake_floss_media_client.cc",
    "fake_floss_media_client.h",
    "floss_media_client.cc",
    "floss_media_client.h",
    "voice_isolation_ui_appearance.cc",
    "voice_isolation_ui_appearance.h",
    "volume_state.cc",
    "volume_state.h",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "voice_isolation_ui_appearance_unittest.cc" ]
  deps = [
    ":audio",
    "//testing/gtest",
  ]
}