
In principle should reduce gyp processing time, but the difference was not measurable. In any case, it's a good simplification that aligns with having a single common_video target. R=bjornv@webrtc.org, kma@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1375004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3928 4adac7df-926f-26a2-2b94-8c16560cd09d
83 lines
2.7 KiB
Python
83 lines
2.7 KiB
Python
# Copyright (c) 2012 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': 'audioproc_unittest',
|
|
'type': 'executable',
|
|
'conditions': [
|
|
['prefer_fixed_point==1', {
|
|
'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ],
|
|
}, {
|
|
'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ],
|
|
}],
|
|
['enable_protobuf==1', {
|
|
'defines': [ 'WEBRTC_AUDIOPROC_DEBUG_DUMP' ],
|
|
}],
|
|
],
|
|
'dependencies': [
|
|
'audio_processing',
|
|
'audioproc_unittest_proto',
|
|
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
],
|
|
'sources': [
|
|
'aec/system_delay_unittest.cc',
|
|
'aec/echo_cancellation_unittest.cc',
|
|
'test/unit_test.cc',
|
|
'utility/delay_estimator_unittest.cc',
|
|
'utility/ring_buffer_unittest.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'audioproc_unittest_proto',
|
|
'type': 'static_library',
|
|
'sources': [ 'test/unittest.proto', ],
|
|
'variables': {
|
|
'proto_in_dir': 'test',
|
|
# Workaround to protect against gyp's pathname relativization when this
|
|
# file is included by modules.gyp.
|
|
'proto_out_protected': 'webrtc/audio_processing',
|
|
'proto_out_dir': '<(proto_out_protected)',
|
|
},
|
|
'includes': [ '../../build/protoc.gypi', ],
|
|
},
|
|
],
|
|
'conditions': [
|
|
['enable_protobuf==1', {
|
|
'targets': [
|
|
{
|
|
'target_name': 'audioproc',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'audio_processing',
|
|
'audioproc_debug_proto',
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
|
],
|
|
'sources': [ 'test/process_test.cc', ],
|
|
},
|
|
{
|
|
'target_name': 'unpack_aecdump',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'audioproc_debug_proto',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
|
|
],
|
|
'sources': [ 'test/unpack.cc', ],
|
|
},
|
|
],
|
|
}],
|
|
],
|
|
}
|