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', |
| 16 | '<(webrtc_root)/common_audio/common_audio.gyp:resampler', |
| 17 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 18 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 19 | 'include_dirs': [ |
| 20 | '../interface', |
| 21 | '../../interface', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 22 | '../../media_file/interface', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 23 | ], |
| 24 | 'direct_dependent_settings': { |
| 25 | 'include_dirs': [ |
| 26 | '../interface', |
| 27 | '../../interface', |
| 28 | '../../audio_coding/main/interface', |
| 29 | ], |
| 30 | }, |
| 31 | 'sources': [ |
niklas.enbom@webrtc.org | 0cb79cc | 2012-05-30 14:32:42 +0000 | [diff] [blame] | 32 | '../interface/audio_frame_operations.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 33 | '../interface/file_player.h', |
| 34 | '../interface/file_recorder.h', |
| 35 | '../interface/process_thread.h', |
| 36 | '../interface/rtp_dump.h', |
andrew@webrtc.org | 459955f | 2012-05-29 22:13:14 +0000 | [diff] [blame] | 37 | 'audio_frame_operations.cc', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 38 | 'coder.cc', |
| 39 | 'coder.h', |
| 40 | 'file_player_impl.cc', |
| 41 | 'file_player_impl.h', |
| 42 | 'file_recorder_impl.cc', |
| 43 | 'file_recorder_impl.h', |
| 44 | 'process_thread_impl.cc', |
| 45 | 'process_thread_impl.h', |
| 46 | 'rtp_dump_impl.cc', |
| 47 | 'rtp_dump_impl.h', |
andrew@webrtc.org | 830099e | 2011-08-31 17:03:54 +0000 | [diff] [blame] | 48 | ], |
| 49 | 'conditions': [ |
| 50 | ['enable_video==1', { |
| 51 | # Adds support for video recording. |
| 52 | 'defines': [ |
| 53 | 'WEBRTC_MODULE_UTILITY_VIDEO', |
| 54 | ], |
| 55 | 'dependencies': [ |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 56 | 'webrtc_video_coding', |
andrew@webrtc.org | 830099e | 2011-08-31 17:03:54 +0000 | [diff] [blame] | 57 | ], |
| 58 | 'include_dirs': [ |
| 59 | '../../video_coding/main/interface', |
andrew@webrtc.org | 830099e | 2011-08-31 17:03:54 +0000 | [diff] [blame] | 60 | ], |
| 61 | 'sources': [ |
| 62 | 'frame_scaler.cc', |
| 63 | 'video_coder.cc', |
| 64 | 'video_frames_queue.cc', |
| 65 | ], |
| 66 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 67 | ], |
| 68 | }, |
kjellander@webrtc.org | d492f72 | 2011-11-24 07:20:00 +0000 | [diff] [blame] | 69 | ], # targets |
| 70 | 'conditions': [ |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 71 | ['include_tests==1', { |
kjellander@webrtc.org | d492f72 | 2011-11-24 07:20:00 +0000 | [diff] [blame] | 72 | 'targets': [ |
| 73 | { |
| 74 | 'target_name': 'webrtc_utility_unittests', |
| 75 | 'type': 'executable', |
| 76 | 'dependencies': [ |
| 77 | 'webrtc_utility', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 78 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 79 | '<(webrtc_root)/test/test.gyp:test_support_main', |
kjellander@webrtc.org | d492f72 | 2011-11-24 07:20:00 +0000 | [diff] [blame] | 80 | ], |
| 81 | 'sources': [ |
andrew@webrtc.org | 459955f | 2012-05-29 22:13:14 +0000 | [diff] [blame] | 82 | 'audio_frame_operations_unittest.cc', |
kjellander@webrtc.org | d492f72 | 2011-11-24 07:20:00 +0000 | [diff] [blame] | 83 | ], |
| 84 | }, # webrtc_utility_unittests |
| 85 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 86 | }], # include_tests |
kjellander@webrtc.org | d492f72 | 2011-11-24 07:20:00 +0000 | [diff] [blame] | 87 | ], # conditions |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | # Local Variables: |
| 91 | # tab-width:2 |
| 92 | # indent-tabs-mode:nil |
| 93 | # End: |
| 94 | # vim: set expandtab tabstop=2 shiftwidth=2: |