blob: 7647d38b1751f6898760a89ab611c7d8d74bf16e [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
ehmaldonado38a21322016-09-02 04:10:34 -070011rtc_source_set("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/helpers_android.h",
17 "include/jvm_android.h",
18 "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",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000024 "source/helpers_android.cc",
kjellander080a1e32016-05-25 11:37:11 -070025 "source/helpers_ios.mm",
henrikab2619892015-05-18 16:49:16 +020026 "source/jvm_android.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000027 "source/process_thread_impl.cc",
28 "source/process_thread_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000029 ]
30
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000031 configs += [ "../..:common_config" ]
32 public_configs = [ "../..:common_inherited_config" ]
33
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000034 if (is_clang) {
35 # Suppress warnings from Chrome's Clang plugins.
36 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -070037 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000038 }
39
kjellander94cee312016-06-10 01:56:57 -070040 if (is_ios) {
41 libs = [ "AVFoundation.framework" ]
42 }
43
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000044 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000045 "../..:webrtc_common",
tommi435f98b2016-05-28 14:57:15 -070046 "../../base:rtc_task_queue",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000047 "../../common_audio",
48 "../../system_wrappers",
49 "../audio_coding",
50 "../media_file",
51 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000052}