cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / audio_modem / BUILD.gn
blobbb4b4b04152ea78a455bc70b8b65441a7a752659
1 # 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.
5 source_set("audio_modem") {
6   public = [
7     "public/audio_modem_types.h",
8     "public/modem.h",
9     "public/whispernet_client.h",
10   ]
11   sources = [
12     "audio_modem_switches.cc",
13     "audio_modem_switches.h",
14     "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",
23   ]
25   deps = [
26     "//base",
27     "//content",
28     "//media",
29     "//media:shared_memory_support",
30     "//third_party/webrtc/common_audio",
31   ]
34 source_set("test_support") {
35   testonly = true
36   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   ]
45   public_deps = [
46     ":audio_modem",
47   ]
48   deps = [
49     "//base",
50     "//media",
51   ]
54 source_set("unit_tests") {
55   testonly = true
56   sources = [
57     "audio_player_unittest.cc",
58     "audio_recorder_unittest.cc",
59     "modem_unittest.cc",
60   ]
62   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
64   deps = [
65     ":test_support",
66     "//testing/gtest",
67   ]