# 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.

source_set("cpp") {
  sources = [
    "audio_system_factory.cc",
    "audio_system_factory.h",
    "audio_system_to_service_adapter.cc",
    "audio_system_to_service_adapter.h",
    "debug_recording_session.cc",
    "debug_recording_session.h",
    "debug_recording_session_factory.cc",
    "debug_recording_session_factory.h",
    "device_factory.cc",
    "device_factory.h",
    "input_ipc.cc",
    "input_ipc.h",
    "output_device.cc",
    "output_device.h",
  ]

  public_deps = [
    "//base",
    "//media",
    "//services/audio/public/mojom",
    "//services/service_manager/public/cpp",
  ]
}

source_set("test_support") {
  testonly = true

  sources = [
    "fake_stream_factory.cc",
    "fake_stream_factory.h",
    "fake_system_info.cc",
    "fake_system_info.h",
  ]

  deps = [
    "//testing/gmock",
  ]

  public_deps = [
    "//base",
    "//media",
    "//services/audio/public/mojom",
    "//services/service_manager/public/cpp",
  ]
}
