chromium/remoting/ios/audio/BUILD.gn

# Copyright 2017 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/chrome_build.gni")
import("//build/config/ios/rules.gni")
import("//remoting/build/config/remoting_build.gni")

source_set("audio") {
  sources = [
    "audio_playback_sink_ios.cc",
    "audio_playback_sink_ios.h",
  ]

  deps = [
    "//base",
    "//remoting/base",
    "//remoting/client/audio",
  ]

  public_deps = [ "//remoting/proto" ]

  frameworks = [ "AudioToolbox.framework" ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "audio_playback_sink_ios_unittest.cc" ]
  deps = [
    ":audio",
    "//base",
    "//base/test:test_support",
    "//remoting/client/audio",
    "//remoting/client/audio:test_support",
    "//testing/gmock",
    "//testing/gtest",
  ]
}