xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 1 | # 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.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 8 | |
| 9 | { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'webrtc_utility', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 13 | 'type': 'static_library', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 14 | 'dependencies': [ |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 15 | 'audio_coding_module', |
fischman@webrtc.org | f696f25 | 2013-08-05 18:45:19 +0000 | [diff] [blame^] | 16 | 'media_file', |
andrew@webrtc.org | 3423537 | 2013-04-30 23:43:26 +0000 | [diff] [blame] | 17 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 18 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 19 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 20 | 'include_dirs': [ |
| 21 | '../interface', |
| 22 | '../../interface', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 23 | '../../media_file/interface', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 24 | ], |
| 25 | 'direct_dependent_settings': { |
| 26 | 'include_dirs': [ |
| 27 | '../interface', |
| 28 | '../../interface', |
| 29 | '../../audio_coding/main/interface', |
| 30 | ], |
| 31 | }, |
| 32 | 'sources': [ |
niklas.enbom@webrtc.org | 0cb79cc | 2012-05-30 14:32:42 +0000 | [diff] [blame] | 33 | '../interface/audio_frame_operations.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 34 | '../interface/file_player.h', |
| 35 | '../interface/file_recorder.h', |
| 36 | '../interface/process_thread.h', |
| 37 | '../interface/rtp_dump.h', |
andrew@webrtc.org | 459955f | 2012-05-29 22:13:14 +0000 | [diff] [blame] | 38 | 'audio_frame_operations.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 39 | '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.org | 830099e | 2011-08-31 17:03:54 +0000 | [diff] [blame] | 49 | ], |
| 50 | 'conditions': [ |
| 51 | ['enable_video==1', { |
| 52 | # Adds support for video recording. |
| 53 | 'defines': [ |
| 54 | 'WEBRTC_MODULE_UTILITY_VIDEO', |
| 55 | ], |
| 56 | 'dependencies': [ |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 57 | 'webrtc_video_coding', |
andrew@webrtc.org | 830099e | 2011-08-31 17:03:54 +0000 | [diff] [blame] | 58 | ], |
| 59 | 'include_dirs': [ |
| 60 | '../../video_coding/main/interface', |
andrew@webrtc.org | 830099e | 2011-08-31 17:03:54 +0000 | [diff] [blame] | 61 | ], |
| 62 | 'sources': [ |
| 63 | 'frame_scaler.cc', |
| 64 | 'video_coder.cc', |
| 65 | 'video_frames_queue.cc', |
| 66 | ], |
| 67 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 68 | ], |
| 69 | }, |
kjellander@webrtc.org | d492f72 | 2011-11-24 07:20:00 +0000 | [diff] [blame] | 70 | ], # targets |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 71 | } |