From faf76abe7375234f496e0e3ff00e8f89c6a2bc71 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Sat, 19 Oct 2024 13:54:20 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 687678269 --- .../cc/vision/image_segmenter/calculators/BUILD | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/mediapipe/tasks/cc/vision/image_segmenter/calculators/BUILD b/mediapipe/tasks/cc/vision/image_segmenter/calculators/BUILD index 4b8176cfed..e0b7a20fb1 100644 --- a/mediapipe/tasks/cc/vision/image_segmenter/calculators/BUILD +++ b/mediapipe/tasks/cc/vision/image_segmenter/calculators/BUILD @@ -30,7 +30,22 @@ mediapipe_proto_library( ) config_setting( - name = "force_gpu_segmentation", + name = "android_x86_32_and_force_gpu_segmentation", + constraint_values = [ + "@platforms/cpu:x86_32", + "@platforms/os:android", + ], + values = { + "define": "mediapipe_force_gpu_segmentation=1", + }, +) + +config_setting( + name = "android_x86_64_and_force_gpu_segmentation", + constraint_values = [ + "@platforms/cpu:x86_64", + "@platforms/os:android", + ], values = { "define": "mediapipe_force_gpu_segmentation=1", },