Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: webrtc/voice_engine/BUILD.gn

Issue 2245413002: Revert of Move FilePlayer and FileRecorder to Voice Engine (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/utility/utility.gypi ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 11
12 source_set("audio_coder") {
13 sources = [
14 "coder.cc",
15 "coder.h",
16 ]
17 configs += [ "..:common_config" ]
18 public_configs = [ "..:common_inherited_config" ]
19 deps = [
20 "..:webrtc_common",
21 "../modules/audio_coding:audio_coding",
22 "../modules/audio_coding:builtin_audio_decoder_factory",
23 "../modules/audio_coding:rent_a_codec",
24 ]
25
26 if (is_clang) {
27 # Suppress warnings from Chrome's Clang plugins.
28 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
29 configs -= [ "//build/config/clang:find_bad_constructs" ]
30 }
31 }
32
33 source_set("file_player") {
34 sources = [
35 "file_player.h",
36 "file_player_impl.cc",
37 "file_player_impl.h",
38 ]
39 configs += [ "..:common_config" ]
40 public_configs = [ "..:common_inherited_config" ]
41 deps = [
42 ":audio_coder",
43 "..:webrtc_common",
44 "../common_audio:common_audio",
45 "../modules/media_file:media_file",
46 "../system_wrappers:system_wrappers",
47 ]
48
49 if (is_clang) {
50 # Suppress warnings from Chrome's Clang plugins.
51 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
52 configs -= [ "//build/config/clang:find_bad_constructs" ]
53 }
54 }
55
56 source_set("file_recorder") {
57 sources = [
58 "file_recorder.h",
59 "file_recorder_impl.cc",
60 "file_recorder_impl.h",
61 ]
62 configs += [ "..:common_config" ]
63 public_configs = [ "..:common_inherited_config" ]
64 deps = [
65 ":audio_coder",
66 "..:webrtc_common",
67 "../base:rtc_base_approved",
68 "../common_audio:common_audio",
69 "../modules/media_file:media_file",
70 "../system_wrappers:system_wrappers",
71 ]
72
73 if (is_clang) {
74 # Suppress warnings from Chrome's Clang plugins.
75 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
76 configs -= [ "//build/config/clang:find_bad_constructs" ]
77 }
78 }
79
80 source_set("voice_engine") { 12 source_set("voice_engine") {
81 sources = [ 13 sources = [
82 "channel.cc", 14 "channel.cc",
83 "channel.h", 15 "channel.h",
84 "channel_manager.cc", 16 "channel_manager.cc",
85 "channel_manager.h", 17 "channel_manager.h",
86 "channel_proxy.cc", 18 "channel_proxy.cc",
87 "channel_proxy.h", 19 "channel_proxy.h",
88 "include/voe_audio_processing.h", 20 "include/voe_audio_processing.h",
89 "include/voe_base.h", 21 "include/voe_base.h",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 configs += [ "..:common_config" ] 82 configs += [ "..:common_config" ]
151 public_configs = [ "..:common_inherited_config" ] 83 public_configs = [ "..:common_inherited_config" ]
152 84
153 if (is_clang) { 85 if (is_clang) {
154 # Suppress warnings from Chrome's Clang plugins. 86 # Suppress warnings from Chrome's Clang plugins.
155 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 87 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
156 configs -= [ "//build/config/clang:find_bad_constructs" ] 88 configs -= [ "//build/config/clang:find_bad_constructs" ]
157 } 89 }
158 90
159 deps = [ 91 deps = [
160 ":file_player",
161 ":file_recorder",
162 ":level_indicator", 92 ":level_indicator",
163 "..:rtc_event_log", 93 "..:rtc_event_log",
164 "..:webrtc_common", 94 "..:webrtc_common",
165 "../base:rtc_base_approved", 95 "../base:rtc_base_approved",
166 "../common_audio", 96 "../common_audio",
167 "../modules/audio_coding", 97 "../modules/audio_coding",
168 "../modules/audio_conference_mixer", 98 "../modules/audio_conference_mixer",
169 "../modules/audio_device", 99 "../modules/audio_device",
170 "../modules/audio_processing", 100 "../modules/audio_processing",
171 "../modules/bitrate_controller", 101 "../modules/bitrate_controller",
(...skipping 20 matching lines...) Expand all
192 "../common_audio", 122 "../common_audio",
193 ] 123 ]
194 } 124 }
195 125
196 if (rtc_include_tests) { 126 if (rtc_include_tests) {
197 test("voice_engine_unittests") { 127 test("voice_engine_unittests") {
198 deps = [ 128 deps = [
199 ":voice_engine", 129 ":voice_engine",
200 "//testing/gmock", 130 "//testing/gmock",
201 "//testing/gtest", 131 "//testing/gtest",
202 "//third_party/gflags",
203 "//webrtc/common_audio", 132 "//webrtc/common_audio",
204 "//webrtc/modules/audio_coding", 133 "//webrtc/modules/audio_coding",
205 "//webrtc/modules/audio_conference_mixer", 134 "//webrtc/modules/audio_conference_mixer",
206 "//webrtc/modules/audio_device", 135 "//webrtc/modules/audio_device",
207 "//webrtc/modules/audio_processing", 136 "//webrtc/modules/audio_processing",
208 "//webrtc/modules/media_file", 137 "//webrtc/modules/media_file",
209 "//webrtc/modules/rtp_rtcp", 138 "//webrtc/modules/rtp_rtcp",
210 "//webrtc/modules/utility", 139 "//webrtc/modules/utility",
211 "//webrtc/system_wrappers", 140 "//webrtc/system_wrappers",
212 "//webrtc/test:test_support_main", 141 "//webrtc/test:test_support_main",
213 ] 142 ]
214 143
215 if (is_android) { 144 if (is_android) {
216 deps += [ "//testing/android/native_test:native_test_native_code" ] 145 deps += [ "//testing/android/native_test:native_test_native_code" ]
217 shard_timeout = 900 146 shard_timeout = 900
218 data = [
219 "//resources/utility/encapsulated_pcm16b_8khz.wav",
220 "//resources/utility/encapsulated_pcmu_8khz.wav",
221 ]
222 } 147 }
223 148
224 sources = [ 149 sources = [
225 "channel_unittest.cc", 150 "channel_unittest.cc",
226 "file_player_unittests.cc",
227 "network_predictor_unittest.cc", 151 "network_predictor_unittest.cc",
228 "transmit_mixer_unittest.cc", 152 "transmit_mixer_unittest.cc",
229 "utility_unittest.cc", 153 "utility_unittest.cc",
230 "voe_audio_processing_unittest.cc", 154 "voe_audio_processing_unittest.cc",
231 "voe_base_unittest.cc", 155 "voe_base_unittest.cc",
232 "voe_codec_unittest.cc", 156 "voe_codec_unittest.cc",
233 "voe_network_unittest.cc", 157 "voe_network_unittest.cc",
234 "voice_engine_fixture.cc", 158 "voice_engine_fixture.cc",
235 "voice_engine_fixture.h", 159 "voice_engine_fixture.h",
236 ] 160 ]
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 } 262 }
339 263
340 if (is_clang) { 264 if (is_clang) {
341 # Suppress warnings from Chrome's Clang plugins. 265 # Suppress warnings from Chrome's Clang plugins.
342 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 266 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
343 configs -= [ "//build/config/clang:find_bad_constructs" ] 267 configs -= [ "//build/config/clang:find_bad_constructs" ]
344 } 268 }
345 } 269 }
346 } 270 }
347 } 271 }
OLDNEW
« no previous file with comments | « webrtc/modules/utility/utility.gypi ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698