OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
11 rtc_static_library("utility") { | 11 rtc_static_library("utility") { |
12 sources = [ | 12 sources = [ |
13 "include/audio_frame_operations.h", | 13 "include/audio_frame_operations.h", |
14 "include/file_player.h", | |
15 "include/file_recorder.h", | |
16 "include/helpers_android.h", | 14 "include/helpers_android.h", |
17 "include/jvm_android.h", | 15 "include/jvm_android.h", |
18 "include/process_thread.h", | 16 "include/process_thread.h", |
19 "source/coder.cc", | |
20 "source/coder.h", | |
21 "source/file_player.cc", | |
22 "source/file_recorder.cc", | |
23 "source/helpers_android.cc", | 17 "source/helpers_android.cc", |
24 "source/jvm_android.cc", | 18 "source/jvm_android.cc", |
25 "source/process_thread_impl.cc", | 19 "source/process_thread_impl.cc", |
26 "source/process_thread_impl.h", | 20 "source/process_thread_impl.h", |
27 ] | 21 ] |
28 | 22 |
29 if (!build_with_chromium && is_clang) { | 23 if (!build_with_chromium && is_clang) { |
30 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 24 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
31 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 25 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
32 } | 26 } |
33 | 27 |
34 if (is_ios) { | 28 if (is_ios) { |
35 libs = [ "AVFoundation.framework" ] | 29 libs = [ "AVFoundation.framework" ] |
36 } | 30 } |
37 | 31 |
38 deps = [ | 32 deps = [ |
39 "../..:webrtc_common", | 33 "../..:webrtc_common", |
40 "../../audio/utility:audio_frame_operations", | 34 "../../audio/utility:audio_frame_operations", |
41 "../../base:rtc_task_queue", | 35 "../../base:rtc_task_queue", |
42 "../../common_audio", | 36 "../../common_audio", |
43 "../../system_wrappers", | 37 "../../system_wrappers", |
44 "../audio_coding", | 38 "../audio_coding", |
45 "../audio_coding:audio_format_conversion", | 39 "../audio_coding:audio_format_conversion", |
46 "../audio_coding:builtin_audio_decoder_factory", | 40 "../audio_coding:builtin_audio_decoder_factory", |
47 "../audio_coding:rent_a_codec", | 41 "../audio_coding:rent_a_codec", |
48 "../media_file", | 42 "../media_file", |
49 ] | 43 ] |
50 } | 44 } |
OLD | NEW |