Disable parse_headers for lite/kernels/internal:reference_base for the tf_lite_static_memory build

PiperOrigin-RevId: 347915603
Change-Id: I5844711f99cc66ec9a3ae8041edbde3478081f07
This commit is contained in:
Advait Jain 2020-12-16 16:03:02 -08:00 committed by TensorFlower Gardener
parent d90ce10b0c
commit 475edf87f4

View File

@ -508,6 +508,13 @@ cc_library(
}),
compatible_with = get_compatible_with_portable(),
copts = tflite_copts(),
# We are disabling parse_headers for the tf_lite_static_memory build to
# allow it to be consistent with the OSS bazel build. See b/175817116
# for more details.
features = select({
":tf_lite_static_memory": ["-parse_headers"],
"//conditions:default": [],
}),
deps = [
":common",
":compatibility",