Files
platform-external-webrtc/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi
aleloi cfee215b23 Migrated ILBC and ISAC test targets for GN.
Migrated GN targets ilbc_test, isac_api_test,
isac_switch_samprate_test from webrtc/modules/audio_coding/codecs

NOTRY=True
NOPRESUBMIT=True

BUG=webrtc:6191

Review-Url: https://codereview.webrtc.org/2270403002
Cr-Commit-Position: refs/heads/master@{#13953}
2016-08-29 11:09:28 +00:00

84 lines
2.2 KiB
Python

# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
{
'targets': [
# simple kenny
{
'target_name': 'isac_test',
'type': 'executable',
'dependencies': [
'isac',
'<(webrtc_root)/base/base.gyp:rtc_base_approved',
],
'include_dirs': [
'./main/include',
'./main/test',
'./main/util',
'<(webrtc_root)',
],
'sources': [
'empty.cc', # force build system to use C++ linker
'./main/test/simpleKenny.c',
'./main/util/utility.c',
],
'conditions': [
['OS=="win" and clang==1', {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
# Disable warnings failing when compiling with Clang on Windows.
# https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
'-Wno-format',
],
},
},
}],
], # conditions.
},
# ReleaseTest-API
{
'target_name': 'isac_api_test',
'type': 'executable',
'dependencies': [
'isac',
'<(webrtc_root)/base/base.gyp:rtc_base_approved',
],
'include_dirs': [
'./main/test',
'./main/include',
'./main/util',
'<(webrtc_root)',
],
'sources': [
'./main/test/ReleaseTest-API/ReleaseTest-API.cc',
'./main/util/utility.c',
],
},
# SwitchingSampRate
{
'target_name': 'isac_switch_samprate_test',
'type': 'executable',
'dependencies': [
'isac',
],
'include_dirs': [
'./main/test',
'./main/include',
'../../../../common_audio/signal_processing/include',
'./main/util',
'<(webrtc_root)',
],
'sources': [
'./main/test/SwitchingSampRate/SwitchingSampRate.cc',
'./main/util/utility.c',
],
},
],
}