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

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

Issue 2974863003: Use relative paths in GN files. (Closed)
Patch Set: Created 3 years, 5 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/video/BUILD.gn ('k') | no next file » | 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("../webrtc.gni") 9 import("../webrtc.gni")
10 10
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ] 177 ]
178 } 178 }
179 179
180 if (rtc_include_tests) { 180 if (rtc_include_tests) {
181 rtc_test("voice_engine_unittests") { 181 rtc_test("voice_engine_unittests") {
182 deps = [ 182 deps = [
183 ":file_player", 183 ":file_player",
184 ":voice_engine", 184 ":voice_engine",
185 "../base:rtc_base_approved", 185 "../base:rtc_base_approved",
186 "../base:rtc_base_tests_utils", 186 "../base:rtc_base_tests_utils",
187 "../common_audio",
187 "../modules:module_api", 188 "../modules:module_api",
189 "../modules/audio_coding",
190 "../modules/audio_conference_mixer",
191 "../modules/audio_device",
192 "../modules/audio_processing",
193 "../modules/media_file",
194 "../modules/rtp_rtcp",
195 "../modules/utility",
196 "../modules/video_capture:video_capture",
197 "../system_wrappers",
188 "../test:test_common", 198 "../test:test_common",
199 "../test:test_main",
200 "../test:video_test_common",
189 "//testing/gmock", 201 "//testing/gmock",
190 "//testing/gtest", 202 "//testing/gtest",
191 "//third_party/gflags", 203 "//third_party/gflags",
192 "//webrtc/common_audio",
193 "//webrtc/modules/audio_coding",
194 "//webrtc/modules/audio_conference_mixer",
195 "//webrtc/modules/audio_device",
196 "//webrtc/modules/audio_processing",
197 "//webrtc/modules/media_file",
198 "//webrtc/modules/rtp_rtcp",
199 "//webrtc/modules/utility",
200 "//webrtc/modules/video_capture:video_capture",
201 "//webrtc/system_wrappers",
202 "//webrtc/test:test_main",
203 "//webrtc/test:video_test_common",
204 ] 204 ]
205 205
206 if (is_android) { 206 if (is_android) {
207 deps += [ "//testing/android/native_test:native_test_native_code" ] 207 deps += [ "//testing/android/native_test:native_test_native_code" ]
208 shard_timeout = 900 208 shard_timeout = 900
209 } 209 }
210 210
211 sources = [ 211 sources = [
212 "channel_unittest.cc", 212 "channel_unittest.cc",
213 "file_player_unittests.cc", 213 "file_player_unittests.cc",
214 "transport_feedback_packet_loss_tracker_unittest.cc", 214 "transport_feedback_packet_loss_tracker_unittest.cc",
215 "utility_unittest.cc", 215 "utility_unittest.cc",
216 "voe_base_unittest.cc", 216 "voe_base_unittest.cc",
217 "voe_codec_unittest.cc", 217 "voe_codec_unittest.cc",
218 "voe_network_unittest.cc", 218 "voe_network_unittest.cc",
219 "voice_engine_fixture.cc", 219 "voice_engine_fixture.cc",
220 "voice_engine_fixture.h", 220 "voice_engine_fixture.h",
221 ] 221 ]
222 222
223 data = [ 223 data = [
224 "//resources/utility/encapsulated_pcm16b_8khz.wav", 224 "../../resources/utility/encapsulated_pcm16b_8khz.wav",
225 "//resources/utility/encapsulated_pcmu_8khz.wav", 225 "../../resources/utility/encapsulated_pcmu_8khz.wav",
226 ] 226 ]
227 227
228 if (is_win) { 228 if (is_win) {
229 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ] 229 defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
230 230
231 cflags = [ 231 cflags = [
232 # TODO(kjellander): Bug 261: fix this warning. 232 # TODO(kjellander): Bug 261: fix this warning.
233 "/wd4373", # Virtual function override. 233 "/wd4373", # Virtual function override.
234 ] 234 ]
235 } 235 }
236 236
237 if (!build_with_chromium && is_clang) { 237 if (!build_with_chromium && is_clang) {
238 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 238 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
239 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 239 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
240 } 240 }
241 } 241 }
242 242
243 if (!is_ios) { 243 if (!is_ios) {
244 rtc_executable("voe_auto_test") { 244 rtc_executable("voe_auto_test") {
245 testonly = true 245 testonly = true
246 246
247 deps = [ 247 deps = [
248 ":voice_engine", 248 ":voice_engine",
249 "..:webrtc_common", 249 "..:webrtc_common",
250 "../base:rtc_base_approved", 250 "../base:rtc_base_approved",
251 "../logging:rtc_event_log_api",
251 "../modules:module_api", 252 "../modules:module_api",
252 "../modules/audio_device:audio_device", 253 "../modules/audio_device:audio_device",
253 "../modules/audio_processing:audio_processing", 254 "../modules/audio_processing:audio_processing",
254 "../modules/rtp_rtcp:rtp_rtcp", 255 "../modules/rtp_rtcp:rtp_rtcp",
256 "../modules/video_capture",
257 "../system_wrappers",
258 "../system_wrappers/:system_wrappers_default",
259 "../test/:test_common",
260 "../test/:test_support",
261 "../test/:video_test_common",
255 "//testing/gmock", 262 "//testing/gmock",
256 "//testing/gtest", 263 "//testing/gtest",
257 "//third_party/gflags", 264 "//third_party/gflags",
258 "//webrtc/logging:rtc_event_log_api",
259 "//webrtc/modules/video_capture",
260 "//webrtc/system_wrappers",
261 "//webrtc/system_wrappers/:system_wrappers_default",
262 "//webrtc/test/:test_common",
263 "//webrtc/test/:test_support",
264 "//webrtc/test/:video_test_common",
265 ] 265 ]
266 266
267 sources = [ 267 sources = [
268 "test/auto_test/automated_mode.cc", 268 "test/auto_test/automated_mode.cc",
269 "test/auto_test/fakes/conference_transport.cc", 269 "test/auto_test/fakes/conference_transport.cc",
270 "test/auto_test/fakes/conference_transport.h", 270 "test/auto_test/fakes/conference_transport.h",
271 "test/auto_test/fakes/loudest_filter.cc", 271 "test/auto_test/fakes/loudest_filter.cc",
272 "test/auto_test/fakes/loudest_filter.h", 272 "test/auto_test/fakes/loudest_filter.h",
273 "test/auto_test/fixtures/after_initialization_fixture.cc", 273 "test/auto_test/fixtures/after_initialization_fixture.cc",
274 "test/auto_test/fixtures/after_initialization_fixture.h", 274 "test/auto_test/fixtures/after_initialization_fixture.h",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 ] 306 ]
307 } 307 }
308 308
309 if (!build_with_chromium && is_clang) { 309 if (!build_with_chromium && is_clang) {
310 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) . 310 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163) .
311 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 311 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
312 } 312 }
313 } 313 }
314 } 314 }
315 } 315 }
OLDNEW
« no previous file with comments | « webrtc/video/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698