webrtc/api/audio
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 Use source_sets in component builds and static_library in release builds. 2019-10-17 21:17:18 +00:00
audio_frame.cc Reland "Reland "Add plumbing of RtpPacketInfos to each AudioFrame as input for SourceTracker."" 2019-07-24 16:47:13 +00:00
audio_frame.h Reland of "Reporting of decoding_codec_plc events"" 2019-08-07 18:41:46 +00:00
audio_mixer.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
BUILD.gn Use source_sets in component builds and static_library in release builds. 2019-10-17 21:17:18 +00:00
channel_layout.cc Adding support for channel mixing between different channel layouts. 2019-07-04 10:10:54 +00:00
channel_layout.h Adding support for channel mixing between different channel layouts. 2019-07-04 10:10:54 +00:00
echo_canceller3_config.cc AEC3: Remove unused config parameters 2019-04-04 12:36:48 +00:00
echo_canceller3_config.h AEC3: Add support for logging warnings on delay buffer changes 2019-10-15 12:16:51 +00:00
echo_canceller3_config_json.cc AEC3: Add support for logging warnings on delay buffer changes 2019-10-15 12:16:51 +00:00
echo_canceller3_config_json.h APM: Adding more explicit handling of failures in the json config data 2018-10-25 10:31:54 +00:00
echo_canceller3_factory.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
echo_canceller3_factory.h Reland "Reland "Add core multi-channel pipeline in AEC3 This CL adds basic the basic pipeline to support multi-channel processing in AEC3."" 2019-09-03 06:12:32 +00:00
echo_control.h Bypass unnecessary resampling. 2019-10-10 08:38:41 +00:00
OWNERS Make gustaf and peah OWNERS of api/audio 2018-02-06 13:11:12 +00:00