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. 8 9 { 10 'targets': [ 11 { 12 'target_name': 'webrtc_utility', 13 'type': 'static_library', 14 'dependencies': [ 15 'audio_coding_module', 16 'media_file', 17 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', 18 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', 19 ], 20 'sources': [ 21 '../interface/audio_frame_operations.h', 22 '../interface/file_player.h', 23 '../interface/file_recorder.h', 24 '../interface/helpers_android.h', 25 '../interface/process_thread.h', 26 '../interface/rtp_dump.h', 27 'audio_frame_operations.cc', 28 'coder.cc', 29 'coder.h', 30 'file_player_impl.cc', 31 'file_player_impl.h', 32 'file_recorder_impl.cc', 33 'file_recorder_impl.h', 34 'helpers_android.cc', 35 'process_thread_impl.cc', 36 'process_thread_impl.h', 37 'rtp_dump_impl.cc', 38 'rtp_dump_impl.h', 39 ], 40 'conditions': [ 41 ['enable_video==1', { 42 'dependencies': [ 43 'webrtc_video_coding', 44 ], 45 'sources': [ 46 'frame_scaler.cc', 47 'video_coder.cc', 48 'video_frames_queue.cc', 49 ], 50 }], 51 ], 52 }, 53 ], # targets 54 } 55