Added GN target for isac_test.
BUG=webrtc:6191 NOTRY=True NOPRESUBMIT=True Review-Url: https://codereview.webrtc.org/2267423002 Cr-Commit-Position: refs/heads/master@{#13884}
This commit is contained in:
parent
5d167d6829
commit
e51b41ae44
9
.gn
9
.gn
@ -20,12 +20,13 @@ secondary_source = "//build/secondary/"
|
||||
# "gn check" or "gn gen --check".
|
||||
# TODO(kjellander): Keep adding paths to this list as work in webrtc:5589 is done.
|
||||
check_targets = [
|
||||
"//webrtc/modules/audio_device/*",
|
||||
"//webrtc/voice_engine:level_indicator",
|
||||
"//webrtc/modules/audio_coding:isac_fix_test",
|
||||
"//webrtc/modules/audio_mixer:audio_conference_mixer",
|
||||
"//webrtc/modules/audio_coding:g711_test",
|
||||
"//webrtc/modules/audio_coding:g722_test",
|
||||
"//webrtc/modules/audio_coding:isac_fix_test",
|
||||
"//webrtc/modules/audio_coding:isac_test",
|
||||
"//webrtc/modules/audio_device/*",
|
||||
"//webrtc/modules/audio_mixer:audio_conference_mixer",
|
||||
"//webrtc/voice_engine:level_indicator",
|
||||
]
|
||||
|
||||
# These are the list of GN files that run exec_script. This whitelist exists
|
||||
|
||||
@ -1540,6 +1540,35 @@ if (rtc_include_tests) {
|
||||
}
|
||||
}
|
||||
|
||||
executable("isac_test") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"codecs/isac/main/test/simpleKenny.c",
|
||||
"codecs/isac/main/util/utility.c",
|
||||
]
|
||||
|
||||
include_dirs = [
|
||||
"codecs/isac/main/include",
|
||||
"codecs/isac/main/test",
|
||||
"codecs/isac/main/util",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":isac",
|
||||
"../../base:rtc_base",
|
||||
"//build/config/sanitizers:deps",
|
||||
]
|
||||
|
||||
if (is_win && is_clang) {
|
||||
cflags = [
|
||||
# Disable warnings failing when compiling with Clang on Windows.
|
||||
# https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
|
||||
"-Wno-format",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
executable("g711_test") {
|
||||
testonly = true
|
||||
|
||||
|
||||
@ -14,10 +14,11 @@
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'isac',
|
||||
'<(webrtc_root)/base/base.gyp:rtc_base',
|
||||
],
|
||||
'include_dirs': [
|
||||
'./main/test',
|
||||
'./main/include',
|
||||
'./main/test',
|
||||
'./main/util',
|
||||
'<(webrtc_root)',
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user