1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34

media / fuchsia / audio / BUILD.gn [blame]

# 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" ]
}