No public description

PiperOrigin-RevId: 565167086
This commit is contained in:
MediaPipe Team 2023-09-13 14:46:00 -07:00 committed by Copybara-Service
parent 50bd79a317
commit 6dc1239aa9

View File

@ -996,14 +996,15 @@ cc_library(
name = "port", name = "port",
hdrs = ["port.h"], hdrs = ["port.h"],
defines = select({ defines = select({
"//conditions:default": [], "//conditions:default": [],
}) + select({ }) + select({
"//conditions:default": [], "//conditions:default": [],
"//mediapipe/gpu:disable_gpu": ["MEDIAPIPE_DISABLE_GPU=1"], "//mediapipe/gpu:disable_gpu": ["MEDIAPIPE_DISABLE_GPU=1"],
}) + select({ }) +
"//conditions:default": [], select({
"//mediapipe/framework/port:disable_opencv": ["MEDIAPIPE_DISABLE_OPENCV=1"], "//conditions:default": [],
}) + select({ "//mediapipe/framework/port:disable_opencv": ["MEDIAPIPE_DISABLE_OPENCV=1"],
}) + select({
"//conditions:default": [], "//conditions:default": [],
# TODO: Improve this. This only sets MEDIAPIPE_DISABLE_OPENCV as a "defines" Make # TODO: Improve this. This only sets MEDIAPIPE_DISABLE_OPENCV as a "defines" Make
# value, not as a bazel "--define" variable, which has effects in C++ code but not in # value, not as a bazel "--define" variable, which has effects in C++ code but not in