blob: 8230d7e7ce5e9d9b04a7ff4628beea4aa2d68c96 [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',
13 'type': '<(library)',
14 'dependencies': [
xians@google.comd3185fe2011-09-12 12:24:39 +000015 'audio_coding_module',
16 '<(webrtc_root)/common_audio/common_audio.gyp:resampler',
17 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
niklase@google.com470e71d2011-07-07 08:21:25 +000018 ],
niklase@google.com470e71d2011-07-07 08:21:25 +000019 'include_dirs': [
20 '../interface',
21 '../../interface',
niklase@google.com470e71d2011-07-07 08:21:25 +000022 '../../media_file/interface',
niklase@google.com470e71d2011-07-07 08:21:25 +000023 ],
24 'direct_dependent_settings': {
25 'include_dirs': [
26 '../interface',
27 '../../interface',
28 '../../audio_coding/main/interface',
29 ],
30 },
31 'sources': [
32 '../interface/file_player.h',
33 '../interface/file_recorder.h',
34 '../interface/process_thread.h',
35 '../interface/rtp_dump.h',
36 'coder.cc',
37 'coder.h',
38 'file_player_impl.cc',
39 'file_player_impl.h',
40 'file_recorder_impl.cc',
41 'file_recorder_impl.h',
42 'process_thread_impl.cc',
43 'process_thread_impl.h',
44 'rtp_dump_impl.cc',
45 'rtp_dump_impl.h',
andrew@webrtc.org830099e2011-08-31 17:03:54 +000046 ],
47 'conditions': [
48 ['enable_video==1', {
49 # Adds support for video recording.
50 'defines': [
51 'WEBRTC_MODULE_UTILITY_VIDEO',
52 ],
53 'dependencies': [
xians@google.comd3185fe2011-09-12 12:24:39 +000054 'webrtc_video_coding',
andrew@webrtc.org830099e2011-08-31 17:03:54 +000055 ],
56 'include_dirs': [
57 '../../video_coding/main/interface',
58 '../../../common_video/vplib/main/interface',
59 ],
60 'sources': [
61 'frame_scaler.cc',
62 'video_coder.cc',
63 'video_frames_queue.cc',
64 ],
65 }],
niklase@google.com470e71d2011-07-07 08:21:25 +000066 ],
67 },
68 ],
69}
70
71# Local Variables:
72# tab-width:2
73# indent-tabs-mode:nil
74# End:
75# vim: set expandtab tabstop=2 shiftwidth=2: