Index: webrtc/modules/audio_coding/codecs/ilbc/ilbc.gypi |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/ilbc.gypi b/webrtc/modules/audio_coding/codecs/ilbc/ilbc.gypi |
index ffb0574588253d9f06fb64706915703750f6aa95..27dfd883dead55f497d4f7c7bd08f0eb69b0da33 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/ilbc.gypi |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/ilbc.gypi |
@@ -12,6 +12,7 @@ |
'target_name': 'ilbc', |
'type': 'static_library', |
'dependencies': [ |
+ '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
'audio_encoder_interface', |
], |
@@ -172,6 +173,11 @@ |
'ilbc', |
], |
'sources': [ |
+ # The empty .cc file is a hack to get GYP to use the C++ |
+ # linker even though all sources here are .c files; this |
+ # is necessary because we transitively depend on |
+ # rtc_base_approved, which calls the C++ standard library. |
+ 'test/empty.cc', |
'test/iLBC_test.c', |
], |
}, # ilbc_test |