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 source_set("utility") { | 11 source_set("utility") { |
12 sources = [ | 12 sources = [ |
13 "include/audio_frame_operations.h", | 13 "include/audio_frame_operations.h", |
14 "include/file_player.h", | 14 "include/file_player.h", |
15 "include/file_recorder.h", | 15 "include/file_recorder.h", |
16 "include/helpers_android.h", | 16 "include/helpers_android.h", |
17 "include/jvm_android.h", | 17 "include/jvm_android.h", |
18 "include/process_thread.h", | 18 "include/process_thread.h", |
19 "source/audio_frame_operations.cc", | 19 "source/audio_frame_operations.cc", |
20 "source/coder.cc", | 20 "source/coder.cc", |
21 "source/coder.h", | 21 "source/coder.h", |
22 "source/file_player_impl.cc", | 22 "source/file_player.cc", |
23 "source/file_player_impl.h", | 23 "source/file_recorder.cc", |
24 "source/file_recorder_impl.cc", | |
25 "source/file_recorder_impl.h", | |
26 "source/helpers_android.cc", | 24 "source/helpers_android.cc", |
27 "source/helpers_ios.mm", | 25 "source/helpers_ios.mm", |
28 "source/jvm_android.cc", | 26 "source/jvm_android.cc", |
29 "source/process_thread_impl.cc", | 27 "source/process_thread_impl.cc", |
30 "source/process_thread_impl.h", | 28 "source/process_thread_impl.h", |
31 ] | 29 ] |
32 | 30 |
33 configs += [ "../..:common_config" ] | 31 configs += [ "../..:common_config" ] |
34 public_configs = [ "../..:common_inherited_config" ] | 32 public_configs = [ "../..:common_inherited_config" ] |
35 | 33 |
36 if (is_clang) { | 34 if (is_clang) { |
37 # Suppress warnings from Chrome's Clang plugins. | 35 # Suppress warnings from Chrome's Clang plugins. |
38 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 36 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
39 configs -= [ "//build/config/clang:find_bad_constructs" ] | 37 configs -= [ "//build/config/clang:find_bad_constructs" ] |
40 } | 38 } |
41 | 39 |
42 if (is_ios) { | 40 if (is_ios) { |
43 libs = [ "AVFoundation.framework" ] | 41 libs = [ "AVFoundation.framework" ] |
44 } | 42 } |
45 | 43 |
46 deps = [ | 44 deps = [ |
47 "../..:webrtc_common", | 45 "../..:webrtc_common", |
48 "../../base:rtc_task_queue", | 46 "../../base:rtc_task_queue", |
49 "../../common_audio", | 47 "../../common_audio", |
50 "../../system_wrappers", | 48 "../../system_wrappers", |
51 "../audio_coding", | 49 "../audio_coding", |
52 "../media_file", | 50 "../media_file", |
53 ] | 51 ] |
54 } | 52 } |
OLD | NEW |