summaryrefslogtreecommitdiff
path: root/chromium/remoting/ios/audio/BUILD.gn
blob: d0ad2af932fe21d5d868176c7d77c9e32385d3f5 (plain)
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
35
36
37
38
39
# 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.

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

  libs = [ "AudioToolbox.framework" ]

  configs += [ "//build/config/compiler:enable_arc" ]
}

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

  configs += [ "//build/config/compiler:enable_arc" ]
}