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

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

Issue 2240163002: Move FilePlayer and FileRecorder to Voice Engine (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase 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 "../modules/audio_coding:audio_coding",
21 "../modules/audio_coding:builtin_audio_decoder_factory",
22 "../modules/audio_coding:rent_a_codec",
23 "..:webrtc_common",
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 "../common_audio:common_audio",
43 "../modules/media_file:media_file",
44 "../system_wrappers:system_wrappers",
45 "..:webrtc_common",
46 ":audio_coder",
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 "../base:rtc_base_approved",
66 "../common_audio:common_audio",
67 "../modules/media_file:media_file",
68 "../system_wrappers:system_wrappers",
69 "..:webrtc_common",
70 ":audio_coder",
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
12 source_set("voice_engine") { 80 source_set("voice_engine") {
13 sources = [ 81 sources = [
14 "channel.cc", 82 "channel.cc",
15 "channel.h", 83 "channel.h",
16 "channel_manager.cc", 84 "channel_manager.cc",
17 "channel_manager.h", 85 "channel_manager.h",
18 "channel_proxy.cc", 86 "channel_proxy.cc",
19 "channel_proxy.h", 87 "channel_proxy.h",
20 "include/voe_audio_processing.h", 88 "include/voe_audio_processing.h",
21 "include/voe_base.h", 89 "include/voe_base.h",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 configs += [ "..:common_config" ] 150 configs += [ "..:common_config" ]
83 public_configs = [ "..:common_inherited_config" ] 151 public_configs = [ "..:common_inherited_config" ]
84 152
85 if (is_clang) { 153 if (is_clang) {
86 # Suppress warnings from Chrome's Clang plugins. 154 # Suppress warnings from Chrome's Clang plugins.
87 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 155 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
88 configs -= [ "//build/config/clang:find_bad_constructs" ] 156 configs -= [ "//build/config/clang:find_bad_constructs" ]
89 } 157 }
90 158
91 deps = [ 159 deps = [
160 ":file_player",
161 ":file_recorder",
92 ":level_indicator", 162 ":level_indicator",
93 "..:rtc_event_log", 163 "..:rtc_event_log",
94 "..:webrtc_common", 164 "..:webrtc_common",
95 "../base:rtc_base_approved", 165 "../base:rtc_base_approved",
96 "../common_audio", 166 "../common_audio",
97 "../modules/audio_coding", 167 "../modules/audio_coding",
98 "../modules/audio_conference_mixer", 168 "../modules/audio_conference_mixer",
99 "../modules/audio_device", 169 "../modules/audio_device",
100 "../modules/audio_processing", 170 "../modules/audio_processing",
101 "../modules/bitrate_controller", 171 "../modules/bitrate_controller",
(...skipping 20 matching lines...) Expand all
122 "../common_audio", 192 "../common_audio",
123 ] 193 ]
124 } 194 }
125 195
126 if (rtc_include_tests) { 196 if (rtc_include_tests) {
127 test("voice_engine_unittests") { 197 test("voice_engine_unittests") {
128 deps = [ 198 deps = [
129 ":voice_engine", 199 ":voice_engine",
130 "//testing/gmock", 200 "//testing/gmock",
131 "//testing/gtest", 201 "//testing/gtest",
202 "//third_party/gflags",
132 "//webrtc/common_audio", 203 "//webrtc/common_audio",
133 "//webrtc/modules/audio_coding", 204 "//webrtc/modules/audio_coding",
134 "//webrtc/modules/audio_conference_mixer", 205 "//webrtc/modules/audio_conference_mixer",
135 "//webrtc/modules/audio_device", 206 "//webrtc/modules/audio_device",
136 "//webrtc/modules/audio_processing", 207 "//webrtc/modules/audio_processing",
137 "//webrtc/modules/media_file", 208 "//webrtc/modules/media_file",
138 "//webrtc/modules/rtp_rtcp", 209 "//webrtc/modules/rtp_rtcp",
139 "//webrtc/modules/utility", 210 "//webrtc/modules/utility",
140 "//webrtc/system_wrappers", 211 "//webrtc/system_wrappers",
141 "//webrtc/test:test_support_main", 212 "//webrtc/test:test_support_main",
142 ] 213 ]
143 214
144 if (is_android) { 215 if (is_android) {
145 deps += [ "//testing/android/native_test:native_test_native_code" ] 216 deps += [ "//testing/android/native_test:native_test_native_code" ]
146 shard_timeout = 900 217 shard_timeout = 900
218 data = [
219 "//resources/utility/encapsulated_pcm16b_8khz.wav",
220 "//resources/utility/encapsulated_pcmu_8khz.wav",
221 ]
147 } 222 }
148 223
149 sources = [ 224 sources = [
150 "channel_unittest.cc", 225 "channel_unittest.cc",
226 "file_player_unittests.cc",
151 "network_predictor_unittest.cc", 227 "network_predictor_unittest.cc",
152 "transmit_mixer_unittest.cc", 228 "transmit_mixer_unittest.cc",
153 "utility_unittest.cc", 229 "utility_unittest.cc",
154 "voe_audio_processing_unittest.cc", 230 "voe_audio_processing_unittest.cc",
155 "voe_base_unittest.cc", 231 "voe_base_unittest.cc",
156 "voe_codec_unittest.cc", 232 "voe_codec_unittest.cc",
157 "voe_network_unittest.cc", 233 "voe_network_unittest.cc",
158 "voice_engine_fixture.cc", 234 "voice_engine_fixture.cc",
159 "voice_engine_fixture.h", 235 "voice_engine_fixture.h",
160 ] 236 ]
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 } 338 }
263 339
264 if (is_clang) { 340 if (is_clang) {
265 # Suppress warnings from Chrome's Clang plugins. 341 # Suppress warnings from Chrome's Clang plugins.
266 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 342 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
267 configs -= [ "//build/config/clang:find_bad_constructs" ] 343 configs -= [ "//build/config/clang:find_bad_constructs" ]
268 } 344 }
269 } 345 }
270 } 346 }
271 } 347 }
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