blob: bb4b4b04152ea78a455bc70b8b65441a7a752659 [file] [log] [blame]
ckehoea9408e142015-02-17 20:05:241# Copyright 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
brettw0741cb1c2015-08-21 22:06:005source_set("audio_modem") {
6 public = [
7 "public/audio_modem_types.h",
8 "public/modem.h",
9 "public/whispernet_client.h",
10 ]
ckehoea9408e142015-02-17 20:05:2411 sources = [
scottmg7c7296f42015-02-28 02:23:0912 "audio_modem_switches.cc",
13 "audio_modem_switches.h",
ckehoea9408e142015-02-17 20:05:2414 "audio_player.h",
15 "audio_player_impl.cc",
16 "audio_player_impl.h",
17 "audio_recorder.h",
18 "audio_recorder_impl.cc",
19 "audio_recorder_impl.h",
20 "constants.cc",
21 "modem_impl.cc",
22 "modem_impl.h",
ckehoea9408e142015-02-17 20:05:2423 ]
24
25 deps = [
26 "//base",
27 "//content",
28 "//media",
brettw03b41ba2015-08-19 19:53:1729 "//media:shared_memory_support",
ckehoea9408e142015-02-17 20:05:2430 "//third_party/webrtc/common_audio",
31 ]
32}
Charlie Kehoed5f5d112015-02-20 00:44:3433
tfarina4df99d32015-07-22 17:58:4134source_set("test_support") {
brettw0741cb1c2015-08-21 22:06:0035 testonly = true
Charlie Kehoed5f5d112015-02-20 00:44:3436 sources = [
37 "test/random_samples.cc",
38 "test/random_samples.h",
39 "test/stub_modem.cc",
40 "test/stub_modem.h",
41 "test/stub_whispernet_client.cc",
42 "test/stub_whispernet_client.h",
43 ]
44
brettw0741cb1c2015-08-21 22:06:0045 public_deps = [
46 ":audio_modem",
47 ]
Charlie Kehoed5f5d112015-02-20 00:44:3448 deps = [
49 "//base",
50 "//media",
51 ]
52}
brettw0741cb1c2015-08-21 22:06:0053
54source_set("unit_tests") {
55 testonly = true
56 sources = [
57 "audio_player_unittest.cc",
58 "audio_recorder_unittest.cc",
59 "modem_unittest.cc",
60 ]
61
62 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
63
64 deps = [
65 ":test_support",
66 "//testing/gtest",
67 ]
68}