Karim Nosir e8ca24d4fe Disable testKerasBidirectionalRNN test case when asan/tsan is enabled.
Add pybind for sanitizer constant to know if any of the sanitizers is enabled in python tests.

PiperOrigin-RevId: 334649266
Change-Id: I4aa55310519dc2d9b121d4e6c4f33216c782092e
2020-09-30 12:25:01 -07:00

22 lines
469 B
Python

load("//tensorflow:tensorflow.bzl", "pybind_extension")
package(
default_visibility = [
"//visibility:public",
],
licenses = ["notice"], # Apache 2.0
)
pybind_extension(
name = "_pywrap_tensorflow_lite_sanitizers",
srcs = [
"sanitizers_pybind11.cc",
],
link_in_framework = True,
module_name = "_pywrap_tensorflow_lite_sanitizers",
deps = [
"//tensorflow/python:pybind11_lib",
"@pybind11",
],
)