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

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

Issue 2321473004: Move coder, file_player, and file_recorder to webrtc/voice_engine (Closed)
Patch Set: Update .gyp files Created 4 years, 3 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 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 if (is_clang) { 81 if (is_clang) {
82 # Suppress warnings from Chrome's Clang plugins. 82 # Suppress warnings from Chrome's Clang plugins.
83 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 83 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
84 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 84 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
85 } 85 }
86 86
87 public_deps = [ 87 public_deps = [
88 "../modules/audio_coding", 88 "../modules/audio_coding",
89 ] 89 ]
90 deps = [ 90 deps = [
91 ":file_player",
92 ":file_recorder",
91 ":level_indicator", 93 ":level_indicator",
92 "..:rtc_event_log", 94 "..:rtc_event_log",
93 "..:webrtc_common", 95 "..:webrtc_common",
94 "../api:call_api", 96 "../api:call_api",
95 "../base:rtc_base_approved", 97 "../base:rtc_base_approved",
96 "../common_audio", 98 "../common_audio",
97 "../modules/audio_conference_mixer", 99 "../modules/audio_conference_mixer",
98 "../modules/audio_device", 100 "../modules/audio_device",
99 "../modules/audio_processing", 101 "../modules/audio_processing",
100 "../modules/bitrate_controller", 102 "../modules/bitrate_controller",
(...skipping 11 matching lines...) Expand all
112 "level_indicator.h", 114 "level_indicator.h",
113 ] 115 ]
114 116
115 deps = [ 117 deps = [
116 "..:webrtc_common", 118 "..:webrtc_common",
117 "../base:rtc_base_approved", 119 "../base:rtc_base_approved",
118 "../common_audio", 120 "../common_audio",
119 ] 121 ]
120 } 122 }
121 123
124 rtc_source_set("audio_coder") {
125 sources = [
126 "coder.cc",
127 "coder.h",
128 ]
129 deps = [
130 "//webrtc:webrtc_common",
131 "//webrtc/modules/audio_coding:audio_coding",
132 "//webrtc/modules/audio_coding:builtin_audio_decoder_factory",
133 "//webrtc/modules/audio_coding:rent_a_codec",
134 ]
135 if (is_clang) {
136 # Suppress warnings from Chrome's Clang plugins.
137 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
138 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
139 }
140 }
141
142 rtc_source_set("file_player") {
143 sources = [
144 "file_player.cc",
145 "file_player.h",
146 ]
147 deps = [
148 ":audio_coder",
149 "//webrtc:webrtc_common",
150 "//webrtc/common_audio:common_audio",
151 "//webrtc/modules/media_file:media_file",
152 "//webrtc/system_wrappers:system_wrappers",
153 ]
154 if (is_clang) {
155 # Suppress warnings from Chrome's Clang plugins.
156 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
157 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
158 }
159 }
160
161 rtc_source_set("file_recorder") {
162 sources = [
163 "file_recorder.cc",
164 "file_recorder.h",
165 ]
166 deps = [
167 ":audio_coder",
168 "//webrtc:webrtc_common",
169 "//webrtc/base:rtc_base_approved",
170 "//webrtc/common_audio:common_audio",
171 "//webrtc/modules/media_file:media_file",
172 "//webrtc/system_wrappers:system_wrappers",
173 ]
174 if (is_clang) {
175 # Suppress warnings from Chrome's Clang plugins.
176 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
177 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
178 }
179 }
180
122 if (rtc_include_tests) { 181 if (rtc_include_tests) {
123 rtc_test("voice_engine_unittests") { 182 rtc_test("voice_engine_unittests") {
124 deps = [ 183 deps = [
125 ":voice_engine", 184 ":voice_engine",
126 "//testing/gmock", 185 "//testing/gmock",
127 "//testing/gtest", 186 "//testing/gtest",
187 "//third_party/gflags",
128 "//webrtc/common_audio", 188 "//webrtc/common_audio",
129 "//webrtc/modules/audio_coding", 189 "//webrtc/modules/audio_coding",
130 "//webrtc/modules/audio_conference_mixer", 190 "//webrtc/modules/audio_conference_mixer",
131 "//webrtc/modules/audio_device", 191 "//webrtc/modules/audio_device",
132 "//webrtc/modules/audio_processing", 192 "//webrtc/modules/audio_processing",
133 "//webrtc/modules/media_file", 193 "//webrtc/modules/media_file",
134 "//webrtc/modules/rtp_rtcp", 194 "//webrtc/modules/rtp_rtcp",
135 "//webrtc/modules/utility", 195 "//webrtc/modules/utility",
136 "//webrtc/system_wrappers", 196 "//webrtc/system_wrappers",
137 "//webrtc/test:test_support_main", 197 "//webrtc/test:test_support_main",
138 ] 198 ]
139 199
140 if (is_android) { 200 if (is_android) {
141 deps += [ "//testing/android/native_test:native_test_native_code" ] 201 deps += [ "//testing/android/native_test:native_test_native_code" ]
142 shard_timeout = 900 202 shard_timeout = 900
143 } 203 }
144 204
145 sources = [ 205 sources = [
146 "channel_unittest.cc", 206 "channel_unittest.cc",
207 "file_player_unittests.cc",
147 "network_predictor_unittest.cc", 208 "network_predictor_unittest.cc",
148 "transmit_mixer_unittest.cc", 209 "transmit_mixer_unittest.cc",
149 "utility_unittest.cc", 210 "utility_unittest.cc",
150 "voe_audio_processing_unittest.cc", 211 "voe_audio_processing_unittest.cc",
151 "voe_base_unittest.cc", 212 "voe_base_unittest.cc",
152 "voe_codec_unittest.cc", 213 "voe_codec_unittest.cc",
153 "voe_network_unittest.cc", 214 "voe_network_unittest.cc",
154 "voice_engine_fixture.cc", 215 "voice_engine_fixture.cc",
155 "voice_engine_fixture.h", 216 "voice_engine_fixture.h",
156 ] 217 ]
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 } 319 }
259 320
260 if (is_clang) { 321 if (is_clang) {
261 # Suppress warnings from Chrome's Clang plugins. 322 # Suppress warnings from Chrome's Clang plugins.
262 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 323 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
263 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 324 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
264 } 325 }
265 } 326 }
266 } 327 }
267 } 328 }
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