forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
68 lines (61 loc) · 1.33 KB
/
BUILD.gn
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright 2015 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.
source_set("audio_modem") {
public = [
"public/audio_modem_types.h",
"public/modem.h",
"public/whispernet_client.h",
]
sources = [
"audio_modem_switches.cc",
"audio_modem_switches.h",
"audio_player.h",
"audio_player_impl.cc",
"audio_player_impl.h",
"audio_recorder.h",
"audio_recorder_impl.cc",
"audio_recorder_impl.h",
"constants.cc",
"modem_impl.cc",
"modem_impl.h",
]
deps = [
"//base",
"//content",
"//media",
"//media:shared_memory_support",
"//third_party/webrtc/common_audio",
]
}
source_set("test_support") {
testonly = true
sources = [
"test/random_samples.cc",
"test/random_samples.h",
"test/stub_modem.cc",
"test/stub_modem.h",
"test/stub_whispernet_client.cc",
"test/stub_whispernet_client.h",
]
public_deps = [
":audio_modem",
]
deps = [
"//base",
"//media",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"audio_player_unittest.cc",
"audio_recorder_unittest.cc",
"modem_unittest.cc",
]
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
deps = [
":test_support",
"//testing/gtest",
]
}