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

Side by Side Diff: webrtc/modules/audio_processing/BUILD.gn

Issue 2222643002: Adding GN targets for audioproc, audioproc_f and unpack_aecdump (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 | « no previous file | 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("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 309
310 if (aec_debug_dump) { 310 if (aec_debug_dump) {
311 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ] 311 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ]
312 } else { 312 } else {
313 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ] 313 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ]
314 } 314 }
315 } 315 }
316 } 316 }
317 317
318 if (rtc_include_tests) { 318 if (rtc_include_tests) {
319 executable("audioproc") {
320 testonly = true
321 sources = [
322 "test/process_test.cc",
323 ]
324
325 configs += [ "../..:common_config" ]
326 public_configs = [ "../..:common_inherited_config" ]
327
328 if (is_clang) {
329 # Suppress warnings from Chrome's Clang plugins.
330 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
331 configs -= [ "//build/config/clang:find_bad_constructs" ]
332 }
333
334 deps = [
335 ":audio_processing",
336 ":audioproc_debug_proto",
337 ":audioproc_protobuf_utils",
338 ":audioproc_test_utils",
339 "../../system_wrappers",
340 "../../system_wrappers:system_wrappers_default",
341 "../../test:test_support",
342 "//testing/gtest",
343 "//third_party/gflags:gflags",
344 ]
345 } # audioproc
346
347 executable("unpack_aecdump") {
348 testonly = true
349 sources = [
350 "test/unpack.cc",
351 ]
352
353 configs += [ "../..:common_config" ]
354 public_configs = [ "../..:common_inherited_config" ]
355
356 if (is_clang) {
357 # Suppress warnings from Chrome's Clang plugins.
358 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
359 configs -= [ "//build/config/clang:find_bad_constructs" ]
360 }
361
362 deps = [
363 ":audio_processing",
364 ":audioproc_debug_proto",
365 ":audioproc_protobuf_utils",
366 ":audioproc_test_utils",
367 "../../common_audio",
368 "../../system_wrappers:system_wrappers_default",
369 "//third_party/gflags:gflags",
370 ]
371 } # unpack_aecdump
372
373 executable("audioproc_f") {
374 testonly = true
375 sources = [
376 "test/aec_dump_based_simulator.cc",
377 "test/aec_dump_based_simulator.h",
378 "test/audio_processing_simulator.cc",
379 "test/audio_processing_simulator.h",
380 "test/audioproc_float.cc",
381 "test/wav_based_simulator.cc",
382 "test/wav_based_simulator.h",
383 ]
384
385 configs += [ "../..:common_config" ]
386 public_configs = [ "../..:common_inherited_config" ]
387
388 if (is_clang) {
389 # Suppress warnings from Chrome's Clang plugins.
390 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
391 configs -= [ "//build/config/clang:find_bad_constructs" ]
392 }
393
394 deps = [
395 ":audio_processing",
396 ":audioproc_debug_proto",
397 ":audioproc_protobuf_utils",
398 ":audioproc_test_utils",
399 "../../system_wrappers",
400 "../../system_wrappers:system_wrappers_default",
401 "../../test:test_support",
402 "//testing/gtest",
403 "//third_party/gflags:gflags",
404 ]
405 } # audioproc_f
406
319 source_set("audioproc_test_utils") { 407 source_set("audioproc_test_utils") {
320 testonly = true 408 testonly = true
321 sources = [ 409 sources = [
322 "test/audio_buffer_tools.cc", 410 "test/audio_buffer_tools.cc",
323 "test/audio_buffer_tools.h", 411 "test/audio_buffer_tools.h",
324 "test/test_utils.cc", 412 "test/test_utils.cc",
325 "test/test_utils.h", 413 "test/test_utils.h",
326 ] 414 ]
327 415
328 configs += [ "../..:common_config" ] 416 configs += [ "../..:common_config" ]
(...skipping 23 matching lines...) Expand all
352 "test/protobuf_utils.cc", 440 "test/protobuf_utils.cc",
353 "test/protobuf_utils.h", 441 "test/protobuf_utils.h",
354 ] 442 ]
355 443
356 deps = [ 444 deps = [
357 ":audioproc_unittest_proto", 445 ":audioproc_unittest_proto",
358 ] 446 ]
359 } 447 }
360 } 448 }
361 } 449 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698