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:
parent
1aac6ab011
commit
59ee43d578
@ -380,6 +380,10 @@ cc_library(
|
||||
"protobuf_util.cc",
|
||||
],
|
||||
hdrs = ["protobuf.h"],
|
||||
defines = select({
|
||||
"//tensorflow:android": ["TENSORFLOW_LITE_PROTOS"],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
deps = [
|
||||
":platform",
|
||||
":types",
|
||||
|
Loading…
Reference in New Issue
Block a user