webrtc/modules/congestion_controller/goog_cc
Mirko Bonadei 86d053c2db Use source_sets in component builds and static_library in release builds.
Static libraries don't guarantee that an exported symbol gets linked
into a shared library (and in order to support Chromium's component
build mode, WebRTC needs to be linked as a shared library).

Source sets always pass all the object files to the linker.

On the flip side, source_sets link more object files in release builds
and to avoid this, this CL introduces a the GN template "rtc_library" that
expands to static_library during release builds and to source_set during
component builds.

See: https://gn.googlesource.com/gn/+/master/docs/reference.md#func_source_set

Bug: webrtc:9419
Change-Id: I4667e820c2b3fcec417becbd2034acc13e4f04fe
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157168
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#29525}
2019-10-17 21:17:18 +00:00
..
test Replacing bandwidth adaptation trial with stable target in Opus encoder. 2019-09-24 16:35:02 +00:00
acknowledged_bitrate_estimator.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
acknowledged_bitrate_estimator.h Reland "Cleanup of RTP references in GoogCC implementation." 2019-06-24 09:10:52 +00:00
acknowledged_bitrate_estimator_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
alr_detector.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
alr_detector.h Use struct parser for AlrDetector config. 2019-08-14 18:23:05 +00:00
alr_detector_unittest.cc Change AlrDetector to be able to set field trials that only affect AlrDetector 2019-04-29 13:46:35 +00:00
bitrate_estimator.cc Format almost everything. 2019-07-08 13:45:15 +00:00
bitrate_estimator.h Reland "Cleanup of RTP references in GoogCC implementation." 2019-06-24 09:10:52 +00:00
BUILD.gn Use source_sets in component builds and static_library in release builds. 2019-10-17 21:17:18 +00:00
congestion_window_pushback_controller.cc Format almost everything. 2019-07-08 13:45:15 +00:00
congestion_window_pushback_controller.h Move congestion window field trial parsing to new class. 2019-01-21 16:39:42 +00:00
congestion_window_pushback_controller_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
delay_based_bwe.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
delay_based_bwe.h Backoff to acked bitrate during first overuse detection 2019-09-12 10:51:45 +00:00
delay_based_bwe_unittest.cc Reland "Cleanup of RTP references in GoogCC implementation." 2019-06-24 09:10:52 +00:00
delay_based_bwe_unittest_helper.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
delay_based_bwe_unittest_helper.h Format almost everything. 2019-07-08 13:45:15 +00:00
delay_increase_detector_interface.h Filter out small packets from delay-based overuse detection. 2019-09-01 17:57:01 +00:00
goog_cc_network_control.cc Adds logging of NetworkStateEstimator estimates. 2019-10-14 15:42:17 +00:00
goog_cc_network_control.h Cleanup of target rates in GoogCC/SendSideBandwidthEstimation. 2019-09-25 14:31:39 +00:00
goog_cc_network_control_unittest.cc Adds test for loss based controller under cross traffic induced loss. 2019-10-14 13:59:11 +00:00
link_capacity_estimator.cc Adds new timer based rate controller trial to GoogCC 2018-12-21 14:14:08 +00:00
link_capacity_estimator.h Adds new timer based rate controller trial to GoogCC 2018-12-21 14:14:08 +00:00
loss_based_bandwidth_estimation.cc Moves contents of bitrate_controller to goog_cc 2019-09-25 08:43:24 +00:00
loss_based_bandwidth_estimation.h Moves contents of bitrate_controller to goog_cc 2019-09-25 08:43:24 +00:00
median_slope_estimator.cc [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
median_slope_estimator.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
median_slope_estimator_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
probe_bitrate_estimator.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
probe_bitrate_estimator.h Reland "Cleanup of RTP references in GoogCC implementation." 2019-06-24 09:10:52 +00:00
probe_bitrate_estimator_unittest.cc Reland "Cleanup of RTP references in GoogCC implementation." 2019-06-24 09:10:52 +00:00
probe_controller.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
probe_controller.h Make "WebRTC-BweAllocProbingOnlyInAlr/Enabled/" default and remove key. 2019-08-19 15:39:25 +00:00
probe_controller_unittest.cc Make "WebRTC-BweAllocProbingOnlyInAlr/Enabled/" default and remove key. 2019-08-19 15:39:25 +00:00
send_side_bandwidth_estimation.cc Refactoring CapBitrateToThresholds in SendSideBandwidthEstimation. 2019-09-30 13:30:32 +00:00
send_side_bandwidth_estimation.h Refactoring CapBitrateToThresholds in SendSideBandwidthEstimation. 2019-09-30 13:30:32 +00:00
send_side_bandwidth_estimation_unittest.cc Cleanup of target rates in GoogCC/SendSideBandwidthEstimation. 2019-09-25 14:31:39 +00:00
trendline_estimator.cc Improve trendline estimator logging. 2019-09-19 08:33:11 +00:00
trendline_estimator.h Filter out small packets from delay-based overuse detection. 2019-09-01 17:57:01 +00:00
trendline_estimator_unittest.cc Filter out small packets from delay-based overuse detection. 2019-09-01 17:57:01 +00:00