Adding a define for TENSORFLOW_LITE_PROTOS; this gets the android build working with the granular target form core/platform:env.

PiperOrigin-RevId: 286308504
Change-Id: I6dd05fbcc62000836bc03866c07677cde33b1652
This commit is contained in:
Brian Zhao 2019-12-18 18:49:52 -08:00 committed by TensorFlower Gardener
parent 1aac6ab011
commit 59ee43d578

View File

@ -380,6 +380,10 @@ cc_library(
"protobuf_util.cc",
],
hdrs = ["protobuf.h"],
defines = select({
"//tensorflow:android": ["TENSORFLOW_LITE_PROTOS"],
"//conditions:default": [],
}),
deps = [
":platform",
":types",