blob: 58883048cc399550dd0ffde3871c5263ce14e28e [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",
kwiberg9d7eb132016-08-16 04:08:30 -070019 "source/coder.cc",
20 "source/coder.h",
kwiberg144dd272016-08-17 02:46:53 -070021 "source/file_player.cc",
22 "source/file_recorder.cc",
solenberg71b9b582016-11-25 11:45:05 -080023 "source/helpers_android.cc",
24 "source/jvm_android.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000025 "source/process_thread_impl.cc",
26 "source/process_thread_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000027 ]
28
kjellandere40a7ee2016-10-16 23:56:12 -070029 if (!build_with_chromium && is_clang) {
30 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
ehmaldonado38a21322016-09-02 04:10:34 -070031 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000032 }
33
kjellander94cee312016-06-10 01:56:57 -070034 if (is_ios) {
35 libs = [ "AVFoundation.framework" ]
36 }
37
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000038 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000039 "../..:webrtc_common",
aleloi6321b492016-12-05 01:46:09 -080040 "../../audio/utility:audio_frame_operations",
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",
aleloi6321b492016-12-05 01:46:09 -080045 "../audio_coding:builtin_audio_decoder_factory",
46 "../audio_coding:rent_a_codec",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000047 "../media_file",
48 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000049}