| # Description: |
| # PFFFT does 1D Fast Fourier Transforms, of single precision real and complex |
| # vectors. It tries do it fast, it tries to be correct, and it tries to be |
| # small. |
| package(default_visibility = ["//visibility:public"]) |
| |
| cc_library( |
| name = "pffft", |
| srcs = [ |
| "pffft.c", |
| ], |
| hdrs = [ |
| "pffft.h", |
| ], |
| deps = [":pffft_internal"], |
| include_prefix = "third_party/pffft", |
| ) |
| |
| cc_library( |
| name = "pffft_internal", |
| hdrs = [ |
| "pffft.h", |
| ], |
| ) |
| |
| cc_library( |
| name = "fftpack", |
| testonly = 1, |
| srcs = [ |
| "fftpack.c", |
| ], |
| hdrs = [ |
| "fftpack.h", |
| ], |
| visibility = ["//visibility:private"], |
| ) |
| |
| cc_binary( |
| name = "pffft_test", |
| testonly = 1, |
| srcs = [ |
| "test_pffft.c", |
| ], |
| deps = [ |
| ":fftpack", |
| ":pffft", |
| ], |
| ) |