Guard new protobuf target with enable_protobuf==1.
Fixes a gyp error on iOS.
BUG=4642
TBR=aluebs@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/46229004
Cr-Commit-Position: refs/heads/master@{#9180}
diff --git a/webrtc/modules/modules.gyp b/webrtc/modules/modules.gyp
index 3a7e219..abe91da 100644
--- a/webrtc/modules/modules.gyp
+++ b/webrtc/modules/modules.gyp
@@ -60,7 +60,6 @@
'audio_device' ,
'audio_processing',
'audioproc_test_utils',
- 'audioproc_protobuf_utils',
'bitrate_controller',
'bwe_simulator',
'CNG',
@@ -313,6 +312,7 @@
['enable_protobuf==1', {
'defines': [ 'WEBRTC_AUDIOPROC_DEBUG_DUMP' ],
'dependencies': [
+ 'audioproc_protobuf_utils',
'audioproc_unittest_proto',
],
'sources': [