blob: 5f1d50c397dc3b623edde6b676eb7dc04ba6cb58 [file] [log] [blame]
xians@google.comd3185fe2011-09-12 12:24:39 +00001# Copyright (c) 2011 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.
niklase@google.com470e71d2011-07-07 08:21:25 +00008
9{
niklase@google.com470e71d2011-07-07 08:21:25 +000010 'targets': [
11 {
12 'target_name': 'webrtc_utility',
wjia@webrtc.orga3c82bf2013-01-18 23:42:21 +000013 'type': 'static_library',
niklase@google.com470e71d2011-07-07 08:21:25 +000014 'dependencies': [
xians@google.comd3185fe2011-09-12 12:24:39 +000015 'audio_coding_module',
fischman@webrtc.orgf696f252013-08-05 18:45:19 +000016 'media_file',
andrew@webrtc.org34235372013-04-30 23:43:26 +000017 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
xians@google.comd3185fe2011-09-12 12:24:39 +000018 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
niklase@google.com470e71d2011-07-07 08:21:25 +000019 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000020 'include_dirs': [
21 '../interface',
22 '../../interface',
niklase@google.com470e71d2011-07-07 08:21:25 +000023 '../../media_file/interface',
niklase@google.com470e71d2011-07-07 08:21:25 +000024 ],
25 'direct_dependent_settings': {
26 'include_dirs': [
27 '../interface',
28 '../../interface',
29 '../../audio_coding/main/interface',
30 ],
31 },
32 'sources': [
niklas.enbom@webrtc.org0cb79cc2012-05-30 14:32:42 +000033 '../interface/audio_frame_operations.h',
niklase@google.com470e71d2011-07-07 08:21:25 +000034 '../interface/file_player.h',
35 '../interface/file_recorder.h',
36 '../interface/process_thread.h',
37 '../interface/rtp_dump.h',
andrew@webrtc.org459955f2012-05-29 22:13:14 +000038 'audio_frame_operations.cc',
niklase@google.com470e71d2011-07-07 08:21:25 +000039 'coder.cc',
40 'coder.h',
41 'file_player_impl.cc',
42 'file_player_impl.h',
43 'file_recorder_impl.cc',
44 'file_recorder_impl.h',
45 'process_thread_impl.cc',
46 'process_thread_impl.h',
47 'rtp_dump_impl.cc',
48 'rtp_dump_impl.h',
andrew@webrtc.org830099e2011-08-31 17:03:54 +000049 ],
50 'conditions': [
51 ['enable_video==1', {
52 # Adds support for video recording.
53 'defines': [
54 'WEBRTC_MODULE_UTILITY_VIDEO',
55 ],
56 'dependencies': [
xians@google.comd3185fe2011-09-12 12:24:39 +000057 'webrtc_video_coding',
andrew@webrtc.org830099e2011-08-31 17:03:54 +000058 ],
59 'include_dirs': [
60 '../../video_coding/main/interface',
andrew@webrtc.org830099e2011-08-31 17:03:54 +000061 ],
62 'sources': [
63 'frame_scaler.cc',
64 'video_coder.cc',
65 'video_frames_queue.cc',
66 ],
67 }],
niklase@google.com470e71d2011-07-07 08:21:25 +000068 ],
69 },
kjellander@webrtc.orgd492f722011-11-24 07:20:00 +000070 ], # targets
niklase@google.com470e71d2011-07-07 08:21:25 +000071}