Index: webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi |
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi b/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi |
index f29992d13d996b7269aa66d8966ec1ebc1757575..77502765635143f62177dca8e4e6c9d431c08213 100644 |
--- a/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi |
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor.gypi |
@@ -36,7 +36,10 @@ |
], # sources |
'conditions': [ |
['enable_protobuf==1', { |
- 'dependencies': ['ana_debug_dump_proto'], |
+ 'dependencies': [ |
+ 'ana_config_proto', |
+ 'ana_debug_dump_proto', |
+ ], |
'defines': ['WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP'], |
}], |
], # conditions |
@@ -58,6 +61,18 @@ |
}, |
'includes': ['../../../build/protoc.gypi',], |
}, |
+ { 'target_name': 'ana_config_proto', |
+ 'type': 'static_library', |
+ 'sources': ['config.proto',], |
+ 'variables': { |
+ 'proto_in_dir': '.', |
+ # Workaround to protect against gyp's pathname relativization when |
+ # this file is included by modules.gyp. |
+ 'proto_out_protected': 'webrtc/modules/audio_coding/audio_network_adaptor', |
+ 'proto_out_dir': '<(proto_out_protected)', |
+ }, |
+ 'includes': ['../../../build/protoc.gypi',], |
+ }, |
], # targets |
}], |
], # conditions |