| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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 import("../../webrtc.gni") | 8 import("../../webrtc.gni") |
| 9 | 9 |
| 10 group("utility") { | 10 group("utility") { |
| 11 public_deps = [ | 11 public_deps = [ |
| 12 ":audio_frame_operations", | 12 ":audio_frame_operations", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 rtc_static_library("audio_frame_operations") { | 16 rtc_static_library("audio_frame_operations") { |
| 17 sources = [ | 17 sources = [ |
| 18 "audio_frame_operations.cc", | 18 "audio_frame_operations.cc", |
| 19 "audio_frame_operations.h", | 19 "audio_frame_operations.h", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "../..:webrtc_common", | 23 "../..:webrtc_common", |
| 24 "../../base:rtc_base_approved", |
| 24 "../../modules:module_api", | 25 "../../modules:module_api", |
| 25 "../../modules/audio_coding:audio_format_conversion", | 26 "../../modules/audio_coding:audio_format_conversion", |
| 26 "../../rtc_base:rtc_base_approved", | |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 | 29 |
| 30 if (rtc_include_tests) { | 30 if (rtc_include_tests) { |
| 31 rtc_source_set("utility_tests") { | 31 rtc_source_set("utility_tests") { |
| 32 testonly = true | 32 testonly = true |
| 33 sources = [ | 33 sources = [ |
| 34 "audio_frame_operations_unittest.cc", | 34 "audio_frame_operations_unittest.cc", |
| 35 ] | 35 ] |
| 36 deps = [ | 36 deps = [ |
| 37 ":audio_frame_operations", | 37 ":audio_frame_operations", |
| 38 "../../base:rtc_base_approved", |
| 38 "../../modules:module_api", | 39 "../../modules:module_api", |
| 39 "../../rtc_base:rtc_base_approved", | |
| 40 "../../test:test_support", | 40 "../../test:test_support", |
| 41 "//testing/gtest", | 41 "//testing/gtest", |
| 42 ] | 42 ] |
| 43 if (!build_with_chromium && is_clang) { | 43 if (!build_with_chromium && is_clang) { |
| 44 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 44 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 45 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 45 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 } | 48 } |
| OLD | NEW |