exclude vp8 and test_framework test targets from chromium.
BUG=http://code.google.com/p/webrtc/issues/detail?id=34 Test=None Review URL: http://webrtc-codereview.appspot.com/95012 git-svn-id: http://webrtc.googlecode.com/svn/trunk@324 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
8706256eac
commit
508eba5321
@ -6,53 +6,57 @@
|
||||
'includes': [
|
||||
'../../../../common_settings.gypi', # Common settings
|
||||
],
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'test_framework',
|
||||
'type': '<(library)',
|
||||
# Exclude the test target when building with chromium.
|
||||
'conditions': [
|
||||
['build_with_chromium==0', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'test_framework',
|
||||
'type': '<(library)',
|
||||
|
||||
'dependencies': [
|
||||
'../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
||||
'../../../../common_video/vplib/main/source/vplib.gyp:webrtc_vplib',
|
||||
],
|
||||
'dependencies': [
|
||||
'../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
||||
'../../../../common_video/vplib/main/source/vplib.gyp:webrtc_vplib',
|
||||
],
|
||||
|
||||
'include_dirs': [
|
||||
'../interface',
|
||||
'../../../../common_video/interface',
|
||||
],
|
||||
'include_dirs': [
|
||||
'../interface',
|
||||
'../../../../common_video/interface',
|
||||
],
|
||||
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'../interface',
|
||||
],
|
||||
},
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'../interface',
|
||||
],
|
||||
},
|
||||
|
||||
'sources': [
|
||||
# header files
|
||||
'benchmark.h',
|
||||
'normal_async_test.h',
|
||||
'normal_test.h',
|
||||
'packet_loss_test.h',
|
||||
'performance_test.h',
|
||||
'test.h',
|
||||
'unit_test.h',
|
||||
'video_buffer.h',
|
||||
'video_source.h',
|
||||
'sources': [
|
||||
# header files
|
||||
'benchmark.h',
|
||||
'normal_async_test.h',
|
||||
'normal_test.h',
|
||||
'packet_loss_test.h',
|
||||
'performance_test.h',
|
||||
'test.h',
|
||||
'unit_test.h',
|
||||
'video_buffer.h',
|
||||
'video_source.h',
|
||||
|
||||
# source files
|
||||
'benchmark.cc',
|
||||
'normal_async_test.cc',
|
||||
'normal_test.cc',
|
||||
'packet_loss_test.cc',
|
||||
'performance_test.cc',
|
||||
'test.cc',
|
||||
'unit_test.cc',
|
||||
'video_buffer.cc',
|
||||
'video_source.cc',
|
||||
|
||||
],
|
||||
},
|
||||
],
|
||||
# source files
|
||||
'benchmark.cc',
|
||||
'normal_async_test.cc',
|
||||
'normal_test.cc',
|
||||
'packet_loss_test.cc',
|
||||
'performance_test.cc',
|
||||
'test.cc',
|
||||
'unit_test.cc',
|
||||
'video_buffer.cc',
|
||||
'video_source.cc',
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
}], # build_with_chromium
|
||||
], # conditions
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
|
||||
@ -68,33 +68,39 @@
|
||||
'vp8.cc',
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
# Exclude the test target when building with chromium.
|
||||
'conditions': [
|
||||
['build_with_chromium==0', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'vp8_test',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'webrtc_vp8',
|
||||
'../../../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
||||
'../../../test_framework/test_framework.gyp:test_framework',
|
||||
'../../../../../../common_video/vplib/main/source/vplib.gyp:webrtc_vplib'
|
||||
],
|
||||
'sources': [
|
||||
# header files
|
||||
'../test/benchmark.h',
|
||||
'../test/normal_async_test.h',
|
||||
'../test/packet_loss_test.h',
|
||||
'../test/unit_test.h',
|
||||
'../test/dual_decoder_test.h',
|
||||
|
||||
{
|
||||
'target_name': 'vp8_test',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'webrtc_vp8',
|
||||
'../../../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
||||
'../../../test_framework/test_framework.gyp:test_framework',
|
||||
'../../../../../../common_video/vplib/main/source/vplib.gyp:webrtc_vplib'
|
||||
],
|
||||
'sources': [
|
||||
# header files
|
||||
'../test/benchmark.h',
|
||||
'../test/normal_async_test.h',
|
||||
'../test/packet_loss_test.h',
|
||||
'../test/unit_test.h',
|
||||
'../test/dual_decoder_test.h',
|
||||
|
||||
# source files
|
||||
'../test/benchmark.cc',
|
||||
'../test/normal_async_test.cc',
|
||||
'../test/packet_loss_test.cc',
|
||||
'../test/tester.cc',
|
||||
'../test/unit_test.cc',
|
||||
'../test/dual_decoder_test.cc',
|
||||
],
|
||||
},
|
||||
# source files
|
||||
'../test/benchmark.cc',
|
||||
'../test/normal_async_test.cc',
|
||||
'../test/packet_loss_test.cc',
|
||||
'../test/tester.cc',
|
||||
'../test/unit_test.cc',
|
||||
'../test/dual_decoder_test.cc',
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
}], # build_with_chromium
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user