kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 1 | # 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 | |
| 9 | import("../../build/webrtc.gni") |
| 10 | |
kjellander | b62dbbe | 2016-09-23 00:38:52 -0700 | [diff] [blame] | 11 | rtc_static_library("utility") { |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 12 | sources = [ |
Henrik Kjellander | ff761fb | 2015-11-04 08:31:52 +0100 | [diff] [blame] | 13 | "include/audio_frame_operations.h", |
kwiberg | 9d7eb13 | 2016-08-16 04:08:30 -0700 | [diff] [blame] | 14 | "include/file_player.h", |
| 15 | "include/file_recorder.h", |
Henrik Kjellander | ff761fb | 2015-11-04 08:31:52 +0100 | [diff] [blame] | 16 | "include/helpers_android.h", |
| 17 | "include/jvm_android.h", |
| 18 | "include/process_thread.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 19 | "source/audio_frame_operations.cc", |
kwiberg | 9d7eb13 | 2016-08-16 04:08:30 -0700 | [diff] [blame] | 20 | "source/coder.cc", |
| 21 | "source/coder.h", |
kwiberg | 144dd27 | 2016-08-17 02:46:53 -0700 | [diff] [blame] | 22 | "source/file_player.cc", |
| 23 | "source/file_recorder.cc", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 24 | "source/helpers_android.cc", |
kjellander | 080a1e3 | 2016-05-25 11:37:11 -0700 | [diff] [blame] | 25 | "source/helpers_ios.mm", |
henrika | b261989 | 2015-05-18 16:49:16 +0200 | [diff] [blame] | 26 | "source/jvm_android.cc", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 27 | "source/process_thread_impl.cc", |
| 28 | "source/process_thread_impl.h", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 29 | ] |
| 30 | |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 31 | if (is_clang) { |
| 32 | # Suppress warnings from Chrome's Clang plugins. |
| 33 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 34 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander@webrtc.org | 42ee5b5 | 2014-08-25 14:15:35 +0000 | [diff] [blame] | 35 | } |
| 36 | |
kjellander | 94cee31 | 2016-06-10 01:56:57 -0700 | [diff] [blame] | 37 | if (is_ios) { |
| 38 | libs = [ "AVFoundation.framework" ] |
| 39 | } |
| 40 | |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 41 | deps = [ |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 42 | "../..:webrtc_common", |
tommi | 435f98b | 2016-05-28 14:57:15 -0700 | [diff] [blame] | 43 | "../../base:rtc_task_queue", |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 44 | "../../common_audio", |
| 45 | "../../system_wrappers", |
| 46 | "../audio_coding", |
| 47 | "../media_file", |
| 48 | ] |
kjellander@webrtc.org | 1227ab8 | 2014-06-23 19:21:07 +0000 | [diff] [blame] | 49 | } |