diff --git a/.gn b/.gn index e151f7cdc3..841989caa1 100644 --- a/.gn +++ b/.gn @@ -19,7 +19,10 @@ secondary_source = "//build/secondary/" # their includes checked for proper dependencies when you run either # "gn check" or "gn gen --check". # TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done. -check_targets = [ "//webrtc/voice_engine:level_indicator" ] +check_targets = [ + "//webrtc/voice_engine:level_indicator", + "//webrtc/modules/audio_coding:isac_fix_test", +] # These are the list of GN files that run exec_script. This whitelist exists # to force additional review for new uses of exec_script, which is strongly diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn index 512f0422ac..2f28cccb1c 100644 --- a/webrtc/modules/audio_coding/BUILD.gn +++ b/webrtc/modules/audio_coding/BUILD.gn @@ -1483,4 +1483,24 @@ if (rtc_include_tests) { "//third_party/gflags", ] } + + executable("isac_fix_test") { + testonly = true + + sources = [ + "codecs/isac/fix/test/kenny.cc", + ] + + deps = [ + ":isac_fix", + "../../test:test_support", + ] + + if (is_win) { + cflags = [ + # Disable warnings to enable Win64 build, issue 1323. + "/wd4267", # size_t to int truncation + ] + } + } }