Fixing test gypi for bit rate controller

Review URL: https://webrtc-codereview.appspot.com/636004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2350 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
niklas.enbom@webrtc.org
2012-06-04 10:12:44 +00:00
parent f1d6e0a65b
commit 265e38c336

View File

@ -1,53 +1,61 @@
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
# #
# Use of this source code is governed by a BSD-style license # 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 # that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found # tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may # in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree. # be found in the AUTHORS file in the root of the source tree.
{ {
'targets': [ 'targets': [
{ {
'target_name': 'bitrate_controller', 'target_name': 'bitrate_controller',
'type': '<(library)', 'type': '<(library)',
'dependencies': [ 'dependencies': [
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
], ],
'include_dirs': [ 'include_dirs': [
'../interface', '../interface',
], ],
'direct_dependent_settings': { 'direct_dependent_settings': {
'include_dirs': [ 'include_dirs': [
'../interface', '../interface',
'<(webrtc_root)/modules/rtp_rtcp/interface', '<(webrtc_root)/modules/rtp_rtcp/interface',
], ],
}, },
'sources': [ 'sources': [
'bitrate_controller_impl.cc', 'bitrate_controller_impl.cc',
'bitrate_controller_impl.h', 'bitrate_controller_impl.h',
'include/bitrate_controller.h', 'include/bitrate_controller.h',
'send_side_bandwidth_estimation.cc', 'send_side_bandwidth_estimation.cc',
'send_side_bandwidth_estimation.h', 'send_side_bandwidth_estimation.h',
], ],
}, },
{ ], # targets
'target_name': 'bitrate_controller_unittests',
'type': 'executable', 'conditions': [
'dependencies': [ ['include_tests==1', {
'bitrate_controller', 'targets' : [
'<(webrtc_root)/../test/test.gyp:test_support_main', {
'<(webrtc_root)/../testing/gtest.gyp:gtest', 'target_name': 'bitrate_controller_unittests',
], 'type': 'executable',
'sources': [ 'dependencies': [
'bitrate_controller_unittest.cc', 'bitrate_controller',
], '<(webrtc_root)/../test/test.gyp:test_support_main',
}, '<(webrtc_root)/../testing/gtest.gyp:gtest',
], ],
} 'sources': [
'bitrate_controller_unittest.cc',
# Local Variables: ],
# tab-width:2 },
# indent-tabs-mode:nil ], # targets
# End: }], # include_tests
# vim: set expandtab tabstop=2 shiftwidth=2: ], # conditions
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: