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}
diff --git a/webrtc/modules/audio_processing/audio_processing_tests.gypi b/webrtc/modules/audio_processing/audio_processing_tests.gypi
index b301b00..536649d 100644
--- a/webrtc/modules/audio_processing/audio_processing_tests.gypi
+++ b/webrtc/modules/audio_processing/audio_processing_tests.gypi
@@ -9,21 +9,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',
'dependencies': [
@@ -81,6 +66,21 @@
['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',
'sources': [ 'test/unittest.proto', ],