From ba6b2698134e309f8e7ec90d00393ed56bdf4937 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Thu, 11 Jan 2024 09:19:33 -0800 Subject: [PATCH] Internal change. PiperOrigin-RevId: 597574885 --- mediapipe/tasks/cc/vision/face_stylizer/calculators/BUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mediapipe/tasks/cc/vision/face_stylizer/calculators/BUILD b/mediapipe/tasks/cc/vision/face_stylizer/calculators/BUILD index 7927b12434..fd20ea5738 100644 --- a/mediapipe/tasks/cc/vision/face_stylizer/calculators/BUILD +++ b/mediapipe/tasks/cc/vision/face_stylizer/calculators/BUILD @@ -102,6 +102,12 @@ cc_library( ] + select({ "//mediapipe/gpu:disable_gpu": [], "//conditions:default": ["tensor_to_image_calculator_gpu_deps"], + }) + select({ + "//mediapipe:apple": [ + "//third_party/apple_frameworks:CoreVideo", + "//third_party/apple_frameworks:MetalKit", + ], + "//conditions:default": [], }), alwayslink = 1, )