1*b16991f9SAndroid Build Coastguard Worker# Headers for 2D Fast Fourier Transform package 2*b16991f9SAndroid Build Coastguard Worker# from http://momonga.t.u-tokyo.ac.jp/~ooura/fft2d.html 3*b16991f9SAndroid Build Coastguard Worker# This is a separate package because the original downloaded archive doesn't 4*b16991f9SAndroid Build Coastguard Worker# contain any header files. 5*b16991f9SAndroid Build Coastguard Worker 6*b16991f9SAndroid Build Coastguard Workerpackage( 7*b16991f9SAndroid Build Coastguard Worker default_visibility = ["//visibility:public"], 8*b16991f9SAndroid Build Coastguard Worker) 9*b16991f9SAndroid Build Coastguard Worker 10*b16991f9SAndroid Build Coastguard Worker# Unrestricted use; can only distribute original package. 11*b16991f9SAndroid Build Coastguard Worker# See fft/readme.txt 12*b16991f9SAndroid Build Coastguard Workerlicenses(["notice"]) 13*b16991f9SAndroid Build Coastguard Worker 14*b16991f9SAndroid Build Coastguard Workerexports_files(["LICENSE"]) 15*b16991f9SAndroid Build Coastguard Worker 16*b16991f9SAndroid Build Coastguard Workercc_library( 17*b16991f9SAndroid Build Coastguard Worker name = "fft2d_headers", 18*b16991f9SAndroid Build Coastguard Worker srcs = [ 19*b16991f9SAndroid Build Coastguard Worker "fft.h", 20*b16991f9SAndroid Build Coastguard Worker "fft2d.h", 21*b16991f9SAndroid Build Coastguard Worker ], 22*b16991f9SAndroid Build Coastguard Worker) 23*b16991f9SAndroid Build Coastguard Worker 24*b16991f9SAndroid Build Coastguard Workerobjc_library( 25*b16991f9SAndroid Build Coastguard Worker name = "fft2d_headersd_ios", 26*b16991f9SAndroid Build Coastguard Worker srcs = [ 27*b16991f9SAndroid Build Coastguard Worker "fft.h", 28*b16991f9SAndroid Build Coastguard Worker "fft2d.h", 29*b16991f9SAndroid Build Coastguard Worker ], 30*b16991f9SAndroid Build Coastguard Worker) 31*b16991f9SAndroid Build Coastguard Worker 32*b16991f9SAndroid Build Coastguard Worker# Export the source code so that it could be compiled for Andoid native apps. 33*b16991f9SAndroid Build Coastguard Workerfilegroup( 34*b16991f9SAndroid Build Coastguard Worker name = "fft2d_headers_srcs", 35*b16991f9SAndroid Build Coastguard Worker srcs = [ 36*b16991f9SAndroid Build Coastguard Worker "fft.h", 37*b16991f9SAndroid Build Coastguard Worker "fft2d.h", 38*b16991f9SAndroid Build Coastguard Worker ], 39*b16991f9SAndroid Build Coastguard Worker) 40*b16991f9SAndroid Build Coastguard Worker 41*b16991f9SAndroid Build Coastguard Workerfilegroup( 42*b16991f9SAndroid Build Coastguard Worker name = "all_files", 43*b16991f9SAndroid Build Coastguard Worker srcs = glob( 44*b16991f9SAndroid Build Coastguard Worker ["**/*"], 45*b16991f9SAndroid Build Coastguard Worker exclude = ["**/OWNERS"], 46*b16991f9SAndroid Build Coastguard Worker ), 47*b16991f9SAndroid Build Coastguard Worker visibility = ["//third_party/tensorflow:__subpackages__"], 48*b16991f9SAndroid Build Coastguard Worker) 49