Internal change

PiperOrigin-RevId: 521586389
This commit is contained in:
MediaPipe Team 2023-04-03 15:58:04 -07:00 committed by Copybara-Service
parent 3c05df9c46
commit 7c7eb74ef2

View File

@ -399,7 +399,7 @@ cc_library(
# On android, this calculator is configured to run with lite protos. Therefore, # On android, this calculator is configured to run with lite protos. Therefore,
# compile your binary with the flag TENSORFLOW_PROTOS=lite. # compile your binary with the flag TENSORFLOW_PROTOS=lite.
cc_library( cc_library(
name = "tensorflow_inference_calculator", name = "tensorflow_inference_calculator_no_envelope_loader",
srcs = ["tensorflow_inference_calculator.cc"], srcs = ["tensorflow_inference_calculator.cc"],
deps = [ deps = [
":tensorflow_inference_calculator_cc_proto", ":tensorflow_inference_calculator_cc_proto",
@ -432,6 +432,19 @@ cc_library(
alwayslink = 1, alwayslink = 1,
) )
cc_library(
name = "tensorflow_inference_calculator",
deps = [
":tensorflow_inference_calculator_no_envelope_loader",
] + select({
# Since "select" has "exactly one match" rule, we will need default condition to avoid
# "no matching conditions" error. Since all necessary dependencies are specified in
# "tensorflow_inference_calculator_no_envelope_loader" dependency, it is empty here.
"//conditions:default": [],
}),
alwayslink = 1,
)
cc_library( cc_library(
name = "tensorflow_session", name = "tensorflow_session",
hdrs = [ hdrs = [