blob: df5f322fed18ae88a26c8f5f0d7568abb4960142 [file] [log] [blame]
aleloi939e08f2016-11-29 07:32:07 -08001# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8import("../../build/webrtc.gni")
9
10group("utility") {
aleloi6321b492016-12-05 01:46:09 -080011 public_deps = [
12 ":audio_frame_operations",
13 ]
14}
15
16rtc_static_library("audio_frame_operations") {
17 sources = [
18 "audio_frame_operations.cc",
19 "audio_frame_operations.h",
20 ]
21
22 deps = [
23 "../..:webrtc_common",
24 "../../base:rtc_base_approved",
25 "../../modules/audio_coding:audio_format_conversion",
26 ]
aleloi939e08f2016-11-29 07:32:07 -080027}
ehmaldonado894c2bb2017-01-05 06:03:24 -080028
29if (rtc_include_tests) {
30 rtc_source_set("utility_tests") {
31 testonly = true
32 sources = [
33 "audio_frame_operations_unittest.cc",
34 ]
35 deps = [
36 ":audio_frame_operations",
37 "../../base:rtc_base_approved",
38 "../../test:test_support",
39 "//testing/gtest",
40 ]
41 if (!build_with_chromium && is_clang) {
42 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
43 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
44 }
45 }
46}