Buildify tensorrt's generated BUILD file.

Ran buildifier and manually fixed the package location.

PiperOrigin-RevId: 240188658
This commit is contained in:
A. Unique TensorFlower 2019-03-25 11:57:10 -07:00 committed by TensorFlower Gardener
parent 97bebc917b
commit f665d09225

View File

@ -3,12 +3,12 @@
licenses(["notice"])
exports_files(["LICENSE"])
load("@local_config_cuda//cuda:build_defs.bzl", "cuda_default_copts")
package(default_visibility = ["//visibility:public"])
exports_files(["LICENSE"])
cc_library(
name = "tensorrt_headers",
hdrs = [%{tensorrt_headers}],
@ -18,15 +18,14 @@ cc_library(
cc_library(
name = "tensorrt",
srcs = %{tensorrt_libs},
data = %{tensorrt_libs},
copts = cuda_default_copts(),
deps = [
"@local_config_cuda//cuda:cuda",
":tensorrt_headers",
],
data = %{tensorrt_libs},
linkstatic = 1,
visibility = ["//visibility:public"],
deps = [
":tensorrt_headers",
"@local_config_cuda//cuda",
],
)
%{copy_rules}