aboutsummaryrefslogtreecommitdiff
path: root/third_party/fft2d/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/fft2d/BUILD')
-rw-r--r--third_party/fft2d/BUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/third_party/fft2d/BUILD b/third_party/fft2d/BUILD
new file mode 100644
index 00000000..863a1cef
--- /dev/null
+++ b/third_party/fft2d/BUILD
@@ -0,0 +1,48 @@
+# Headers for 2D Fast Fourier Transform package
+# from http://momonga.t.u-tokyo.ac.jp/~ooura/fft2d.html
+# This is a separate package because the original downloaded archive doesn't
+# contain any header files.
+
+package(
+ default_visibility = ["//visibility:public"],
+)
+
+# Unrestricted use; can only distribute original package.
+# See fft/readme.txt
+licenses(["notice"])
+
+exports_files(["LICENSE"])
+
+cc_library(
+ name = "fft2d_headers",
+ srcs = [
+ "fft.h",
+ "fft2d.h",
+ ],
+)
+
+objc_library(
+ name = "fft2d_headersd_ios",
+ srcs = [
+ "fft.h",
+ "fft2d.h",
+ ],
+)
+
+# Export the source code so that it could be compiled for Andoid native apps.
+filegroup(
+ name = "fft2d_headers_srcs",
+ srcs = [
+ "fft.h",
+ "fft2d.h",
+ ],
+)
+
+filegroup(
+ name = "all_files",
+ srcs = glob(
+ ["**/*"],
+ exclude = ["**/OWNERS"],
+ ),
+ visibility = ["//third_party/tensorflow:__subpackages__"],
+)