blob: b8f5f2ebaf1b488680c8f24b76737d703559ea5c [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",
solenberg71b9b582016-11-25 11:45:05 -080016 "include/helpers_android.h",
17 "include/jvm_android.h",
Henrik Kjellanderff761fb2015-11-04 08:31:52 +010018 "include/process_thread.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000019 "source/audio_frame_operations.cc",
kwiberg9d7eb132016-08-16 04:08:30 -070020 "source/coder.cc",
21 "source/coder.h",
kwiberg144dd272016-08-17 02:46:53 -070022 "source/file_player.cc",
23 "source/file_recorder.cc",
solenberg71b9b582016-11-25 11:45:05 -080024 "source/helpers_android.cc",
25 "source/jvm_android.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000026 "source/process_thread_impl.cc",
27 "source/process_thread_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000028 ]
29
kjellandere40a7ee2016-10-16 23:56:12 -070030 if (!build_with_chromium && is_clang) {
31 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -070032 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000033 }
34
kjellander94cee312016-06-10 01:56:57 -070035 if (is_ios) {
36 libs = [ "AVFoundation.framework" ]
37 }
38
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000039 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000040 "../..:webrtc_common",
tommi435f98b2016-05-28 14:57:15 -070041 "../../base:rtc_task_queue",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000042 "../../common_audio",
43 "../../system_wrappers",
44 "../audio_coding",
45 "../media_file",
46 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000047}