Move audioproc_test_utils into enable_protobuf condition.

From https://codereview.webrtc.org/1409943002 this target doesn't
pass GYP on iOS unless build_with_libjingle==1.
Our bots currently build with that, but we want to remove that GYP_DEFINES
from the bots since http://www.webrtc.org/native-code/ios doesn't
say it's needed.

R=aluebs@webrtc.org

Review URL: https://codereview.webrtc.org/1419533010 .

Cr-Commit-Position: refs/heads/master@{#10510}
This commit is contained in:
Henrik Kjellander
2015-11-04 19:56:52 +01:00
parent 98cc88c873
commit e2a89251d9

View File

@ -8,21 +8,6 @@
{
'targets': [
{
'target_name': 'audioproc_test_utils',
'type': 'static_library',
'dependencies': [
'audioproc_debug_proto',
'<(webrtc_root)/base/base.gyp:rtc_base_approved',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
],
'sources': [
'test/audio_file_processor.cc',
'test/audio_file_processor.h',
'test/test_utils.cc',
'test/test_utils.h',
],
},
{
'target_name': 'transient_suppression_test',
'type': 'executable',
@ -80,6 +65,21 @@
'conditions': [
['enable_protobuf==1', {
'targets': [
{
'target_name': 'audioproc_test_utils',
'type': 'static_library',
'dependencies': [
'audioproc_debug_proto',
'<(webrtc_root)/base/base.gyp:rtc_base_approved',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
],
'sources': [
'test/audio_file_processor.cc',
'test/audio_file_processor.h',
'test/test_utils.cc',
'test/test_utils.h',
],
},
{
'target_name': 'audioproc_unittest_proto',
'type': 'static_library',