niklase@google.com | 77ae29b | 2011-05-30 11:22:19 +0000 | [diff] [blame] | 1 | # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'includes': [ |
| 7 | '../../../common_settings.gypi', # Common settings |
| 8 | ], |
| 9 | 'targets': [ |
| 10 | { |
| 11 | 'target_name': 'webrtc_utility', |
| 12 | 'type': '<(library)', |
| 13 | 'dependencies': [ |
| 14 | '../../audio_coding/main/source/audio_coding_module.gyp:audio_coding_module', |
| 15 | '../../video_coding/main/source/video_coding.gyp:webrtc_video_coding', |
| 16 | '../../../common_audio/resampler/main/source/resampler.gyp:resampler', |
| 17 | '../../../system_wrappers/source/system_wrappers.gyp:system_wrappers', |
| 18 | ], |
| 19 | 'defines': [ |
| 20 | 'WEBRTC_MODULE_UTILITY_VIDEO', # for compiling support for video recording |
| 21 | ], |
| 22 | 'include_dirs': [ |
| 23 | '../interface', |
| 24 | '../../interface', |
| 25 | '../../../common_video/vplib/main/interface', |
| 26 | '../../media_file/interface', |
| 27 | '../../video_coding/main/interface' |
| 28 | ], |
| 29 | 'direct_dependent_settings': { |
| 30 | 'include_dirs': [ |
| 31 | '../interface', |
| 32 | '../../interface', |
| 33 | '../../audio_coding/main/interface', |
| 34 | ], |
| 35 | }, |
| 36 | 'sources': [ |
| 37 | '../interface/file_player.h', |
| 38 | '../interface/file_recorder.h', |
| 39 | '../interface/process_thread.h', |
| 40 | '../interface/rtp_dump.h', |
| 41 | 'coder.cc', |
| 42 | 'coder.h', |
| 43 | 'file_player_impl.cc', |
| 44 | 'file_player_impl.h', |
| 45 | 'file_recorder_impl.cc', |
| 46 | 'file_recorder_impl.h', |
| 47 | 'process_thread_impl.cc', |
| 48 | 'process_thread_impl.h', |
| 49 | 'rtp_dump_impl.cc', |
| 50 | 'rtp_dump_impl.h', |
| 51 | # Video only |
| 52 | # TODO: Use some variable for building for video and voice or voice only |
| 53 | 'frame_scaler.cc', |
| 54 | 'video_coder.cc', |
| 55 | 'video_frames_queue.cc', |
| 56 | ], |
| 57 | }, |
| 58 | ], |
| 59 | } |
| 60 | |
| 61 | # Local Variables: |
| 62 | # tab-width:2 |
| 63 | # indent-tabs-mode:nil |
| 64 | # End: |
| 65 | # vim: set expandtab tabstop=2 shiftwidth=2: |