
Move the logic to common.gypi to reduce the chance of the define being unprotected in the future. BUG=b/12018143 TESTED=git try, and local Linux build with -Denable_video=0 R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/5309004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5244 4adac7df-926f-26a2-2b94-8c16560cd09d
55 lines
1.6 KiB
Python
55 lines
1.6 KiB
Python
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'webrtc_utility',
|
|
'type': 'static_library',
|
|
'dependencies': [
|
|
'audio_coding_module',
|
|
'media_file',
|
|
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
],
|
|
'sources': [
|
|
'../interface/audio_frame_operations.h',
|
|
'../interface/file_player.h',
|
|
'../interface/file_recorder.h',
|
|
'../interface/helpers_android.h',
|
|
'../interface/process_thread.h',
|
|
'../interface/rtp_dump.h',
|
|
'audio_frame_operations.cc',
|
|
'coder.cc',
|
|
'coder.h',
|
|
'file_player_impl.cc',
|
|
'file_player_impl.h',
|
|
'file_recorder_impl.cc',
|
|
'file_recorder_impl.h',
|
|
'helpers_android.cc',
|
|
'process_thread_impl.cc',
|
|
'process_thread_impl.h',
|
|
'rtp_dump_impl.cc',
|
|
'rtp_dump_impl.h',
|
|
],
|
|
'conditions': [
|
|
['enable_video==1', {
|
|
'dependencies': [
|
|
'webrtc_video_coding',
|
|
],
|
|
'sources': [
|
|
'frame_scaler.cc',
|
|
'video_coder.cc',
|
|
'video_frames_queue.cc',
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
], # targets
|
|
}
|