STT-tensorflow/tensorflow/compiler/jit/ops/BUILD
Wenhao Jia 8f1362de18 Add target environment constraints to a subset of TensorFlow packages and targets.
PiperOrigin-RevId: 332884872
Change-Id: I65691fa2021c065e6c2ab57815d5a2b342d30ee2
2020-09-21 10:57:01 -07:00

27 lines
631 B
Python

load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
load("//tensorflow:tensorflow.bzl", "tf_gen_op_wrapper_py")
package(
default_visibility = ["//tensorflow/compiler/tf2xla:internal"],
licenses = ["notice"], # Apache 2.0
)
cc_library(
name = "xla_ops",
srcs = ["xla_ops.cc"],
deps = ["//tensorflow/core:framework"],
alwayslink = 1,
)
tf_gen_op_wrapper_py(
name = "xla_ops_wrapper_py",
out = "xla_ops.py",
deps = ["//tensorflow/compiler/jit/ops:xla_ops"],
)
py_library(
name = "xla_ops_grad",
srcs = ["xla_ops_grad.py"],
deps = ["//tensorflow/python:framework_ops"],
)