chromium/media/fuchsia/audio/BUILD.gn

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

source_set("test_support") {
  testonly = true
  deps = [ "//testing/gtest" ]
  public_deps = [
    "//base",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.media:fuchsia.media_hlcpp",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.media.audio:fuchsia.media.audio_hlcpp",
    "//third_party/fuchsia-sdk/sdk/pkg/fidl_cpp",
  ]
  sources = [
    "fake_audio_capturer.cc",
    "fake_audio_capturer.h",
    "fake_audio_consumer.cc",
    "fake_audio_consumer.h",
    "fake_audio_device_enumerator.cc",
    "fake_audio_device_enumerator.h",
  ]
}

source_set("test_support_components") {
  testonly = true
  public = [ "fake_audio_device_enumerator_local_component.h" ]
  sources = [ "fake_audio_device_enumerator_local_component.cc" ]
  public_deps = [
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.media:fuchsia.media_hlcpp",
    "//third_party/fuchsia-sdk/sdk/pkg/fidl_cpp",
    "//third_party/fuchsia-sdk/sdk/pkg/sys_component_cpp_testing",
  ]
  deps = [ "//testing/gtest" ]
}