BUG=1655 Review URL: https://webrtc-codereview.appspot.com/1326005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3857 4adac7df-926f-26a2-2b94-8c16560cd09d
164 lines
6.1 KiB
Python
164 lines
6.1 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': [
|
|
# Auto test - command line test for all platforms
|
|
{
|
|
'target_name': 'voe_auto_test',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'voice_engine_core',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
|
'<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
|
|
'<(webrtc_root)/test/libtest/libtest.gyp:libtest',
|
|
'<(webrtc_root)/test/channel_transport.gyp:channel_transport',
|
|
],
|
|
'include_dirs': [
|
|
'auto_test',
|
|
'auto_test/fixtures',
|
|
'<(webrtc_root)/modules/interface',
|
|
# TODO(phoglund): We only depend on voice_engine_defines.h here -
|
|
# move that file to interface and then remove this dependency.
|
|
'<(webrtc_root)/voice_engine',
|
|
'<(webrtc_root)/modules/audio_device/main/interface',
|
|
],
|
|
'sources': [
|
|
'auto_test/automated_mode.cc',
|
|
'auto_test/extended/agc_config_test.cc',
|
|
'auto_test/extended/ec_metrics_test.cc',
|
|
'auto_test/fakes/fake_external_transport.cc',
|
|
'auto_test/fakes/fake_external_transport.h',
|
|
'auto_test/fixtures/after_initialization_fixture.cc',
|
|
'auto_test/fixtures/after_initialization_fixture.h',
|
|
'auto_test/fixtures/after_streaming_fixture.cc',
|
|
'auto_test/fixtures/after_streaming_fixture.h',
|
|
'auto_test/fixtures/before_initialization_fixture.cc',
|
|
'auto_test/fixtures/before_initialization_fixture.h',
|
|
'auto_test/fuzz/rtp_fuzz_test.cc',
|
|
'auto_test/standard/audio_processing_test.cc',
|
|
'auto_test/standard/call_report_test.cc',
|
|
'auto_test/standard/codec_before_streaming_test.cc',
|
|
'auto_test/standard/codec_test.cc',
|
|
'auto_test/standard/dtmf_test.cc',
|
|
'auto_test/standard/encryption_test.cc',
|
|
'auto_test/standard/external_media_test.cc',
|
|
'auto_test/standard/file_before_streaming_test.cc',
|
|
'auto_test/standard/file_test.cc',
|
|
'auto_test/standard/hardware_before_initializing_test.cc',
|
|
'auto_test/standard/hardware_before_streaming_test.cc',
|
|
'auto_test/standard/hardware_test.cc',
|
|
'auto_test/standard/manual_hold_test.cc',
|
|
'auto_test/standard/mixing_test.cc',
|
|
'auto_test/standard/neteq_stats_test.cc',
|
|
'auto_test/standard/neteq_test.cc',
|
|
'auto_test/standard/network_test.cc',
|
|
'auto_test/standard/rtp_rtcp_before_streaming_test.cc',
|
|
'auto_test/standard/rtp_rtcp_test.cc',
|
|
'auto_test/standard/voe_base_misc_test.cc',
|
|
'auto_test/standard/video_sync_test.cc',
|
|
'auto_test/standard/volume_test.cc',
|
|
'auto_test/resource_manager.cc',
|
|
'auto_test/voe_cpu_test.cc',
|
|
'auto_test/voe_cpu_test.h',
|
|
'auto_test/voe_extended_test.cc',
|
|
'auto_test/voe_extended_test.h',
|
|
'auto_test/voe_standard_test.cc',
|
|
'auto_test/voe_standard_test.h',
|
|
'auto_test/voe_stress_test.cc',
|
|
'auto_test/voe_stress_test.h',
|
|
'auto_test/voe_test_defines.h',
|
|
'auto_test/voe_test_interface.h',
|
|
'auto_test/voe_unit_test.cc',
|
|
'auto_test/voe_unit_test.h',
|
|
],
|
|
'conditions': [
|
|
['OS=="android"', {
|
|
# some tests are not supported on android yet, exclude these tests.
|
|
'sources!': [
|
|
'auto_test/standard/hardware_before_streaming_test.cc',
|
|
],
|
|
}],
|
|
],
|
|
# Disable warnings to enable Win64 build, issue 1323.
|
|
'msvs_disabled_warnings': [
|
|
4267, # size_t to int truncation.
|
|
],
|
|
},
|
|
{
|
|
# command line test that should work on linux/mac/win
|
|
'target_name': 'voe_cmd_test',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
'voice_engine_core',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/test/channel_transport.gyp:channel_transport',
|
|
],
|
|
'sources': [
|
|
'cmd_test/voe_cmd_test.cc',
|
|
],
|
|
},
|
|
],
|
|
'conditions': [
|
|
# TODO(kjellander): Support UseoFMFC on VS2010.
|
|
# http://code.google.com/p/webrtc/issues/detail?id=709
|
|
['OS=="win" and MSVS_VERSION < "2010"', {
|
|
'targets': [
|
|
# WinTest - GUI test for Windows
|
|
{
|
|
'target_name': 'voe_ui_win_test',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'voice_engine_core',
|
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
|
],
|
|
'include_dirs': [
|
|
'win_test',
|
|
],
|
|
'sources': [
|
|
'win_test/Resource.h',
|
|
'win_test/WinTest.cc',
|
|
'win_test/WinTest.h',
|
|
'win_test/WinTest.rc',
|
|
'win_test/WinTestDlg.cc',
|
|
'win_test/WinTestDlg.h',
|
|
'win_test/res/WinTest.ico',
|
|
'win_test/res/WinTest.rc2',
|
|
'win_test/stdafx.cc',
|
|
'win_test/stdafx.h',
|
|
],
|
|
'configurations': {
|
|
'Common_Base': {
|
|
'msvs_configuration_attributes': {
|
|
'conditions': [
|
|
['component=="shared_library"', {
|
|
'UseOfMFC': '2', # Shared DLL
|
|
},{
|
|
'UseOfMFC': '1', # Static
|
|
}],
|
|
],
|
|
},
|
|
},
|
|
},
|
|
'msvs_settings': {
|
|
'VCLinkerTool': {
|
|
'SubSystem': '2', # Windows
|
|
},
|
|
},
|
|
},
|
|
],
|
|
}],
|
|
],
|
|
}
|