Create gyp target for bwe components.
R=henrikg@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1775004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4311 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
af8d5afec9
commit
f56d612c70
@ -41,6 +41,7 @@
|
|||||||
'modules_java_gyp_path%': '<(modules_java_gyp_path)',
|
'modules_java_gyp_path%': '<(modules_java_gyp_path)',
|
||||||
|
|
||||||
'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8',
|
'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8',
|
||||||
|
'rbe_components_path%': '<(webrtc_root)/modules/remote_bitrate_estimator',
|
||||||
'include_opus%': 1,
|
'include_opus%': 1,
|
||||||
},
|
},
|
||||||
'build_with_chromium%': '<(build_with_chromium)',
|
'build_with_chromium%': '<(build_with_chromium)',
|
||||||
@ -50,6 +51,7 @@
|
|||||||
'modules_java_gyp_path%': '<(modules_java_gyp_path)',
|
'modules_java_gyp_path%': '<(modules_java_gyp_path)',
|
||||||
'webrtc_vp8_dir%': '<(webrtc_vp8_dir)',
|
'webrtc_vp8_dir%': '<(webrtc_vp8_dir)',
|
||||||
'include_opus%': '<(include_opus)',
|
'include_opus%': '<(include_opus)',
|
||||||
|
'rbe_components_path%': '<(rbe_components_path)',
|
||||||
|
|
||||||
# The Chromium common.gypi we use treats all gyp files without
|
# The Chromium common.gypi we use treats all gyp files without
|
||||||
# chromium_code==1 as third party code. This disables many of the
|
# chromium_code==1 as third party code. This disables many of the
|
||||||
|
@ -87,6 +87,7 @@
|
|||||||
'webrtc_utility',
|
'webrtc_utility',
|
||||||
'webrtc_video_coding',
|
'webrtc_video_coding',
|
||||||
'<@(neteq_dependencies)',
|
'<@(neteq_dependencies)',
|
||||||
|
'<(rbe_components_path)/remote_bitrate_estimator_components.gyp:rbe_components_unittests',
|
||||||
'<(DEPTH)/testing/gmock.gyp:gmock',
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
||||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||||
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
|
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
|
||||||
@ -163,9 +164,6 @@
|
|||||||
'pacing/paced_sender_unittest.cc',
|
'pacing/paced_sender_unittest.cc',
|
||||||
'remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h',
|
'remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h',
|
||||||
'remote_bitrate_estimator/bitrate_estimator_unittest.cc',
|
'remote_bitrate_estimator/bitrate_estimator_unittest.cc',
|
||||||
'remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc',
|
|
||||||
'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc',
|
|
||||||
'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h',
|
|
||||||
'remote_bitrate_estimator/rtp_to_ntp_unittest.cc',
|
'remote_bitrate_estimator/rtp_to_ntp_unittest.cc',
|
||||||
'rtp_rtcp/source/mock/mock_rtp_payload_strategy.h',
|
'rtp_rtcp/source/mock/mock_rtp_payload_strategy.h',
|
||||||
'rtp_rtcp/source/fec_test_helper.cc',
|
'rtp_rtcp/source/fec_test_helper.cc',
|
||||||
|
@ -7,18 +7,16 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
{
|
{
|
||||||
|
'includes': [
|
||||||
|
'../../build/common.gypi',
|
||||||
|
],
|
||||||
'targets': [
|
'targets': [
|
||||||
{
|
{
|
||||||
'target_name': 'remote_bitrate_estimator',
|
'target_name': 'remote_bitrate_estimator',
|
||||||
'type': 'static_library',
|
'type': 'static_library',
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
# system_wrappers
|
|
||||||
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
||||||
],
|
'<(rbe_components_path)/remote_bitrate_estimator_components.gyp:rbe_components',
|
||||||
'include_dirs': [
|
|
||||||
'include',
|
|
||||||
'../rtp_rtcp/interface',
|
|
||||||
'../interface',
|
|
||||||
],
|
],
|
||||||
'direct_dependent_settings': {
|
'direct_dependent_settings': {
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
@ -26,19 +24,11 @@
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
'sources': [
|
'sources': [
|
||||||
# interface
|
|
||||||
'include/bwe_defines.h',
|
'include/bwe_defines.h',
|
||||||
'include/remote_bitrate_estimator.h',
|
'include/remote_bitrate_estimator.h',
|
||||||
'include/rtp_to_ntp.h',
|
'include/rtp_to_ntp.h',
|
||||||
|
|
||||||
# source
|
|
||||||
'bitrate_estimator.cc',
|
'bitrate_estimator.cc',
|
||||||
'bitrate_estimator.h',
|
'bitrate_estimator.h',
|
||||||
'overuse_detector.cc',
|
|
||||||
'overuse_detector.h',
|
|
||||||
'remote_bitrate_estimator_single_stream.cc',
|
|
||||||
'remote_rate_control.cc',
|
|
||||||
'remote_rate_control.h',
|
|
||||||
'rtp_to_ntp.cc',
|
'rtp_to_ntp.cc',
|
||||||
], # source
|
], # source
|
||||||
},
|
},
|
||||||
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright (c) 2013 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.
|
||||||
|
|
||||||
|
{
|
||||||
|
'includes': [
|
||||||
|
'../../build/common.gypi',
|
||||||
|
],
|
||||||
|
'targets': [
|
||||||
|
{
|
||||||
|
'target_name': 'rbe_components',
|
||||||
|
'type': 'static_library',
|
||||||
|
'include_dirs': [
|
||||||
|
'<(webrtc_root)/modules/remote_bitrate_estimator',
|
||||||
|
],
|
||||||
|
'sources': [
|
||||||
|
'bitrate_estimator.cc',
|
||||||
|
'bitrate_estimator.h',
|
||||||
|
'overuse_detector.cc',
|
||||||
|
'overuse_detector.h',
|
||||||
|
'remote_bitrate_estimator_single_stream.cc',
|
||||||
|
'remote_rate_control.cc',
|
||||||
|
'remote_rate_control.h',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'target_name': 'rbe_components_unittests',
|
||||||
|
'type': 'static_library',
|
||||||
|
'dependencies': [
|
||||||
|
'<(DEPTH)/testing/gmock.gyp:gmock',
|
||||||
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||||
|
'<(webrtc_root)/modules/modules.gyp:remote_bitrate_estimator',
|
||||||
|
],
|
||||||
|
'sources': [
|
||||||
|
'<(rbe_components_path)/remote_bitrate_estimator_single_stream_unittest.cc',
|
||||||
|
'<(rbe_components_path)/remote_bitrate_estimator_unittest_helper.cc',
|
||||||
|
'<(rbe_components_path)/remote_bitrate_estimator_unittest_helper.h',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
@ -13,8 +13,8 @@
|
|||||||
'type': 'static_library',
|
'type': 'static_library',
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
||||||
'<(webrtc_root)/modules/modules.gyp:remote_bitrate_estimator',
|
|
||||||
'<(webrtc_root)/modules/modules.gyp:paced_sender',
|
'<(webrtc_root)/modules/modules.gyp:paced_sender',
|
||||||
|
'<(webrtc_root)/modules/modules.gyp:remote_bitrate_estimator',
|
||||||
],
|
],
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'../interface',
|
'../interface',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user