STT-tensorflow/tensorflow/examples/wav_to_spectrogram/BUILD
Adrian Kuegel 78844fa978 internal BUILD file cleanup
PiperOrigin-RevId: 278833682
Change-Id: I43390b8edf4596477b6231a8462c06e9199fc0bc
2019-11-06 05:05:40 -08:00

50 lines
1.2 KiB
Python

# Description:
# TensorFlow C++ inference example for labeling images.
load("//tensorflow:tensorflow.bzl", "tf_cc_binary", "tf_cc_test")
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
exports_files(["LICENSE"])
cc_library(
name = "wav_to_spectrogram_lib",
srcs = ["wav_to_spectrogram.cc"],
hdrs = ["wav_to_spectrogram.h"],
deps = [
"//tensorflow/cc:cc_ops",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:framework_internal",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow",
],
)
tf_cc_binary(
name = "wav_to_spectrogram",
srcs = ["main.cc"],
deps = [
":wav_to_spectrogram_lib",
"//tensorflow/core:framework_internal",
"//tensorflow/core:lib",
],
)
tf_cc_test(
name = "wav_to_spectrogram_test",
size = "medium",
srcs = ["wav_to_spectrogram_test.cc"],
deps = [
":wav_to_spectrogram_lib",
"//tensorflow/core:lib",
"//tensorflow/core:lib_internal",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
],
)