blob: 5437e4f5f78d59f3837897e8bc45c1b3c07e3f0a [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
11source_set("utility") {
12 sources = [
Henrik Kjellanderff761fb2015-11-04 08:31:52 +010013 "include/audio_frame_operations.h",
14 "include/file_player.h",
15 "include/file_recorder.h",
16 "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",
20 "source/coder.cc",
21 "source/coder.h",
22 "source/file_player_impl.cc",
23 "source/file_player_impl.h",
24 "source/file_recorder_impl.cc",
25 "source/file_recorder_impl.h",
26 "source/helpers_android.cc",
kjellander080a1e32016-05-25 11:37:11 -070027 "source/helpers_ios.mm",
henrikab2619892015-05-18 16:49:16 +020028 "source/jvm_android.cc",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000029 "source/process_thread_impl.cc",
30 "source/process_thread_impl.h",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000031 ]
32
kjellander@webrtc.orgf21ea912014-09-28 17:37:22 +000033 configs += [ "../..:common_config" ]
34 public_configs = [ "../..:common_inherited_config" ]
35
kjellander@webrtc.org42ee5b52014-08-25 14:15:35 +000036 if (is_clang) {
37 # Suppress warnings from Chrome's Clang plugins.
38 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
39 configs -= [ "//build/config/clang:find_bad_constructs" ]
40 }
41
kjellander94cee312016-06-10 01:56:57 -070042 if (is_ios) {
43 libs = [ "AVFoundation.framework" ]
44 }
45
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000046 deps = [
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000047 "../..:webrtc_common",
tommi435f98b2016-05-28 14:57:15 -070048 "../../base:rtc_task_queue",
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000049 "../../common_audio",
50 "../../system_wrappers",
51 "../audio_coding",
52 "../media_file",
53 ]
kjellander@webrtc.org1227ab82014-06-23 19:21:07 +000054}