mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
![]() 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} |
||
---|---|---|
.. | ||
BUILD.gn | ||
common.h | ||
gmm.cc | ||
gmm.h | ||
gmm_unittest.cc | ||
noise_gmm_tables.h | ||
pitch_based_vad.cc | ||
pitch_based_vad.h | ||
pitch_based_vad_unittest.cc | ||
pitch_internal.cc | ||
pitch_internal.h | ||
pitch_internal_unittest.cc | ||
pole_zero_filter.cc | ||
pole_zero_filter.h | ||
pole_zero_filter_unittest.cc | ||
standalone_vad.cc | ||
standalone_vad.h | ||
standalone_vad_unittest.cc | ||
vad_audio_proc.cc | ||
vad_audio_proc.h | ||
vad_audio_proc_internal.h | ||
vad_audio_proc_unittest.cc | ||
vad_circular_buffer.cc | ||
vad_circular_buffer.h | ||
vad_circular_buffer_unittest.cc | ||
voice_activity_detector.cc | ||
voice_activity_detector.h | ||
voice_activity_detector_unittest.cc | ||
voice_gmm_tables.h |