diff options
author | Artem Titov <titovartem@webrtc.org> | 2018-06-26 14:12:18 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-06-26 13:39:25 +0000 |
commit | df3bcdbe887a6ea8ca275611f739e308cbfbc802 (patch) | |
tree | 1ae4e28256a4dca161dda239467ea3662a8d22e5 /common_audio | |
parent | 58cd385e58428fa1a3db5ccb4bcfc311e5984c38 (diff) | |
download | webrtc-df3bcdbe887a6ea8ca275611f739e308cbfbc802.tar.gz |
Extract fft4g into separate build target
common_audio/fft4g.c is third party codem that have to be moved into
third_party folder, so to be able to do it at first we have to extract
it into separate target. It is extracted with corresponding header file
and will be moved in futher CL.
Bug: webrtc:8366
Change-Id: I586ca94d4e9242c23163b987fa334dfa705020ed
Reviewed-on: https://webrtc-review.googlesource.com/85372
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23742}
Diffstat (limited to 'common_audio')
-rw-r--r-- | common_audio/BUILD.gn | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/common_audio/BUILD.gn b/common_audio/BUILD.gn index 89ede3884a..63756a43f3 100644 --- a/common_audio/BUILD.gn +++ b/common_audio/BUILD.gn @@ -61,6 +61,7 @@ rtc_static_library("common_audio") { deps = [ ":common_audio_c", + ":fft4g", ":sinc_resampler", "..:webrtc_common", "../:typedefs", @@ -130,8 +131,6 @@ rtc_source_set("common_audio_c_arm_asm") { rtc_source_set("common_audio_c") { visibility += webrtc_default_visibility sources = [ - "fft4g.c", - "fft4g.h", "ring_buffer.c", "ring_buffer.h", "signal_processing/auto_corr_to_refl_coef.c", @@ -216,6 +215,7 @@ rtc_source_set("common_audio_c") { deps = [ ":common_audio_c_arm_asm", ":common_audio_cc", + ":fft4g", "..:webrtc_common", "../:typedefs", "../rtc_base:checks", @@ -227,6 +227,14 @@ rtc_source_set("common_audio_c") { ] } +rtc_source_set("fft4g") { + visibility += webrtc_default_visibility + sources = [ + "fft4g.c", + "fft4g.h", + ] +} + rtc_source_set("common_audio_cc") { sources = [ "signal_processing/dot_product_with_scale.cc", |