Changing usage of gtest_main target, to use test_support_main instead.

Review URL: http://webrtc-codereview.appspot.com/252002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@884 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org
2011-11-03 23:28:47 +00:00
parent 89088b963e
commit 1a8d08ad76
7 changed files with 34 additions and 67 deletions

View File

@@ -11,10 +11,6 @@
{
'target_name': 'video_coding_test_lib',
'type': '<(library)',
'dependencies': [
],
'include_dirs': [
],
'direct_dependent_settings': {
'include_dirs': [
'../test',
@@ -46,7 +42,6 @@
'../source',
],
'sources': [
# headers
'../test/codec_database_test.h',
'../test/generic_codec_test.h',
@@ -80,27 +75,23 @@
'../test/video_rtp_play_mt.cc',
'../test/video_rtp_play.cc',
'../test/video_source.cc',
], # source
'conditions': [
['OS=="linux"', {
'cflags': [
'-fexceptions',
],
}],
], # conditions
},
{
'target_name': 'video_coding_unit_test',
'target_name': 'video_coding_unittests',
'type': 'executable',
'dependencies': [
'webrtc_video_coding',
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
'<(webrtc_root)/../test/test.gyp:test_support_main',
'<(webrtc_root)/../testing/gtest.gyp:gtest',
'<(webrtc_root)/../testing/gtest.gyp:gtest_main',
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
],
'include_dirs': [
'../../../interface',