aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/aot
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-03-22 05:46:07 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-22 05:48:38 -0700
commitb559a319411e2d3f2a42f466c18737edd527bb10 (patch)
tree1de92ae2d6666fd724ca1229672e622585d01a39 /tensorflow/compiler/aot
parent9e651e4571f7b7c2d32bdafe43cc4ced9bb0c750 (diff)
Update file due to changes in Bazel (PACKAGE_NAME is deprecated)
PiperOrigin-RevId: 190051589
Diffstat (limited to 'tensorflow/compiler/aot')
-rw-r--r--tensorflow/compiler/aot/tfcompile.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/aot/tfcompile.bzl b/tensorflow/compiler/aot/tfcompile.bzl
index 9dff1be09f..3a877c5337 100644
--- a/tensorflow/compiler/aot/tfcompile.bzl
+++ b/tensorflow/compiler/aot/tfcompile.bzl
@@ -132,7 +132,7 @@ def tf_library(name, graph, config,
header_file = name + ".h"
metadata_object_file = name + "_tfcompile_metadata.o"
function_object_file = name + "_tfcompile_function.o"
- ep = ("__" + PACKAGE_NAME + "__" + name).replace("/", "_")
+ ep = ("__" + native.package_name() + "__" + name).replace("/", "_")
if type(tfcompile_flags) == type(""):
flags = tfcompile_flags
else: