Chromium Code Reviews| Index: webrtc/modules/audio_coding/BUILD.gn |
| diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn |
| index 96c1ea981983f0e26a34040b15fae38c4dcbc628..d3d7bd81ca7a68dab95ea8964184cd8994c823ce 100644 |
| --- a/webrtc/modules/audio_coding/BUILD.gn |
| +++ b/webrtc/modules/audio_coding/BUILD.gn |
| @@ -1209,6 +1209,61 @@ if (rtc_include_tests) { |
| } |
| } |
| + config("RTPencode_config") { |
| + defines = [ |
| + "CODEC_ILBC", |
| + "CODEC_PCM16B", |
| + "CODEC_G711", |
| + "CODEC_G722", |
| + "CODEC_ISAC", |
| + "CODEC_PCM16B_WB", |
| + "CODEC_ISAC_SWB", |
| + "CODEC_PCM16B_32KHZ", |
| + "CODEC_PCM16B_48KHZ", |
| + "CODEC_CNGCODEC8", |
| + "CODEC_CNGCODEC16", |
| + "CODEC_CNGCODEC32", |
| + "CODEC_ATEVENT_DECODE", |
| + "CODEC_RED", |
| + "CODEC_OPUS", |
| + ] |
| + } |
| + |
| + executable("RTPencode") { |
|
aleloi
2016/08/01 14:31:34
Added target here instead of in neteq because othe
|
| + testonly = true |
| + |
| + deps = [ |
| + # TODO(hlundin): Make RTPencode use ACM to encode files. |
|
aleloi
2016/08/01 14:31:34
Copied TODO from gyp build file.
|
| + ":cng", |
| + ":g711", |
| + ":g722", |
| + ":ilbc", |
| + ":isac", |
| + ":neteq_test_tools", |
| + ":pcm16b", |
| + ":webrtc_opus", |
| + "../../common_audio", |
| + ] |
| + |
| + configs += [ ":RTPencode_config" ] |
| + |
| + sources = [ |
| + "neteq/test/RTPencode.cc", |
| + ] |
| + |
| + include_dirs = [ |
|
aleloi
2016/08/01 14:31:34
Removed webrtc root as it is included by default.
|
| + "neteq/include", |
| + "neteq/test", |
| + ] |
| + |
| + if (is_win) { |
| + cflags = [ |
| + # Disable warnings to enable Win64 build, issue 1323. |
| + "/wd4267", # size_t to int truncation |
| + ] |
| + } |
| + } |
| + |
| executable("rtp_analyze") { |
| testonly = true |