blob: a648748d37e40b3ea3bf399f3b2bec674c07812a [file] [log] [blame]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +00001# Copyright (c) 2014 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.
8
9import("../../build/webrtc.gni")
10
kjellanderb62dbbe2016-09-23 00:38:52 -070011rtc_static_library("utility") {
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000012 sources = [
Henrik Kjellanderff761fb2015-11-04 08:31:52 +010013 "include/audio_frame_operations.h",
kwiberg9d7eb132016-08-16 04:08:30 -070014 "include/file_player.h",
15 "include/file_recorder.h",
Henrik Kjellanderff761fb2015-11-04 08:31:52 +010016 "include/process_thread.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000017 "source/audio_frame_operations.cc",
kwiberg9d7eb132016-08-16 04:08:30 -070018 "source/coder.cc",
19 "source/coder.h",
kwiberg144dd272016-08-17 02:46:53 -070020 "source/file_player.cc",
21 "source/file_recorder.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000022 "source/process_thread_impl.cc",
23 "source/process_thread_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000024 ]
25
kjellandere40a7ee2016-10-16 23:56:12 -070026 if (!build_with_chromium && is_clang) {
27 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -070028 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000029 }
30
kjellander94cee312016-06-10 01:56:57 -070031 if (is_ios) {
32 libs = [ "AVFoundation.framework" ]
33 }
34
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000035 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000036 "../..:webrtc_common",
tommi435f98b2016-05-28 14:57:15 -070037 "../../base:rtc_task_queue",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000038 "../../common_audio",
39 "../../system_wrappers",
40 "../audio_coding",
41 "../media_file",
42 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000043}